@font-face{font-family:'Noto Sans SC';src:url('/static/fonts/NotoSansSC.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:block}
@font-face{font-family:Inter;src:url('/static/fonts/Inter.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:block}
*{box-sizing:border-box;border-width:0;border-style:solid}
html,body{margin:0;padding:0;background:#f7f8fa;color:#20242c;font-family:'Noto Sans SC',sans-serif;font-size:14px;line-height:24px}
body{min-width:1440px}
p,h1,h2,h3,pre{margin:0}button,input,textarea,select{font:inherit;letter-spacing:inherit;color:inherit;background:transparent;border:0;padding:0;margin:0}button{text-align:inherit}a{color:inherit;text-decoration:none}img{display:block}button,a,[role=button]{-webkit-tap-highlight-color:transparent}button:not(:disabled),a,[role=button]{cursor:pointer}
.app-shell{width:1440px;min-height:1000px}.app-shell>div:first-child{width:1440px}
.figma-overlay-stroke:after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;border-style:var(--stroke-style);border-color:var(--stroke-color);border-width:var(--stroke-top) var(--stroke-width) var(--stroke-bottom) var(--stroke-width)}
.live-field{display:block;flex:1;min-width:0;width:100%;height:100%;font-size:14px;line-height:24px;color:#20242c;background:transparent;outline:none}
.live-field::placeholder{color:#8a929f}.live-field:focus{outline:1px solid #29465b;outline-offset:4px}.live-area{resize:none;align-self:stretch;line-height:24px}.pager-value{font-family:Inter,sans-serif;text-align:center}.document-page{display:block;align-self:flex-start}.empty-note{font-size:14px;color:#8a929f;padding:16px;white-space:normal}.consent{display:flex;gap:6px;font-size:12px;line-height:20px;align-items:center}.consent input{width:14px;height:14px;accent-color:#29465b}
.radio-ring{display:block;width:20px;height:20px;border:1px solid #29465b;border-radius:50%;position:relative}.radio-ring.selected:after{content:'';position:absolute;width:10px;height:10px;border-radius:50%;background:#29465b;top:4px;left:4px}
[data-name='Material scroll viewport']::-webkit-scrollbar{display:none}[data-name='Material scroll viewport']{scrollbar-width:none}
.profile-option{display:block;min-height:44px;border:1px solid #e1e5eb;border-radius:4px;padding:8px 12px;color:#29465b;width:100%;text-align:left;white-space:normal}
[role=button]:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid #29465b;outline-offset:3px}[aria-disabled=true]{cursor:not-allowed}
.toast{position:fixed;z-index:80;right:24px;bottom:24px;max-width:560px;padding:16px 20px;border:1px solid #146b42;border-radius:4px;background:#eaf6ee;color:#146b42;box-shadow:0 4px 12px #0f17240d}.toast.error{bottom:88px;border-color:#be343b;background:#fff0f0;color:#be343b}.toast button{margin-left:20px;font-size:12px;text-decoration:underline}
.modal-overlay{position:fixed;z-index:60;inset:0;display:flex;align-items:center;justify-content:center;background:#20242c66;overflow:auto;padding:32px}.design-dialog{flex-shrink:0;max-height:calc(100vh - 64px);overflow:auto}.generic-dialog{width:600px;max-height:85vh;overflow:auto;background:white;border:1px solid #e1e5eb;border-radius:4px;padding:24px;display:flex;flex-direction:column;gap:16px}.generic-dialog h2{font-size:20px;line-height:28px}.generic-dialog p{white-space:normal;color:#626b78}.generic-field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#8a929f}.generic-input{width:100%;height:44px;border:1px solid #e1e5eb;border-radius:4px;padding:12px;font-size:14px;color:#20242c}.generic-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.generic-button{border:1px solid #29465b;color:#29465b;border-radius:4px;min-height:36px;padding:8px 12px}.record{border-bottom:1px solid #e1e5eb;padding:12px 0;display:flex;flex-direction:column;gap:4px}.record p,.record small{font-size:12px;color:#8a929f;line-height:20px}.record pre{font:12px/20px monospace;white-space:pre-wrap;overflow-wrap:anywhere}.busy{position:fixed;z-index:100;bottom:24px;left:24px;padding:12px 24px;background:#edf2f6;color:#29465b;border:1px solid #29465b;border-radius:4px}

.user-menu{display:flex;align-items:center;gap:12px;cursor:pointer;white-space:nowrap}.user-menu p{width:auto!important;height:auto!important}
.zoom-control{display:flex;align-items:center;gap:4px}.zoom-value{width:48px;text-align:right;font-size:12px;line-height:20px}.zoom-control input[type=range]{width:100px;accent-color:#29465b;cursor:ew-resize}
[data-name="Status"],[data-name="State"],[data-name$="badge"]{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}
[data-name="Status"] p,[data-name="State"] p,[data-name$="badge"] p,button>p,[id^="node-"]>p{height:auto!important;line-height:24px;text-align:center}

.review-facts{display:flex;flex-direction:column;gap:8px;width:100%;padding:12px 0;border-top:1px solid #e1e5eb}.review-facts textarea{min-height:80px;height:80px;padding:8px;border:1px solid #e1e5eb;border-radius:4px}.stages{display:flex;gap:12px;flex-wrap:wrap}.stages label{display:flex;align-items:center;gap:4px}.stages input{accent-color:#29465b}.gate-reasons{font-size:12px;line-height:20px;color:#873f00;white-space:normal;overflow-wrap:anywhere}.generic-button{display:inline-flex;align-items:center;justify-content:center;text-align:center}.generic-button:disabled{opacity:.4;cursor:not-allowed}.record a{color:#29465b;text-decoration:underline;overflow-wrap:anywhere}

.case-type-label{display:flex;flex-direction:column;gap:6px;width:100%;font-size:12px;color:#8a929f;text-align:left}.case-type-label select{font-size:14px;color:#20242c;border:1px solid #e1e5eb;border-radius:4px;min-height:32px;padding:4px 8px}[data-name="Document toolbar"][data-node-id="155:974"] .zoom-control{color:#b6c6d2}[data-name="Document toolbar"][data-node-id="155:974"] .zoom-value{color:#b6c6d2}

.figma-button:hover:not([aria-disabled=true]){background-color:#edf2f6!important}.figma-button:active:not([aria-disabled=true]){background-color:#29465b!important;color:#fff!important}.figma-button:active:not([aria-disabled=true]) p{color:#fff!important}.figma-button:active:not([aria-disabled=true]) img{filter:brightness(0) invert(1)}.figma-pager{background:transparent!important;border:0!important}.figma-pager:after{border:0!important}.figma-pager:hover:not([aria-disabled=true]){background:#edf2f6!important}.figma-pager:active:not([aria-disabled=true]){background:#29465b!important;color:white!important}.figma-pager:active:not([aria-disabled=true]) p{color:white!important}.figma-pager:active:not([aria-disabled=true]) img{filter:brightness(0) invert(1)}
[data-name="Document canvas"] img{user-select:none;-webkit-user-drag:none}[data-name="Document canvas"]:fullscreen{width:100vw!important;height:100vh!important;background:#edf2f6}
.zoom-control input[type=range]{appearance:none;height:2px;background:#dfe6ee;outline:none}.zoom-control input[type=range]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:white;border:1px solid #29465b}.zoom-control input[type=range]::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:white;border:1px solid #29465b}

.zoom-control{gap:0}.zoom-control input[type=range]{width:132px;flex-shrink:0;margin-right:8px}.zoom-value{width:30px;text-align:left;color:#8a929f}.zoom-control>span{font-size:12px;line-height:20px;color:#8a929f}.zoom-value::-webkit-inner-spin-button,.zoom-value::-webkit-outer-spin-button{appearance:none;margin:0}

/* Live pages fill the available viewport; design-only previews retain Figma dimensions. */
.viewport-page{height:100dvh!important;min-height:0!important;overflow:hidden}
.viewport-sidebar,.viewport-main{height:100%!important;min-height:0!important;overflow:hidden}
.viewport-sidebar{overflow-y:auto}
.viewport-main{display:flex;flex-direction:column}
.viewport-content{height:auto!important;min-height:0!important;flex:1 1 0!important;overflow:auto!important}
.viewport-workspace{height:auto!important;min-height:0!important;flex:1 1 0!important;align-items:stretch!important;overflow:hidden!important}
.viewport-column,.viewport-viewer{height:100%!important;min-height:0!important;overflow-y:auto!important}
.viewport-fill{height:auto!important;min-height:100px!important;flex:1 1 0!important;overflow:hidden!important}
.viewport-workspace>.viewport-fill{height:100%!important;min-height:0!important}
.viewport-scroll{height:auto!important;min-height:0!important;flex:1 1 0!important;overflow-y:auto!important}
.viewport-viewer{display:flex;flex-direction:column}
.viewport-viewer>[data-name="Document canvas"]{min-height:100px!important}
.viewport-footer{margin-top:auto!important;flex-shrink:0!important}
.viewport-page [data-name="Material detail editor"],.viewport-page [data-name="Review result and actions"]{flex-shrink:0!important}
.zoom-control{gap:0!important;flex-shrink:0;overflow:hidden!important}.zoom-value{font-family:Inter,sans-serif;font-size:12px;line-height:20px;flex:none;text-align:right;padding:0!important;margin:0!important;font-variant-numeric:tabular-nums}.zoom-control>span{flex:none;margin:0!important;padding:0!important}
.toast{left:16px;right:auto;bottom:16px;max-width:min(560px,calc(100vw - 32px))}.toast.error{left:16px;right:auto;bottom:88px}.busy{left:16px;bottom:16px}

.app-shell:has(.viewport-page){min-height:100dvh}.viewport-page [data-name="Material scroll viewport"]{scrollbar-width:thin}.viewport-page [data-name="Material scroll viewport"]::-webkit-scrollbar{display:block;width:4px}.viewport-page [data-name="Material scroll viewport"]::-webkit-scrollbar-thumb{background:#8a929f;border-radius:4px}

/* Shared compact scrollbar mirrors the Figma rail and thumb. */
*{scrollbar-width:thin;scrollbar-color:#8a929f #eff1f4}*::-webkit-scrollbar{width:4px;height:4px}*::-webkit-scrollbar-track{background:#eff1f4;border-radius:4px}*::-webkit-scrollbar-thumb{background:#8a929f;border-radius:4px}*::-webkit-scrollbar-thumb:hover{background:#626b78}
.combo{display:flex;position:relative;width:100%;height:44px;min-height:44px;align-items:center;border:1px solid #e1e5eb;border-radius:4px;background:white}.combo:focus-within{border-color:#29465b}.combo-input{height:100%;width:100%;min-width:0;padding:10px 12px;outline:none;font-size:14px;line-height:24px}.combo-input[readonly]{cursor:pointer}.combo-arrow{flex:none;width:36px;height:100%;font-size:20px;color:#626b78;text-align:center}.combo-options{z-index:45;padding:4px;background:white;border:1px solid #e1e5eb;border-radius:4px;box-shadow:0 4px 12px #0f172414;overflow-y:auto;overscroll-behavior:contain;user-select:none}.combo-option{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:36px;padding:6px 10px;font-size:14px;line-height:24px;text-align:left;border-radius:4px;color:#20242c}.combo-option:hover,.combo-option:focus-visible{background:#edf2f6;outline:none}.combo-option[aria-selected=true]{background:#edf2f6;color:#29465b}.combo-check{color:#29465b}.case-type-card{width:100%;flex-shrink:0;display:flex;flex-direction:column;gap:8px;border:1px solid #e1e5eb;border-radius:4px;background:white;padding:12px}.case-type-card>p{font-size:14px;line-height:24px;font-weight:500}.review-opinion{width:100%;height:40px;min-height:40px;flex-shrink:0;resize:none;padding:4px 8px;border:1px solid #e1e5eb;border-radius:4px;background:white;font-size:12px;line-height:20px;outline:none}.review-opinion:focus{border-color:#29465b}.review-opinion::placeholder{color:#8a929f}.archive-action{display:flex;align-items:center;justify-content:center;flex-shrink:0;height:44px;min-width:104px;padding:8px 16px;border:1.5px solid #29465b;border-radius:4px;font-size:14px;line-height:24px;color:#29465b}.archive-action.secondary{border:1px solid #626b78;color:#626b78}.progress-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;width:100%;height:72px;min-height:72px;flex-shrink:0;padding:16px;border:1px solid #e1e5eb;border-radius:8px;background:white}.viewport-page [data-name="Application workspace"]{flex:1 1 0!important;height:auto!important;min-height:0!important}.pager-value::placeholder{text-align:center;color:#8a929f}.pager-value::-webkit-inner-spin-button,.pager-value::-webkit-outer-spin-button{appearance:none;margin:0}

.viewport-page [data-name="Material list"]{min-height:140px!important}
@supports selector(::-webkit-scrollbar){*{scrollbar-width:auto}.viewport-page [data-name="Material scroll viewport"]{scrollbar-width:auto}}

.review-toolbar{display:flex;justify-content:flex-end;gap:8px;width:100%;flex-shrink:0}.review-toolbar .archive-action{height:32px;min-width:72px;padding:4px 12px;font-size:12px;line-height:20px}.review-toolbar .archive-action:last-child{min-width:112px}.drag-material-list{scrollbar-width:none!important;user-select:none}.drag-material-list::-webkit-scrollbar{display:none!important;width:0!important}.submitted-names{width:100%;max-height:72px;overflow-y:auto;font-size:14px;line-height:24px}.submitted-names>p{width:auto!important;height:auto!important}
.viewport-page [data-name="Material scroll viewport"].drag-material-list{scrollbar-width:none!important}

*::-webkit-scrollbar-button{display:none;width:0;height:0}

.viewport-page [data-name="List and scrollbar"]{overflow:hidden!important;align-items:stretch!important}.viewport-page [data-name="Material scroll viewport"]{height:100%!important;width:100%!important}.viewport-page [data-name="Material scroll viewport"]>[data-name="Archive/MaterialReviewRow"]{width:100%!important}
.case-list-row{width:100%!important;max-width:100%;min-width:0!important}.case-list-information,.case-list-status{min-width:0!important;flex-shrink:1!important}.case-list-status{max-width:100%;overflow:hidden}.case-list-note{min-width:0!important;max-width:100%!important;width:0!important;flex:1 1 0!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis}.drag-list{overflow-x:hidden!important;scrollbar-width:none!important;user-select:none}.drag-list::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}

/* Keep review controls beside the title instead of adding another heading row. */
.review-heading-layout{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;width:100%;flex-shrink:0}.review-heading-copy{display:flex;flex-direction:column;flex:1;min-width:0}.review-heading-actions{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0}

.global-search-results .global-search-result{flex-direction:column;align-items:flex-start;gap:2px}.global-search-result>span{max-width:100%;overflow-wrap:anywhere}.global-search-result>span:last-child{font-size:12px;color:#626b78}

/* Only document preview windows expose a scrollbar; other overflow stays draggable. */
*:not([data-name="Document canvas"]){scrollbar-width:none!important}
*:not([data-name="Document canvas"])::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
.viewport-page [data-name="Material list"],.viewport-page [data-name="Material checklist"]{height:300px!important;min-height:300px!important;max-height:300px!important;flex:0 0 300px!important}
.case-list-metadata{width:100%!important;min-width:0!important;max-width:100%!important;flex-shrink:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis}.case-list-metadata-wrap{width:100%!important;min-width:0!important;max-width:100%!important}
