@font-face { font-family: Roboto; src: url('../lib/idevapi-1.3.25/css/fonts/roboto/Roboto-Regular.ttf'); font-display: swap; }
@font-face { font-family: Roboto; src: url('../lib/idevapi-1.3.25/css/fonts/roboto/Roboto-Bold.ttf'); font-weight: 700; font-display: swap; }
:root { --blue: #003e6f; --blue-dark: #002b4e; --green: #a8c51f; --border: #c8d0d5; --muted: #56616a; --error: #982b27; --success: #176b3a; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f3f5f6; color: #252525; font: 1rem/1.55 Roboto, "Segoe UI", Arial, sans-serif; }
.page { width: min(1300px, calc(100% - 2rem)); min-height: 100vh; margin: 0 auto; padding: 0 1.5rem 2rem; background: #fff; }
.header { display: flex; flex: 0 0 auto; justify-content: flex-start; align-items: flex-start; width: calc(100% + 3rem); height: 85px; margin-left: -1.5rem; overflow: hidden; background: #fff; }
.header-image { display: block; flex: 0 0 auto; width: auto; height: 85px; max-width: none; object-fit: none; object-position: left top; }
main { padding-top: .5rem; }
section, .intro { margin-top: 1.75rem; }
section { padding-top: 1.35rem; border-top: 1px solid var(--border); }
.intro { padding-top: 0; border-top: 0; }
h1, h2, h3 { color: var(--blue); line-height: 1.2; }
h1 { margin: .2rem 0 .65rem; font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { margin: 0 0 .75rem; }
h3 { margin: 0 0 .65rem; }
.eyebrow { margin: 0; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
code { color: #064b92; }
.documentation-section a { color: var(--blue); font-weight: 700; }
.documentation-section a:hover { color: var(--blue-dark); }
.service-url { display: block; overflow-wrap: anywhere; }
pre { max-width: 100%; margin: .75rem 0 0; padding: 1rem; overflow: auto; border-radius: 6px; background: #122530; color: #e6f0f4; font: .9rem/1.45 Consolas, "Courier New", monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
pre code { color: inherit; }
.json-scroll { max-height: min(50vh, 28rem); overflow-x: auto; overflow-y: auto; white-space: pre; }
.example-input-json { height: auto; max-height: none; overflow: visible; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.request-payload { overflow-x: hidden; overflow-y: visible; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.static-json { max-height: none; overflow-x: visible; overflow-y: visible; white-space: pre-wrap; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .7rem; border: 1px solid var(--border); text-align: left; vertical-align: top; }
th { background: #edf2f5; }
.note { margin-top: 1rem; padding: .8rem 1rem; border-left: 4px solid var(--green); background: #f3f7dd; }
.example-request { margin-top: 1.25rem; padding: 1rem; border: 1px solid var(--border); border-radius: 6px; background: #f8fafb; }
.json-example-title { margin-top: 2rem; }
.example-request .example-input-title { margin-top: 0; }
.example-request pre { margin-top: .35rem; }
.geojson-structures { display: grid; gap: .65rem; }
.geojson-structures details { border: 1px solid var(--border); border-radius: 6px; background: #fff; }
.geojson-structures summary { padding: .7rem .85rem; color: var(--blue); font-weight: 700; cursor: pointer; }
.geojson-structures summary:focus-visible { outline: 3px solid #e07900; outline-offset: 2px; }
.geojson-structures details[open] summary { border-bottom: 1px solid var(--border); }
.geojson-structures details > p { margin: .7rem .85rem 0; }
.geojson-structures pre, .crs-guidance pre { max-height: none; margin: .7rem .85rem .85rem; overflow: visible; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.crs-guidance { margin-top: .85rem; padding: .8rem 1rem; border-left: 4px solid var(--green); background: #f3f7dd; }
.crs-guidance h5 { margin: 0 0 .4rem; color: var(--blue); font-size: 1rem; }
.crs-guidance p { margin: .45rem 0; }
.crs-guidance pre { margin-right: 0; margin-left: 0; }
.example-request-parameters { margin-top: .8rem; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.map-column, .control-column { min-width: 0; padding: 1.2rem; }
.map-column { border-right: 1px solid var(--border); background: #fafafa; }
.map { width: 100%; height: 520px; min-height: 360px; border: 1px solid #87959e; background: #e6ebee; }
.map.is-drawing, .map.is-drawing * { cursor: crosshair !important; }
.profile-panel { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.profile-chart { width: 100%; min-height: 240px; }
.profile-chart-svg { display: block; width: 100%; height: auto; color: var(--blue); touch-action: none; }
.profile-chart-svg:focus-visible { outline: 3px solid #e07900; outline-offset: 2px; }
.profile-grid { stroke: #d8dfe3; stroke-width: 1; }
.profile-sea-level { stroke: #1688a7; stroke-width: 1.5; stroke-dasharray: 7 4; }
.profile-sea-level-label { fill: #0b667d; font-size: 11px; font-weight: 700; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.profile-area { fill: #a8c51f; fill-opacity: .28; }
.profile-line { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.profile-tick { fill: #45535c; font-size: 12px; }
.profile-axis-label { fill: #25343c; font-size: 13px; font-weight: 700; }
.profile-indicator line { stroke: #982b27; stroke-width: 1.5; stroke-dasharray: 4 3; }
.profile-indicator circle { fill: #fff; stroke: #982b27; stroke-width: 3; }
.profile-indicator circle.is-missing { fill: #982b27; }
.profile-empty, .profile-output { margin: .5rem 0; color: var(--muted); }
.profile-output { min-height: 1.55rem; font-weight: 700; }
.draw-tools, .inline-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.draw-tools .draw-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-left: auto; padding-left: 1rem; border-left: 1px solid var(--border); }
.draw-tools .draw-actions button { background: #eef1f3; font-weight: 700; }
button, input, select, textarea { font: inherit; }
button { padding: .58rem .8rem; border: 1px solid #64747e; border-radius: 4px; background: #fff; color: #21313a; cursor: pointer; }
button:hover:not(:disabled), button[aria-pressed="true"] { background: #e7eff4; border-color: var(--blue); }
button:disabled { cursor: wait; opacity: .65; }
label, legend { font-weight: 700; }
label:not(.radio) { display: block; margin: .8rem 0 .25rem; }
input[type="url"], input[type="number"], select, textarea { width: 100%; padding: .62rem .7rem; border: 1px solid #75858f; border-radius: 4px; background: #fff; }
textarea { resize: vertical; font: .85rem/1.4 Consolas, "Courier New", monospace; }
small { display: block; margin-top: .3rem; color: var(--muted); }
fieldset { margin: 1rem 0; padding: .75rem; border: 1px solid var(--border); }
.radio { display: inline-flex; align-items: center; gap: .35rem; margin-right: 1rem; font-weight: 400; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.primary { width: 100%; border: 0; background: var(--blue); color: #fff; font-weight: 700; }
.primary:hover:not(:disabled) { background: var(--blue-dark); }
.status { min-height: 2.5rem; margin: .75rem 0; padding: .55rem .7rem; border-radius: 4px; background: #edf1f3; color: var(--muted); }
.status[data-state="error"] { background: #fbeceb; color: var(--error); }
.status[data-state="success"] { background: #e9f6ef; color: var(--success); }
.request-preview, .response-panel { padding: 1.2rem; border: 1px solid var(--border); border-top: 0; }
.response-panel { border-radius: 0 0 6px 6px; }
dl { margin: 0; } dt { margin-top: .7rem; font-weight: 700; } dd { margin-left: 0; overflow-wrap: anywhere; }
.skip-link { position: fixed; z-index: 9999; top: .5rem; left: .5rem; padding: .7rem 1rem; background: var(--blue); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid #e07900; outline-offset: 3px; }
@media (max-width: 800px) { .page { width: 100%; padding: 0 .75rem 1.5rem; } .workspace { grid-template-columns: 1fr; } .map-column { border-right: 0; border-bottom: 1px solid var(--border); } .map { height: 410px; } }
@media (max-width: 480px) { .field-grid { grid-template-columns: 1fr; } .draw-tools > button { flex: 1 1 28%; } .draw-tools .draw-actions { width: 100%; margin-left: 0; padding: .5rem 0 0; border-top: 1px solid var(--border); border-left: 0; } .draw-tools .draw-actions button { flex: 1 1 45%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
