/* Oficio / professional legal workspace. Native CSS; references in docs/16. */
.study-app{--ink:#142c49;--muted:#40556d;--blue:#2455dc;--line:#ccd6e3;--pale:#eaf0ff;color:var(--ink);background:#f3f5f8;padding-left:220px;font-size:16px}
.study-app :focus-visible{outline:3px solid #2455dc;outline-offset:3px}.study-app button,.study-app a{touch-action:manipulation}.study-app .btn,.study-app .button{border-radius:6px;min-height:44px;font-size:15px;gap:9px;padding:10px 16px;font-weight:650}.study-app .btn.primary,.study-app .button-dark{background:#2455dc;border-color:#2455dc;color:white;box-shadow:0 2px 3px #15346a15}.study-app .text-btn,.study-app .text-button{font-size:14px;min-height:40px;color:#214fbd}.study-app .danger{color:#a52a3a}.study-app input,.study-app select,.study-app textarea{border-color:#94a5bb;font-size:16px}.study-app input::placeholder{color:#536379}.study-app .demo-note,.study-app .editor-note,.study-app .board-tip{font-size:14px;color:#40556d}.study-app .feedback:has(>p:empty):not(:has(button:not([hidden]))){display:none}
/* Persistent workspace navigation, not another content card. */
.study-app .studio-rail{position:fixed;inset:0 auto 0 0;width:220px;padding:28px 16px 20px;background:white;border-right:1px solid #ccd6e3;z-index:5;display:flex;flex-direction:column}.rail-brand{display:block;padding:0 14px}.rail-brand img{width:128px;height:auto;display:block}.rail-workspace{display:flex;align-items:center;gap:10px;margin:30px 0 26px;padding:14px 8px;border-block:1px solid #dce3ec}.workspace-monogram{display:grid;place-items:center;width:34px;height:38px;background:#e8eeff;color:#2147b3;border-radius:7px;font-weight:750;flex-shrink:0}.rail-workspace strong{display:block;font-size:14px;line-height:1.5}.rail-workspace div>span{font-size:13px;color:#40556d}.rail-caption{padding:0 12px;font-size:13px;font-weight:600;color:#40556d}.study-app .study-nav{flex-direction:column;border:0;gap:6px;margin:12px 0}.study-app .study-nav button{display:flex;align-items:center;gap:13px;text-align:left;background:transparent;color:#334b68;border:0;border-radius:6px;padding:13px 14px;min-height:48px;font-size:16px;font-weight:650;position:relative}.study-app .study-nav button:hover{background:#eef2fa}.study-app .study-nav button[aria-selected=true]{background:#e8eeff;color:#193eb0}.study-app .study-nav button[aria-selected=true]:before{content:'';position:absolute;inset:12px auto 12px 0;width:3px;background:#2455dc;border-radius:3px}.study-app .study-nav .icon{width:22px;height:22px}.rail-bottom{margin-top:auto;padding:18px 12px 0;border-top:1px solid #ccd6e3;font-size:14px;line-height:1.6}.demo-label{display:inline-block;color:#214da8;font-size:13px;font-weight:650}.rail-bottom p{color:#40556d;margin-top:8px}.rail-bottom a{display:block;margin-top:20px;color:#214fbd;text-decoration:underline;text-underline-offset:4px;font-weight:600;line-height:1.7}
/* Breadcrumb and demo notice stay compact. */
.study-app .topbar{height:58px;padding:0 30px;background:white;border-bottom:1px solid #dce3ec}.study-app .topbar>.brand{display:none}.study-app .topbar .app-name{padding:0;border:0;display:flex;gap:14px;font-size:14px;color:#40556d}.app-name #module-location{color:#142c49;font-weight:700}.study-app .back-link{font-size:14px;color:#214fbd}.study-app .demo-banner{background:#fff;padding:9px 30px;font-size:13px;color:#40556d;border-bottom:1px solid #dce3ec;display:flex;gap:12px;align-items:center}.demo-banner>span{color:#214da8;font-weight:700}.study-app .board-main{padding:27px 30px 40px;max-width:1580px;margin:0 auto}.study-app .studio-heading{margin:0 0 24px;align-items:center;gap:20px}.study-app .studio-heading h1{font-size:34px;letter-spacing:-.045em;font-weight:750;line-height:1.18}.study-app .studio-heading p{font-size:15px;margin-top:8px;color:#40556d}.study-app .studio-actions{display:flex;flex-direction:row;gap:15px;align-items:center}.studio-actions .icon{width:18px;height:18px}.study-app .studio-actions .btn{background:white;border-color:#bcc9d9;font-size:14px}.study-app .studio-actions .text-btn{font-size:14px}
/* One continuous context bar connects the four modules. */
.study-app .studio-context{display:flex;align-items:center;gap:25px;padding:21px 24px;background:#102d50;color:white;border:0;border-radius:10px;margin:0 0 26px;box-shadow:0 4px 8px #142c490a}.context-picker{display:flex;flex-wrap:wrap;align-items:end;gap:10px;flex:1;min-width:0}.context-picker>.field{flex:1;min-width:120px;color:white;font-size:13px;font-weight:500;gap:8px}.study-app .context-picker select{background:white;border:1px solid white;color:#142c49;font-size:15px;padding:10px 30px 10px 12px;min-height:44px;width:100%;text-overflow:ellipsis}.context-picker>.btn{color:white;background:#254769;border-color:#7188a2;font-size:14px;padding-inline:12px}.study-app #all-matters{color:white;font-size:14px;text-decoration:underline;flex-basis:100%;text-align:left;padding:0;min-height:30px}.studio-context :focus-visible{outline-color:#a9c5ff}.study-app .study-summary{display:flex;margin:0;gap:22px;flex:0 0 auto}.study-app .study-summary>div{display:flex;flex-direction:column;border-left:1px solid #58728d;padding-left:20px;gap:7px;min-width:0}.study-app .study-summary strong{font-size:23px;font-weight:650;color:white;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}.study-app .study-summary span{font-size:13px;color:#e0e9f5;max-width:12ch;line-height:1.4}
/* Board and list share the same task cards and editors. */
.study-app .board-heading{margin:0 0 19px;gap:20px;align-items:center}.study-app .board-heading h2{font-size:22px;font-weight:750}.study-app .board-heading p{display:block;font-size:14px;color:#40556d;margin-top:6px}.board-view-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #ccd6e3;padding-bottom:14px;margin-bottom:16px}.board-view-controls>span{font-size:13px;color:#40556d}.view-switch{display:flex;gap:3px;border:1px solid #bcc9d9;background:#e9eef5;border-radius:6px;padding:3px}.view-switch button{display:flex;align-items:center;gap:8px;min-height:38px;border:0;border-radius:4px;background:transparent;color:#40556d;padding:7px 12px;font-size:14px;font-weight:650}.view-switch button[aria-pressed=true]{background:white;color:#2147b3;box-shadow:0 1px 3px #142c491f}.view-switch .icon{width:18px;height:18px}.study-app .toolbar{display:flex;gap:10px;margin-bottom:23px;align-items:center}.study-app .search-wrap{flex:1;width:auto;min-width:160px}.study-app .search-wrap input{font-size:15px;min-height:44px;background:white;border-color:#a5b4c7}.study-app .filter-label{border-color:#a5b4c7;font-size:14px;min-height:44px;padding:0 10px;gap:8px}.study-app .filter-label select{font-size:14px;min-height:44px}.study-app .board-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:start}.study-app .column{background:#e9edf3;border:1px solid #d6dee9;border-radius:8px;padding:0 10px 10px;min-width:0}.study-app .column-heading{padding:15px 3px;margin:0;gap:9px;border-top:3px solid #75859b}.study-app .column[data-state=doing] .column-heading{border-color:#2455dc}.study-app .column[data-state=done] .column-heading{border-color:#267962}.study-app .column-heading h2{font-size:16px;letter-spacing:-.01em}.study-app .column-count{font-size:13px;background:white;color:#142c49;width:25px;height:25px;min-width:25px;margin-left:auto;border:1px solid #c8d2df}.study-app .task-list{gap:12px}.study-app .task-card{background:white;border:1px solid #c8d2df;border-radius:7px;padding:16px;box-shadow:0 2px 3px #142c4908;position:relative;transition:border-color .16s,box-shadow .16s}.study-app .task-card:hover{border-color:#2455dc;box-shadow:0 3px 10px #16396817}.study-app .card-matter{display:flex;align-items:center;gap:9px;margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid #e3e8f0;color:#40556d;font-size:13px;line-height:1.4}.matter-initials{display:grid;place-items:center;width:34px;height:36px;background:#e9eeff;color:#284ab0;border-radius:6px;font-size:12px;font-weight:750;flex-shrink:0}.card-context{display:flex;flex-direction:column;min-width:0;gap:3px}.card-context strong{font-size:14px;font-weight:650;color:#142c49}.card-context>span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.study-app .card-title-row strong{font-size:17px;line-height:1.4;letter-spacing:-.015em}.study-app .card-title-row .icon{width:16px;color:#65778d}.study-app .card-description{font-size:14px;line-height:1.55;color:#40556d;margin:9px 0 12px;-webkit-line-clamp:2}.study-app .priority{font-size:12px;font-weight:650;line-height:1.6;padding:3px 8px;border-radius:4px}.study-app .priority.high{background:#fff0e9;color:#963918}.study-app .priority.normal{background:#e9eeff;color:#2147b3}.study-app .priority.low{background:#edf1f5;color:#40556d}.study-app .card-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;font-size:13px;align-items:center}.study-app .person{flex:1;gap:7px}.study-app .avatar{width:25px;height:25px;font-size:10px;font-weight:750}.study-app .due{font-size:12px;line-height:1.5;gap:5px}.study-app .due .icon{width:15px;height:15px}.study-app .due.overdue{background:#ffede9;color:#9d2d24;padding:4px 6px;border-radius:4px}.study-app .due.today{color:#2147b3}.study-app .due.done{color:#21634f}.study-app .check-progress{display:flex;flex-wrap:wrap;gap:7px;align-items:center;color:#40556d;font-size:12px;margin-top:13px}.study-app .check-progress>.icon{width:16px;height:16px}.task-progress{width:100%;height:4px;border:0;appearance:none;border-radius:3px;background:#e3e9f1;overflow:hidden;margin-top:2px}.task-progress::-webkit-progress-bar{background:#e3e9f1}.task-progress::-webkit-progress-value{background:#4469cf}.task-progress::-moz-progress-bar{background:#4469cf}.column[data-state=done] .task-progress::-webkit-progress-value{background:#267962}.study-app .column-add{border:1px dashed #a7b6c9;background:transparent;color:#315578;font-size:14px;min-height:42px;border-radius:5px;margin-top:12px}.study-app .board-tip{text-align:left;margin-top:19px;max-width:85ch;line-height:1.6}.study-app .empty-column{font-size:14px;color:#40556d;line-height:1.6;padding:18px 10px}.study-app .drag-over{outline:2px dashed #2455dc}.study-app .drag-ghost{z-index:20}
.study-app .board-columns.list-layout{grid-template-columns:1fr}.study-app .list-layout .column{background:white;padding:0 18px 15px}.study-app .list-layout .task-list{gap:0}.study-app .list-layout .task-card{display:grid;grid-template-columns:minmax(160px,.9fr) minmax(170px,1.1fr) 65px minmax(190px,1fr);gap:18px;align-items:center;box-shadow:none;border:0;border-top:1px solid #dce3ec;border-radius:0;padding:18px 0}.study-app .list-layout .card-matter{padding:0;margin:0;border:0}.study-app .list-layout .card-description,.study-app .list-layout .check-progress{display:none}.study-app .list-layout .card-title-row strong{font-size:15px}.study-app .list-layout .card-meta{margin:0}.study-app .list-layout .priority{justify-self:start}.study-app .list-layout .column-add{width:auto;padding-inline:16px}
/* Matter files: client identity, meaningful totals, actions and pending work. */
.study-app .study-panel{padding-top:0}.study-app .matter-toolbar{padding:0 0 19px;margin:0;gap:18px;border-bottom:1px solid #ccd6e3;align-items:end}.study-app .matter-toolbar label{font-size:14px}.study-app .matter-toolbar input,.study-app .matter-toolbar select{font-size:16px;background:white;min-height:44px}.study-app #matter-results{font-size:14px;color:#40556d;margin:15px 0 21px}.study-app #matter-list>.section-heading{display:none}.study-app .matter-grid{gap:22px;grid-template-columns:repeat(2,minmax(0,1fr))}.study-app .matter-sheet{background:white;border:1px solid #bdcbdc;border-radius:9px;padding:25px;box-shadow:0 3px 6px #142c4907}.study-app .sheet-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:0 0 22px;flex-wrap:wrap}.sheet-identity{display:flex;align-items:center;gap:12px}.sheet-identity .matter-initials{width:42px;height:45px;font-size:15px}.sheet-identity strong{font-size:18px}.study-app .study-tag{background:#edf2ff;color:#2147b3;font-size:12px;font-weight:650;padding:6px 9px;border-radius:4px;line-height:1.5}.study-app .matter-sheet h2{font-size:25px;line-height:1.25;max-width:25ch}.study-app .matter-sheet>p{font-size:15px;color:#40556d;line-height:1.6;margin-top:10px}.study-app .sheet-stats{display:grid;grid-template-columns:1fr 1.3fr;gap:18px;border-block:1px solid #d2dce9;padding:17px 0;margin:21px 0;background:transparent}.sheet-stats>div{display:flex;flex-direction:column;gap:5px}.sheet-stats span{font-size:13px;color:#40556d}.sheet-stats strong{font-size:24px;font-weight:650;font-variant-numeric:tabular-nums}.study-app .sheet-tasks{margin-bottom:20px}.study-app .sheet-task{display:flex;align-items:center;gap:10px;background:white;color:#214fbd;border:0;border-bottom:1px solid #e3e9f1;border-radius:0;padding:11px 0;min-height:44px;font-size:14px;line-height:1.5;margin:0;width:100%;text-align:left}.sheet-task:before{content:'';width:10px;height:10px;border:1px solid #637fae;border-radius:3px;flex-shrink:0}.study-app .matter-sheet .workspace-actions{gap:8px}.study-app .matter-sheet .btn{font-size:13px;padding:9px 11px;min-height:42px;background:#fff;border-color:#b3c3d9}.study-app .matter-sheet .btn:nth-child(2){background:#2455dc;color:white;border-color:#2455dc}
/* Finance: a ledger and statement, with color reserved for account status. */
.study-app .study-panel .finance-desk,.study-app .study-panel .demo-workspace{padding:0;background:transparent;border:0;box-shadow:none}.study-app .finance-overview,.study-app .workspace-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0;margin:0 0 22px;border:1px solid #bdcbdc;border-radius:8px;background:white;overflow:hidden}.study-app .finance-overview>div,.study-app .workspace-metrics>div{padding:18px 22px;border:0;display:flex;flex-direction:column;gap:8px;background:white}.study-app .finance-overview>div+div,.study-app .workspace-metrics>div+div{border-left:1px solid #dce3ec;padding-left:22px}.study-app .finance-overview span,.study-app .workspace-metrics span{font-size:14px;color:#40556d}.study-app .finance-overview strong,.study-app .workspace-metrics strong{font-size:29px!important;font-weight:650;line-height:1.2;color:#142c49;font-variant-numeric:tabular-nums}.study-app .finance-overview>div:nth-child(2){background:#eaf3ef}.study-app .finance-overview>div:nth-child(2) strong{color:#1c654b}.study-app .workspace-toolbar{gap:18px;margin:0 0 23px;align-items:end}.study-app .workspace-toolbar label{font-size:14px}.study-app .workspace-toolbar input,.study-app .workspace-toolbar select{font-size:16px;min-height:44px;background:white}.study-app .finance-accounts{border:1px solid #bdcbdc;border-radius:8px;background:white;padding:18px 20px}.study-app .account-table caption{font-size:18px;padding:0 0 15px;margin:0;font-weight:700}.study-app .account-table th{background:#f0f3f8;color:#40556d;font-size:13px;padding:12px}.study-app .account-table td{padding:16px 12px;font-size:15px;border-color:#dce3ec}.study-app .account-table td strong{font-size:16px}.study-app .account-table td span:not(.workspace-badge){font-size:13px;color:#40556d;margin-top:6px;line-height:1.5}.study-app .account-table .account-selected{background:#f0f4ff}.study-app .account-amount{font-variant-numeric:tabular-nums}.study-app .account-table .text-button{font-size:13px}.study-app .workspace-badge{font-size:13px;padding:5px 9px;background:#edf1f8;color:#314c71;border-radius:4px}.study-app .workspace-badge.success{color:#206349;background:#e7f3ec}.study-app .finance-detail{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin-top:26px}.study-app .finance-statement{padding:25px!important;border:1px solid #aec5ba;border-top:4px solid #267962;border-radius:8px;background:white;color:#142c49}.study-app .finance-statement h3{font-size:25px}.study-app .finance-statement p{font-size:15px;color:#40556d}.study-app .finance-statement .finance-balance-label{margin-top:24px;color:#40556d;font-size:14px}.study-app .finance-statement .finance-balance{font-size:39px!important;color:#174e3b;font-weight:650;line-height:1.25;margin:7px 0 14px}.study-app .finance-statement .money-totals{border-color:#d0ded6;gap:20px;padding-block:17px;margin-block:15px}.study-app .money-totals span{font-size:13px;color:#40556d}.study-app .money-totals strong{font-size:20px}.study-app .finance-scope summary{font-size:16px;color:#174e3b;min-height:44px}.study-app .finance-payments{background:white;border:1px solid #bdcbdc;padding:24px;border-radius:8px}.study-app .finance-payments h3{font-size:21px}.study-app .payment-ledger th{font-size:13px;color:#40556d}.study-app .payment-ledger td{font-size:14px;padding:13px 8px}.study-app .workspace-row .row-copy strong{font-size:15px}.study-app .workspace-row .row-copy small{font-size:14px;color:#40556d}.study-app .finance-statement .button,.study-app .finance-payments .button{font-size:14px;padding:9px 12px}
/* Dispatch: a real inbox, the selected file and its working document. */
.study-app .workspace-layout{grid-template-columns:250px minmax(0,1fr);gap:0;border:1px solid #bdcbdc;border-radius:9px;padding:0;background:white;overflow:hidden}.study-app .workspace-list{padding:16px 12px;background:#edf1f7;border-right:1px solid #ccd6e3}.study-app .record-choice{padding:17px 14px;border:1px solid transparent;border-radius:6px;background:transparent;margin-bottom:9px;border-left:3px solid transparent}.study-app .record-choice strong{font-size:16px;line-height:1.4;color:#142c49}.study-app .record-choice span{font-size:13px;color:#40556d;line-height:1.6;margin-top:9px}.study-app .record-choice.selected{background:white;border-color:#becde0;border-left-color:#2455dc;box-shadow:0 2px 5px #102d5008}.study-app .record-choice:hover{border-color:#8aa2c6}.study-app .workspace-detail{padding:26px}.study-app .workspace-detail>.workspace-section:first-child{padding:0}.study-app .workspace-detail .workspace-section h3{font-size:26px;line-height:1.3}.study-app .workspace-detail p{font-size:15px;line-height:1.6;color:#40556d}.study-app .workspace-detail .record-notes{color:#142c49}.study-app .demo-tabs{display:flex;gap:25px;background:transparent;border-bottom:1px solid #ccd6e3;padding:0;margin:24px 0}.study-app .demo-tabs .demo-tab{background:transparent;border:0;border-radius:0;border-bottom:3px solid transparent;color:#40556d;font-size:15px;font-weight:650;padding:12px 3px;min-height:44px}.study-app .demo-tabs .demo-tab[aria-pressed=true]{color:#2147b3;border-bottom-color:#2455dc;background:transparent}.study-app .workspace-detail blockquote{background:#f1f4f9;border:1px solid #ccd6e3;border-left:3px solid #5276c8;border-radius:0 6px 6px 0;padding:22px;font-size:17px;color:#142c49;line-height:1.7}.study-app .workspace-detail .workspace-actions .button{font-size:14px;padding:9px 12px}.study-app .workspace-warning{font-size:15px;line-height:1.6}.study-app .workspace-editor:not(:empty){border:1px solid #98aed1;border-top:3px solid #2455dc;border-radius:8px;padding:24px;background:white;margin-block:20px}.study-app .workspace-editor .demo-field label{font-size:14px}.study-app .workspace-editor input,.study-app .workspace-editor select,.study-app .workspace-editor textarea{font-size:16px}.study-app .demo-empty{font-size:15px;line-height:1.7;color:#40556d}
/* Editors use the same measured visual language. */
.study-app dialog{border:1px solid #a8bad2;border-radius:10px;box-shadow:0 20px 80px #071a4155;padding:28px}.study-app dialog::backdrop{background:#0b234877;backdrop-filter:blur(3px)}.study-app .dialog-heading{border-bottom:1px solid #ccd6e3;padding-bottom:19px;margin-bottom:22px}.study-app .dialog-heading h2{font-size:28px}.study-app .dialog-kicker{color:#40556d;font-size:13px}.study-app dialog label{font-size:14px}.study-app dialog input,.study-app dialog select,.study-app dialog textarea{font-size:16px}.study-app .dialog-actions{border-top:1px solid #ccd6e3;padding-top:20px}.study-app .editor-section h3{font-size:18px}.study-app .check-row,.study-app .comment{font-size:15px}
@media(max-width:1300px){.study-app .studio-context{flex-wrap:wrap;gap:20px}.context-picker{flex-basis:100%}.study-app .study-summary{width:100%;justify-content:space-between}.study-app .study-summary>div{flex:1}.study-app .study-summary>div:first-child{border:0;padding:0}.study-app .study-summary span{max-width:none}.study-app .finance-detail{grid-template-columns:1fr}.study-app .toolbar{flex-wrap:wrap}.study-app .search-wrap{flex-basis:100%}.study-app .filter-label{flex:1}.study-app .studio-actions{gap:6px}.study-app .studio-heading h1{font-size:30px}}
@media(max-width:1100px){.study-app{padding-left:0;padding-bottom:88px}.study-app .studio-rail{position:fixed;inset:auto 0 0;width:auto;padding:7px 14px calc(7px + env(safe-area-inset-bottom));display:block;border:0;border-top:1px solid #b6c5d9;z-index:8;box-shadow:0 -3px 15px #142c490b}.rail-brand,.rail-caption,.rail-workspace,.rail-bottom{display:none}.study-app .study-nav{display:flex;flex-direction:row;justify-content:space-around;margin:0;gap:8px}.study-app .study-nav button{justify-content:center;padding:12px 20px}.study-app .study-nav button[aria-selected=true]:before{display:none}.study-app .topbar>.brand{display:block}.study-app .topbar .brand img{width:95px}.study-app .topbar .app-name{font-size:13px}.study-app .board-main{padding:24px}.study-app .studio-context{flex-wrap:nowrap}.context-picker{flex-basis:auto}.study-app .study-summary{width:auto}.study-app .study-summary span{max-width:12ch}.study-app .matter-sheet{padding:22px}.study-app .list-layout .task-card{grid-template-columns:minmax(145px,1fr) minmax(150px,1.1fr) 60px minmax(160px,1fr);gap:14px}}
@media(max-width:760px){.study-app .topbar{height:54px;padding-inline:16px;gap:16px}.study-app .topbar .app-name{font-size:13px;gap:8px}.study-app .topbar .app-name>span{display:none}.study-app .back-link{font-size:13px}.study-app .back-link .icon{display:none}.study-app .demo-banner{display:block;font-size:13px;padding:9px 16px;line-height:1.5}.demo-banner>span{display:none}.study-app .board-main{padding:22px 16px}.study-app .studio-heading{display:block;margin-bottom:20px}.study-app .studio-heading h1{font-size:29px}.study-app .studio-heading p{font-size:15px;line-height:1.5;margin-top:8px;max-width:none}.study-app .studio-actions{margin-top:15px;gap:14px;flex-wrap:wrap}.study-app .studio-actions .btn,.study-app .studio-actions .text-btn{font-size:14px;min-height:44px}.study-app .studio-context{display:block;padding:17px;margin-bottom:24px;border-radius:8px}.context-picker{display:flex;gap:10px}.context-picker>.field{font-size:13px;min-width:0}.context-picker>.btn{font-size:13px;padding:10px}.study-app .context-picker select{font-size:16px;padding-left:9px}.study-app .study-summary{width:100%;margin-top:21px;padding-top:16px;border-top:1px solid #58728d;gap:12px}.study-app .study-summary>div{padding:0;border:0;flex:1;gap:6px}.study-app .study-summary strong{font-size:18px;white-space:normal;overflow-wrap:anywhere}.study-app .study-summary span{font-size:12px;line-height:1.5;max-width:13ch}.study-app .board-heading{gap:14px;flex-wrap:nowrap}.study-app .board-heading h2{font-size:21px}.study-app .board-heading p{font-size:13px}.study-app .board-heading .btn{font-size:14px;padding:10px 12px;width:auto}.study-app .board-heading .btn .icon{width:17px}.board-view-controls{margin-bottom:15px}.board-view-controls>span{display:none}.study-app .toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}.study-app .search-wrap{grid-column:1/-1;width:100%;min-width:0}.study-app .search-wrap input{font-size:16px}.study-app .filter-label{display:block;white-space:normal;min-width:0;padding:7px 10px;font-size:13px}.study-app .filter-label>span{display:block}.study-app .filter-label select{display:block;width:100%;height:34px;min-height:34px;padding:0;font-size:15px}.study-app .board-columns{grid-template-columns:1fr;gap:22px}.study-app .column{padding-inline:12px}.study-app .column-heading{padding-block:15px}.study-app .column-heading h2{font-size:19px}.study-app .task-card{padding:18px}.study-app .card-title-row strong{font-size:18px}.study-app .card-description{font-size:15px}.study-app .card-context strong{font-size:15px}.study-app .card-context>span{font-size:13px}.study-app .card-meta{font-size:14px;gap:11px}.study-app .due,.study-app .priority,.study-app .check-progress{font-size:13px}.study-app .person{flex:none}.study-app .list-layout .task-card{display:grid;grid-template-columns:1fr auto;gap:12px;padding-block:17px}.study-app .list-layout .card-matter{grid-column:1/-1}.study-app .list-layout .card-title-row strong{font-size:17px}.study-app .list-layout .card-meta{grid-column:1/-1}.study-app .studio-rail{padding-inline:8px}.study-app .study-nav{gap:4px}.study-app .study-nav button{flex:1;flex-direction:column;font-size:12px;gap:5px;padding:7px 4px;min-height:58px}.study-app .study-nav .icon{width:22px;height:22px}.study-app .matter-toolbar{flex-wrap:wrap;gap:14px}.study-app .matter-toolbar>.field:first-child{flex-basis:100%}.study-app .matter-grid{grid-template-columns:1fr}.study-app .matter-sheet{padding:20px}.study-app .matter-sheet h2{font-size:25px}.study-app .sheet-heading{gap:12px;margin-bottom:18px}.study-app .sheet-stats{gap:15px;grid-template-columns:1fr 1.2fr}.study-app .sheet-stats strong{font-size:22px;overflow-wrap:anywhere}.study-app .sheet-stats span{font-size:13px}.study-app .matter-sheet .btn{font-size:14px;min-height:44px;flex:1}.study-app .sheet-task{font-size:15px}.study-app .finance-overview,.study-app .workspace-metrics{grid-template-columns:1fr;margin-bottom:22px}.study-app .finance-overview>div,.study-app .workspace-metrics>div{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:15px 17px;gap:15px}.study-app .finance-overview>div+div,.study-app .workspace-metrics>div+div{border-left:0;border-top:1px solid #dce3ec;padding-left:17px}.study-app .finance-overview strong,.study-app .workspace-metrics strong{font-size:23px!important;white-space:nowrap}.study-app .finance-overview span,.study-app .workspace-metrics span{font-size:14px;max-width:15ch}.study-app .workspace-toolbar{gap:14px;flex-wrap:wrap}.study-app .workspace-toolbar>.demo-field:nth-child(2){width:auto}.study-app .finance-accounts{padding:18px 14px}.study-app .account-table td{padding:0;font-size:15px}.study-app .account-table td strong{font-size:17px}.study-app .account-table td span:not(.workspace-badge){font-size:14px}.study-app .account-table .text-button{font-size:14px;min-height:44px}.study-app .finance-detail{gap:20px;margin-top:20px}.study-app .finance-statement,.study-app .finance-payments{padding:21px 17px!important}.study-app .finance-statement .finance-balance{font-size:34px!important}.study-app .workspace-layout{grid-template-columns:1fr}.study-app .workspace-list{display:flex;gap:10px;overflow:auto;border:0;border-bottom:1px solid #ccd6e3;padding:13px}.study-app .record-choice{flex:0 0 240px;margin:0;white-space:normal}.study-app .workspace-detail{padding:22px 17px;min-width:0}.study-app .workspace-detail .workspace-section h3{font-size:24px}.study-app .workspace-detail blockquote{font-size:16px;padding:18px}.study-app .demo-tabs{gap:18px}.study-app .demo-tabs .demo-tab{font-size:14px}.study-app .workspace-editor:not(:empty){padding:22px 17px}.study-app dialog{padding:24px 18px;max-height:85dvh}.study-app .dialog-heading h2{font-size:25px}.study-app .dialog-actions{gap:12px}.study-app .dialog-actions .btn{font-size:14px;padding:10px 12px}}
@media(max-width:360px){.study-app .topbar .app-name{display:none}.study-app .board-main{padding-inline:12px}.study-app .studio-context{padding:14px}.context-picker>.btn{font-size:12px;padding-inline:8px}.study-app .study-summary{gap:8px}.study-app .study-summary strong{font-size:17px}.study-app .board-heading h2{font-size:19px}.study-app .board-heading .btn{font-size:13px}.study-app .finance-overview strong{font-size:20px!important}.study-app .sheet-stats strong{font-size:20px}.study-app .demo-tabs{gap:12px}}
@media(prefers-reduced-motion:reduce){.study-app *{transition:none!important}}

/* Keep the working area above the fold; filters expand only when needed. */
.study-app .board-heading{display:flex}.study-app .board-heading>div:first-child{margin-right:auto}.task-filters{position:relative}.task-filters>summary{display:flex;align-items:center;gap:20px;min-height:44px;padding:9px 15px;border:1px solid #a5b4c7;border-radius:5px;background:white;color:#142c49;font-size:14px;cursor:pointer;list-style:none}.task-filters>summary::-webkit-details-marker{display:none}.task-filters>summary:after{content:'+';font-size:20px}.task-filters[open]>summary:after{content:'−'}.filter-options{position:absolute;right:0;top:52px;min-width:310px;z-index:4;display:grid;gap:12px;background:white;border:1px solid #a5b4c7;padding:17px;border-radius:7px;box-shadow:0 8px 20px #142c4926}.study-app .filter-options .filter-label{display:flex;justify-content:space-between}.study-app .filter-options select{min-width:0}.study-app .toolbar .search-wrap{flex-basis:auto}.study-app .card-matter,.study-app .priority,.study-app .due,.study-app .check-progress{font-size:13px}.study-app .studio-heading{margin-bottom:21px}.study-app .studio-context{padding-block:18px}.study-app .task-card .icon{flex-shrink:0}
@media(max-width:760px){.study-app .board-heading{display:grid;grid-template-columns:1fr auto;gap:14px}.study-app .board-heading .view-switch{grid-row:2;grid-column:1/-1;justify-self:start}.study-app .board-heading>.btn{grid-column:2;grid-row:1}.study-app .toolbar{display:flex;gap:9px;flex-wrap:nowrap}.study-app .toolbar .search-wrap{flex:1;min-width:0}.study-app .task-filters{flex:0 0 auto}.filter-options{min-width:260px;max-width:calc(100vw - 32px)}.study-app .filter-options .filter-label{display:block}.study-app .study-nav button{font-size:13px}.study-app .card-context>span{white-space:normal}.study-app .card-matter,.study-app .check-progress,.study-app .due{font-size:14px}.study-app .board-heading .view-switch button{min-height:40px}.study-app .studio-context{margin-bottom:20px}.study-app :focus-visible{scroll-margin-bottom:100px}}
.study-app[data-module=finance] .studio-context .study-summary,.study-app[data-module=dispatch] .studio-context .study-summary{display:none}.study-app[data-module=finance] .context-picker,.study-app[data-module=dispatch] .context-picker{max-width:700px}.study-app .account-table .text-button{color:#214fbd}.study-app .account-selected td:first-child{border-left-color:#2455dc}.study-app dialog{overscroll-behavior:contain}

.study-app .back-link:after{content:none}

@media(max-width:760px){.export-noun{display:none}.study-app .studio-actions{gap:10px}.study-app .studio-actions .btn{padding-inline:12px}.study-app .studio-actions .text-btn{padding-inline:6px}}
