/* Actureva 3.0.9: shared neutral theme; numerical values, geometry and interactions unchanged. */
/* High-contrast controls retain native keyboard, validation and file-selection behaviour. */
:root{--control-border:#9c8e7b;--control-focus:#5c5750;--surface-soft:#f7f6f5;--action-ink:#373430;--action-fill:#3b3733}
body:not(.login) .workspace-content{padding-top:32px}
.app-main{background:#f7f6f5}
.workspace-content .card,.workspace-content .paa-card,.workspace-content .form-page{border:1px solid #d6d0c9;box-shadow:0 6px 24px #36332f06;border-radius:18px}
body form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=file]):not([type=range]):not([type=color]),select,textarea){box-sizing:border-box;min-height:48px;max-width:100%;min-width:0;border:1.5px solid var(--control-border);border-radius:9px;background-color:#fff;color:#2c2a27;padding:12px 14px;font:inherit;font-size:16px;line-height:1.45;box-shadow:0 1px 2px #2c2a2707}
body form textarea{width:100%;min-height:130px;resize:vertical}
body form select{padding-right:32px;cursor:pointer}
body form :is(input,textarea)::placeholder{color:#7f7260;opacity:1}
body form label{color:#3a3732;font-weight:600;line-height:1.5}
body :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--control-focus);outline-offset:3px}
body form :is(input,select,textarea):focus{border-color:var(--control-focus);box-shadow:0 0 0 4px #5c575018}
body form :is(input,select,textarea):disabled{background:#eeece8;color:#7a6d5c;cursor:not-allowed;opacity:.8}
body form input[readonly],body form textarea[readonly]{background:#f2f0ee;border-style:dashed}
body form :is(input[type=checkbox],input[type=radio]){width:20px;height:20px;min-height:20px;accent-color:#4d4943;cursor:pointer;flex-shrink:0}
/* Use the actual file input so keyboard and assistive-technology behaviour remain native. */
body form input[type=file]{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;border:2px dashed #9e917f;border-radius:12px;background:#f9f9f7;padding:14px;color:#494540;font:inherit;font-size:15px;line-height:1.6;cursor:pointer}
body form input[type=file]::file-selector-button{border:1px solid #3b3733;border-radius:7px;background:#3b3733;color:#fff;padding:10px 15px;font:inherit;font-weight:600;margin:0 14px 4px 0;cursor:pointer}
body form input[type=file]:hover{border-color:#4d4943;background:#f5f3f1}
.file-selection-status{display:block;font-size:13px!important;line-height:1.6!important;color:#514d46;margin:8px 0 0!important;overflow-wrap:anywhere}
.file-selection-status.has-files{color:#504b45;font-weight:600}
.field-required{display:inline-block;margin-left:8px;border-radius:5px;padding:1px 6px;font-size:10px;font-weight:600;letter-spacing:.02em;background:#eeece9;color:#514d47;vertical-align:middle}
.field-invalid{border-color:#b23c36!important;background-color:#fff8f7!important}
body form .errorlist{color:#9b2f2a;font-size:14px;line-height:1.6}
/* Differentiate an actionable control from ordinary body copy without replacing links with JavaScript. */
body :is(.button,button[type=submit],.workspace-entry){min-height:46px;border:1px solid #3b3733;background:#3b3733;color:#fff;border-radius:9px;font-weight:600;box-shadow:0 2px 3px #36332f10;cursor:pointer;transition:background .15s,box-shadow .15s}
body :is(.button,button[type=submit],.workspace-entry):hover{background:#56514b;box-shadow:0 4px 12px #36332f20}
body :is(.button.secondary,.button.outline,.button.ghost){background:#fff;color:#3b3733;border:1.5px solid #9f917f}
body :is(.button.secondary,.button.outline,.button.ghost):hover{background:#f1f0ed}
body button:disabled,body .button[aria-disabled=true]{opacity:.55;cursor:not-allowed;box-shadow:none}
.workspace-content :is(.actions,.paa-actions,.toolbar) a:not(.button){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 13px;border:1px solid #b1a798;border-radius:8px;background:#fff;color:#43403b;font-weight:600;text-decoration:none}
.workspace-content :is(.actions,.paa-actions,.toolbar) a:not(.button):hover{background:#f2f0ee;border-color:#6a5f50}
.workspace-content :is(p,li) a:not(.button):not(.workspace-entry),.workspace-content .text-link{color:#4d4943;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.workspace-content summary{color:#49453f;border-radius:7px;padding:9px 8px;background:#f7f6f4;min-height:38px}
.workspace-content summary:hover{background:#f0edeb}
.sidebar nav a{border:1px solid transparent;transition:background .15s,border-color .15s}
.sidebar nav a:hover{background:#edebe8!important;color:#393631!important;border-color:#d4cec6}
.sidebar nav a[aria-current=page],.sidebar nav a.active{background:#eae8e4!important;color:#383531!important;border-color:#c7bfb4}
/* Maps use real SVG text, stable connectors and no numerical sample balances. */
.workspace-map{color:#3a3632;background:#fcfbfb;border:1px solid #ddd8d2;border-radius:16px;margin:18px 26px 0;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#aa9f8f #f5f4f2}
.workspace-map svg{display:block;width:100%;min-width:540px;height:auto}
.workspace-map .map-node rect{stroke:#cec8be;stroke-width:1.2;fill:#f3e8cb;animation:map-emphasis 10s ease-in-out infinite;animation-delay:calc(var(--stage)*-.9s)}
.workspace-map .map-node text{fill:#383531;text-anchor:middle;font-family:Arial,sans-serif;font-size:15px;font-weight:600;pointer-events:none}
.workspace-map .map-node--root rect{fill:#3a3732;stroke:#3a3732;animation-name:map-root-emphasis}
.workspace-map .map-node--root text{fill:#fff;font-size:16px}
.workspace-map .map-node--branch rect{fill:#e5e1dc;stroke:#b0a596;animation-name:map-branch-emphasis}
.workspace-map .map-node--branch text{font-size:17px}
.workspace-map .map-edge{stroke:#a09381;stroke-width:1.5;stroke-dasharray:5 5;animation:map-connection 5s linear infinite;animation-delay:calc(var(--stage)*-.45s)}
.workspace-map .map-band{font:600 12px Arial,sans-serif;fill:#736857;text-anchor:middle;letter-spacing:.3px}
.map-paa svg{min-width:610px}
.map-paa .map-node--leaf text{font-size:14px;font-weight:400}
.map-paa .map-node--leaf text:first-of-type{font-size:16px;font-weight:700}
.map-paa .map-node--root text{font-size:15px}
.map-paa .map-node--branch text{font-size:16px}
/* The map scrolls independently; a clearly styled link opens each licensed workspace. */
.studio-choice{display:flex;flex-direction:column;overflow:visible;min-height:0!important;border:1px solid #d8d3cc!important;border-radius:22px!important;box-shadow:0 6px 24px #33302c07;transition:box-shadow .2s}
.studio-choice:hover{box-shadow:0 12px 32px #33302c12}
.studio-choice .choice-top{padding:26px 28px 0!important;gap:12px}
.studio-choice .choice-copy{display:flex;flex-direction:column;flex:1;margin-top:0!important;padding:24px 28px 28px!important}
.studio-choice .choice-copy h2{font-size:clamp(26px,2.1vw,36px);margin-top:0;margin-bottom:12px}
.studio-choice .choice-copy p{font-size:17px;line-height:1.7;margin-bottom:20px}
.studio-choice .choice-tags{margin-bottom:22px;gap:8px}
.studio-choice .choice-tags span{font-size:12px;padding:7px 11px;background:#ffffff18;border-color:#beb5a8}
.studio-choice .workspace-entry{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px;margin-top:auto;text-decoration:none;font-size:15px;line-height:1.5}
.sam-choice,.zicarp-choice{background:#2b2825!important;color:#f7f6f4!important}
.sam-choice .workspace-entry,.zicarp-choice .workspace-entry{background:#ebe8e4;color:#383530;border-color:#dad5ce}
.sam-choice .workspace-entry:hover,.zicarp-choice .workspace-entry:hover{background:#f5f3f1;color:#383530}
.reserving-choice,.paa-choice{background:#f4f2f0!important;color:#3a3632!important}
.studio-choice .reserving-graphic{height:auto;min-height:240px;margin:18px 28px 0!important;flex:1;display:flex;align-items:center}
.studio-choice .reserving-graphic svg{height:auto;min-height:240px}
.public-body .workspace-map{max-width:850px;margin:28px 0}
@keyframes map-connection{to{stroke-dashoffset:-60}}
@keyframes map-emphasis{0%,18%,75%,100%{fill:#f3e8cb}35%,45%{fill:#dfce9e}}
@keyframes map-root-emphasis{0%,18%,75%,100%{fill:#3a3732}35%,45%{fill:#5c5750}}
@keyframes map-branch-emphasis{0%,18%,75%,100%{fill:#e5e1dc}35%,45%{fill:#cac3b9}}
.workspace-map:hover *,.workspace-map:focus-within *{animation-play-state:paused!important}
@media(max-width:700px){.workspace-map{margin:16px 16px 0}.studio-choice .choice-top{padding:22px 18px 0!important}.studio-choice .choice-copy{padding:22px 18px!important}.studio-choice .choice-copy p{font-size:16px}.workspace-content :is(.actions,.paa-actions,.toolbar){flex-wrap:wrap;gap:10px}body form input[type=file]{padding:11px;font-size:14px}.field-required{font-size:9px}}
@media(prefers-reduced-motion:reduce){.workspace-map *{animation:none!important;transition:none!important}body :is(.button,.workspace-entry,.sidebar nav a){transition:none!important}}

/* Destructive actions retain an explicit visual distinction. */
body .button.danger{background:#8d302d;border-color:#8d302d;color:#fff}body .button.danger:hover{background:#702522}

/* Preserve intentionally hidden widgets and separate headings from crossing connectors. */
body form :is(input,select,textarea)[hidden]{display:none!important}
.workspace-map .map-band{paint-order:stroke;stroke:#fcfbfb;stroke-width:5px;stroke-linejoin:round}
