@font-face {
  font-family: "DMA Sans";
  src: url("../fonts/dma-sans/DMA-Sans-SemiBold.eeb72c45f7bf.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: block;
}
.license-page {
  --lc-navy: #092a43;
  --lc-ink: #193b52;
  --lc-gold: #ba995a;
  --lc-muted: #647682;
  --lc-line: #d6dfe3;
  color: var(--lc-ink);
  padding: 35px 0 75px;
  background: #f4f6f5;
}
.license-page *,
.license-page *::before,
.license-page *::after {
  box-sizing: border-box;
}
.license-page .lic-shell {
  width: min(1480px, calc(100% - 44px));
  margin: auto;
}
.license-page .lic-lead {
  margin-bottom: 23px;
}
.license-page .lic-lead h1 {
  font: 700 clamp(27px, 3.0vw, 38px)/1.16 Georgia,
    "Times New Roman",
    serif;
  color: #143650;
  margin: 0 0 11px;
}
.license-page .lic-lead p {
  margin: 0;
  color: var(--lc-muted);
  font: 400 14px/1.65 "DMA Sans", "Open Sans", Arial, sans-serif;
  max-width: 830px;
}
.license-page .lic-grid {
  display: grid;
  grid-template-columns: minmax(335px, 510px) minmax(430px, 1fr);
  align-items: start;
  gap: 24px;
}
.license-page .lic-panel {
  border: 1px solid var(--lc-line);
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(8, 35, 54, .04);
}
.license-page .lic-section {
  padding: 22px 23px 23px;
  border-bottom: 1px solid #e6eaec;
}
.license-page .lic-section:last-child {
  border-bottom: 0;
}
.license-page .lic-section h2 {
  font: 700 19px/1.25 Georgia, serif;
  color: #173a51;
  margin: 0 0 18px;
}
.license-page .lic-section h2 small {
  display: inline-flex;
  padding: 3px 6px;
  vertical-align: 3px;
  margin-right: 9px;
  border: 1px solid #d9c99f;
  border-radius: 3px;
  color: #8a6b37;
  font: 700 11px "DMA Sans", "Open Sans", Arial, sans-serif;
  letter-spacing: .05em;
}
.license-page .lic-field {
  margin-bottom: 15px;
}
.license-page .lic-field:last-child {
  margin-bottom: 0;
}
.license-page .lic-field > label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font: 700 13px "DMA Sans", "Open Sans", Arial, sans-serif;
  color: #253e51;
  margin-bottom: 7px;
}
.license-page .lic-help {
  font: 400 11px "DMA Sans", "Open Sans", Arial, sans-serif;
  color: #71808c;
}
.license-page .lic-field input[type=text],
.license-page .lic-field input[type=date] {
  display: block;
  width: 100%;
  border: 1px solid #b5c1c7;
  border-radius: 4px;
  padding: 10px 11px;
  min-height: 42px;
  color: #000;
  background: #fff;
  font: 400 14px "DMA Sans", "Open Sans", Arial, sans-serif;
}
.license-page input:focus-visible,
.license-page button:focus-visible,
.license-page summary:focus-visible {
  outline: 2px solid #3e779a;
  outline-offset: 2px;
}
.license-page .lic-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.license-page .lic-fieldset {
  border: 0;
  margin: 0 0 19px;
  padding: 0;
}
.license-page .lic-fieldset:last-child {
  margin-bottom: 0;
}
.license-page .lic-fieldset legend {
  padding: 0;
  margin: 0 0 10px;
  font: 700 12px "DMA Sans", "Open Sans", Arial, sans-serif;
  color: #2d4a5f;
}
.license-page .lic-options {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.license-page .lic-class-options {
  display: grid;
  gap: 9px;
}
.license-page .lic-option {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #d6e0e4;
  border-radius: 4px;
  background: #f9fafb;
  font: 400 12px/1.35 "DMA Sans", "Open Sans", Arial, sans-serif;
  color: #1b3a4d;
  cursor: pointer;
  min-height: 42px;
}
.license-page .lic-option:has(input:checked) {
  background: #fffbf1;
  border-color: #bfa675;
}
.license-page .lic-option input,
.license-page .lic-school input {
  accent-color: #84662f;
  flex-shrink: 0;
  margin: 0;
}
.license-page .lic-option small {
  display: block;
  color: #70808a;
  font-size: 11px;
  margin-top: 3px;
}
.license-page .lic-schools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 10px;
}
.license-page .lic-school {
  display: flex;
  gap: 9px;
  align-items: center;
  font: 400 12px/1.35 "DMA Sans", "Open Sans", Arial, sans-serif;
  color: #244357;
  cursor: pointer;
}
.license-page .lic-school input {
  width: 15px;
  height: 15px;
}
.license-page .lic-risk-info {
  margin: 13px 0 0;
  padding: 10px 12px;
  background: #f8f9f5;
  font: 400 12px "DMA Sans", "Open Sans", Arial, sans-serif;
}
.license-page .lic-risk-info strong {
  display: block;
  margin: 5px 0 0;
  font-size: 13px;
  color: #244d66;
}
.license-page .lic-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.license-page .lic-number {
  padding: 12px;
  background: #fcfcf9;
  border: 1px solid #deded5;
}
.license-page .lic-number span {
  display: block;
  color: #74848c;
  letter-spacing: .07em;
  font: 700 10px "DMA Sans", "Open Sans", Arial, sans-serif;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.license-page .lic-number strong {
  display: block;
  color: #1c3e54;
  font: 700 15px "DMA Sans", "Open Sans", Arial, sans-serif;
  letter-spacing: .06em;
  overflow-wrap: anywhere;
}
.license-page .lic-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 17px;
}
.license-page .lic-primary {
  border-radius: 4px;
  border: 1px solid #1a435c;
  background: #1a435c;
  color: #fff;
  padding: 12px 16px;
  font: 700 13px "DMA Sans", "Open Sans", Arial, sans-serif;
  flex: 1;
  cursor: pointer;
  min-height: 44px;
}
.license-page .lic-primary:disabled {
  opacity: .6;
  cursor: wait;
}
.license-page .lic-secondary {
  border: 1px solid #c9d5da;
  background: #fff;
  color: #24475e;
  border-radius: 4px;
  padding: 12px;
  font: 700 12px "DMA Sans", "Open Sans", Arial, sans-serif;
  cursor: pointer;
  min-height: 44px;
}
.license-page .lic-file-details {
  margin-top: 14px;
  border-top: 1px solid #eceeec;
  padding-top: 13px;
  color: #596d7b;
  font: 400 12px/1.5 "DMA Sans", "Open Sans", Arial, sans-serif;
}
.license-page .lic-file-details summary {
  font-weight: 700;
  cursor: pointer;
}
.license-page .lic-file-details input[type=file] {
  width: 100%;
  max-width: 100%;
  font: 12px "DMA Sans", "Open Sans", Arial, sans-serif;
  padding: 8px 0;
}
.license-page .lic-file-details button {
  font: 700 12px "DMA Sans", "Open Sans", Arial, sans-serif;
  border: 1px solid #c9d5da;
  background: #fff;
  color: #284a5f;
  border-radius: 4px;
  padding: 9px;
  cursor: pointer;
}
.license-page .lic-file-details .lic-file-status {
  font-size: 11px;
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.license-page .lic-result {
  display: none;
  margin-top: 13px;
  border: 1px solid #b8d9c7;
  border-radius: 4px;
  padding: 11px;
  font: 400 12px/1.45 "DMA Sans", "Open Sans", Arial, sans-serif;
  background: #f2faf4;
  color: #1a6043;
}
.license-page .lic-result:not(:empty) {
  display: block;
}
.license-page .lic-result.error {
  border-color: #e2b6b3;
  background: #fff6f4;
  color: #a04439;
}
.license-page .lic-preview {
  position: sticky;
  top: 95px;
}
.license-page .lic-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 19px 20px;
}
.license-page .lic-preview-head small {
  display: block;
  color: #9b7a42;
  font: 700 10px "DMA Sans", "Open Sans", Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.license-page .lic-preview-head h2 {
  color: #193e55;
  font: 700 20px Georgia, serif;
  margin: 5px 0 0;
}
.license-page .lic-preview-flag {
  border: 1px solid #d7c8a8;
  border-radius: 30px;
  padding: 5px 8px;
  font: 700 10px "DMA Sans", "Open Sans", Arial, sans-serif;
  color: #917747;
}
.license-page .lic-preview-body {
  padding: 0 17px 16px;
}
.license-page .lic-canvas-wrap {
  position: relative;
  aspect-ratio: 1013 / 638;
  border: 1px solid #d5dadc;
  border-radius: 4px;
  overflow: hidden;
  background: #e9e4dc;
}
.license-page .lic-canvas-wrap img,
.license-page .lic-canvas-wrap canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.license-page .lic-canvas-wrap img {
  z-index: 0;
}
.license-page .lic-canvas-wrap canvas {
  z-index: 1;
}
.license-page .lic-preview-foot {
  padding: 0 18px 18px;
  color: #788995;
  font: 400 11px/1.5 "DMA Sans", "Open Sans", Arial, sans-serif;
}
.license-page .lic-preview-foot span {
  font-weight: 700;
  color: #5f7280;
}
@media (max-width:1050px) {
  .license-page .lic-grid {
    grid-template-columns: 1fr;
  }
  .license-page .lic-preview {
    position: static;
    grid-row: 1;
  }
  .license-page .lic-edit {
    grid-row: 2;
  }
}
.license-page .lic-fit-hint {
  display: block;
  margin-top: 6px;
  font: 400 11px/1.5 "DMA Sans", "Open Sans", Arial, sans-serif;
  color: #667781;
}
.license-page .lic-export-note {
  margin: 10px 0 2px;
  color: #536b7b;
  font: 400 12px/1.5 "DMA Sans", "Open Sans", Arial, sans-serif;
}
.license-page .lic-file-details p {
  margin: 7px 0 12px;
}
.license-page .lic-result a {
  color: inherit;
  font-weight: 700;
}
.license-page .lic-field input[readonly] {
  background: #f7f8f6;
  border-color: #cdd8dc;
  color: #284b5e;
  cursor: default;
}
html:not([data-dma-site-theme=dark]) .license-page .lic-field input:is([type=text], [type=date]) {
  color: #000 !important;
  -webkit-text-fill-color: #000;
}
html:not([data-dma-site-theme=dark]) .license-page .lic-field input[readonly] {
  color: #333 !important;
  -webkit-text-fill-color: #333;
  background: #f3f6f7;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page {
  --lc-ink: var(--dma-dark-text,#f2eee4);
  --lc-muted: var(--dma-dark-muted,#c4d0d8);
  --lc-line: var(--dma-dark-border,#526576);
  background: #000 !important;
  color: var(--dma-dark-text,#f2eee4) !important;
  color-scheme: dark;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-panel {
  background: var(--dma-dark-card,#10151b) !important;
  color: var(--dma-dark-text,#f2eee4) !important;
  border-color: var(--dma-dark-border,#526576) !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-section {
  border-color: #3d5264 !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page :is(.lic-lead h1, .lic-section h2, .lic-preview-head h2) {
  color: var(--dma-dark-title,#f7d98a) !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page :is(.lic-lead p, .lic-section p, .lic-field > label, .lic-fieldset legend, .lic-option, .lic-school, .lic-preview-foot, .lic-export-note) {
  color: var(--dma-dark-text,#f2eee4) !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page :is(.lic-help, .lic-fit-hint, .lic-option small, .lic-preview-head small, .lic-preview-foot span, .lic-number span, .lic-file-status) {
  color: var(--dma-dark-muted,#c4d0d8) !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-section h2 small {
  color: #ead39b !important;
  border-color: #64788a;
  background: #203343;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-option {
  background: var(--dma-dark-raised,#0c1117) !important;
  border-color: var(--dma-dark-border,#526576) !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-option:has(input:checked) {
  background: #273e50 !important;
  border-color: #c5a568 !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page :is(.lic-option input, .lic-school input) {
  accent-color: #c7a463;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-field input:is([type=text], [type=date]) {
  background: var(--dma-dark-field,#0a1219) !important;
  color: #f8f6f0 !important;
  -webkit-text-fill-color: #f8f6f0;
  border-color: #718595 !important;
  box-shadow: none;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-field input[readonly] {
  background: #17232d !important;
  color: #d9e2e9 !important;
  -webkit-text-fill-color: #d9e2e9;
  border-color: #536575 !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page :is(.lic-risk-info, .lic-number) {
  background: var(--dma-dark-inset,#070b0f) !important;
  color: var(--dma-dark-text,#f2eee4) !important;
  border-color: var(--dma-dark-border,#526576) !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-risk-info strong {
  color: var(--dma-dark-title,#f7d98a) !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-number strong {
  color: #f2eee4 !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-primary {
  background: #254b67 !important;
  color: #fff !important;
  border-color: #52738c !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-secondary,
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-file-details button {
  background: #203343 !important;
  color: #f2eee4 !important;
  border-color: #526576 !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-file-details {
  border-top-color: #3d5264 !important;
  color: var(--dma-dark-muted,#c4d0d8) !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-file-details summary {
  color: var(--dma-dark-title,#f7d98a) !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-preview-flag {
  background: #203343;
  color: #ead39b;
  border-color: #64788a;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-canvas-wrap {
  background: #ece7dc;
  border-color: #526576;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-result:not(.error) {
  background: #0f2a21 !important;
  color: #d6f5df !important;
  border-color: #41795a !important;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) main.license-page .lic-result.error {
  background: #341d20 !important;
  color: #ffdbd8 !important;
  border-color: #945756 !important;
}
.license-page .lic-canvas-wrap,
.license-page .lic-canvas-wrap img,
.license-page .lic-canvas-wrap canvas {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  touch-action: pan-y;
}
.license-page .lic-canvas-wrap img {
  pointer-events: none;
}
.license-page .lic-canvas-wrap canvas {
  cursor: default;
}
.license-page .lic-canvas-wrap {
  isolation: isolate;
}
.license-page .lic-canvas-wrap::after {
  content: "PREVIEW ONLY";
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  transform: none;
  rotate: none;
  text-align: center;
  white-space: nowrap;
  font: 900 clamp(17px, 2.2vw, 30px)/1 "Arial Black",
    "DMA Sans", "Open Sans", Arial,
    sans-serif;
  letter-spacing: .09em;
  color: #c81627;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(255, 255, 255, .96), 0 0 5px rgba(255, 255, 255, .9);
}
.license-page .lic-checkout-only .lic-actions {
  margin: 0;
  display: block;
}
.license-page .lic-checkout-only .lic-primary {
  display: block;
  width: 100%;
}
.license-page .lic-custom-panel[hidden],
.license-page .lic-crop-controls[hidden] {
  display: none !important;
}
.license-page .lic-seal-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.license-page .lic-seal-choices .lic-option {
  min-width: 0;
}
.license-page .lic-custom-panel {
  margin-top: 15px;
  padding: 16px;
  border: 1px solid var(--lc-line,#cedae0);
  background: rgba(140, 160, 172, .055);
  border-radius: 5px;
}
.license-page .lic-custom-help,
.license-page .lic-custom-quality {
  font: 400 12px/1.65 "DMA Sans", "Open Sans", Arial, sans-serif;
  margin: 0 0 15px;
  color: var(--lc-muted,#536979);
}
.license-page .lic-custom-help strong {
  color: var(--lc-ink,#173a51);
}
.license-page .lic-custom-panel input[type=file] {
  display: block;
  width: 100%;
  max-width: 100%;
  font: 12px/1.5 "DMA Sans", "Open Sans", Arial, sans-serif;
  padding: 8px;
  border: 1px solid var(--lc-line,#cedae0);
  border-radius: 4px;
  background: transparent;
  color: inherit;
}
.license-page .lic-custom-panel input[type=file]::file-selector-button {
  cursor: pointer;
  background: #254b67;
  color: white;
  border: 0;
  border-radius: 3px;
  padding: 8px 10px;
  margin-right: 10px;
}
.license-page .lic-crop-controls {
  display: grid;
  grid-template-columns: minmax(155px, 250px) minmax(120px, 1fr);
  gap: 18px;
  align-items: center;
  margin: 12px 0 16px;
}
.license-page .lic-crop-stage {
  width: min(100%, 250px);
  margin: auto;
  aspect-ratio: 1;
  border-radius: 6px;
  background: #102134;
  border: 1px solid #c3aa75;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  user-select: none;
}
.license-page .lic-crop-stage:active {
  cursor: grabbing;
}
.license-page #customCropCanvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  user-select: none;
}
.license-page .lic-crop-tools label {
  font: 700 12px "DMA Sans", "Open Sans", Arial, sans-serif;
  display: block;
  margin-bottom: 6px;
}
.license-page .lic-crop-tools input[type=range] {
  width: 100%;
  accent-color: #b69863;
  min-height: 24px;
}
.license-page .lic-crop-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.license-page .lic-crop-buttons button {
  flex: 1 1 auto;
  padding: 8px;
  min-height: 36px;
}
.license-page .lic-custom-quality {
  margin: 0 0 5px;
}
.license-page .lic-custom-panel .lic-fit-hint {
  margin: 8px 0 14px;
}
.license-page .lic-custom-panel .lic-fit-hint.warn {
  color: #a65625;
  font-weight: 700;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) .license-page .lic-custom-panel {
  background: #12202a;
  border-color: #536575;
  color: #f2eee4;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) .license-page :is(.lic-custom-help, .lic-custom-quality) {
  color: #dae1e5;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) .license-page .lic-custom-help strong {
  color: #ead39b;
}
html[data-dma-site-theme=dark] body:not(.dma-classified-active) .license-page .lic-custom-panel .lic-fit-hint.warn {
  color: #f0b375;
}
@media (max-width:700px) {
  .license-page .lic-seal-choices {
    grid-template-columns: 1fr;
  }
  .license-page .lic-crop-controls {
    grid-template-columns: 1fr;
  }
  .license-page .lic-crop-tools {
    max-width: 320px;
    width: 100%;
    margin: auto;
  }
}
