/* WATHRO 1.6 — calm surfaces, clear hierarchy and an operational case workspace. */
.desktop-parity{--ink:#163b34;--muted-ink:#62756d;--line:#dce5de;--paper:#fff;--soft-green:#edf3ed;--soft-gold:#faf4e5}
.desktop-parity .main-inner{max-width:1640px;margin-inline:auto;padding:24px 30px 30px}
.desktop-parity .preview-banner{display:none}.desktop-parity .page-heading{margin-bottom:22px}.desktop-parity .page-heading h1{font-size:28px;letter-spacing:-.5px}.desktop-parity .page-heading p{color:var(--muted-ink)}
.desktop-parity .topbar{border-bottom:1px solid var(--line);box-shadow:none;background:#fffefb}.desktop-parity .office-clock strong{color:var(--g);font-variant-numeric:tabular-nums}.desktop-parity .office-clock #wHijri{color:#86651e;font-weight:700}
.desktop-parity .nav button{border-radius:10px;min-height:43px}.desktop-parity .nav button.active{box-shadow:inset -3px 0 var(--gold)}
.desktop-parity .btn{border-radius:10px;min-height:40px}.desktop-parity button:focus-visible,.desk-search button:focus-visible,.desk-search input:focus-visible{outline:3px solid #a68740;outline-offset:3px}
.desk-kicker{display:block;color:#8a6c2e;font-size:11px;font-weight:750;letter-spacing:.7px;margin-bottom:9px}
.desk-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;padding:30px 32px;background:linear-gradient(125deg,#f9f7ed 0%,#edf3ec 100%);border:1px solid #dce6d9;border-radius:20px;overflow:hidden;margin-bottom:20px}
.desk-hero:after{content:'';position:absolute;inset-inline-end:-90px;top:-180px;width:410px;height:410px;border:1px solid #b9c9b6;border-radius:50%;opacity:.4;pointer-events:none}
.desk-hero h2{font-size:30px;color:var(--ink);margin:0 0 10px;line-height:1.45}.desk-hero p{color:#53685b;line-height:1.8;max-width:570px;margin:0 0 20px}.desk-hero-actions{display:flex;gap:8px;flex-wrap:wrap}.desk-hero .btn:not(.primary){background:#ffffffbc}
.desk-hero-calendar{min-width:220px;display:flex;align-items:flex-start;flex-direction:column;gap:8px;padding-inline-start:28px;border-inline-start:1px solid #d1dccc;position:relative;z-index:1}.desk-hero-calendar>span{font-size:11px;color:#677d67}.desk-hero-calendar>b{font-size:36px;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:1px;color:var(--ink)}.desk-hero-calendar>strong{font-size:13px;color:#806321}.desk-hero-calendar>small{font-size:11px;color:#617160}
.desk-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 28px}.desk-metric{font:inherit;text-align:start;padding:19px 20px;border:1px solid var(--line);border-radius:14px;background:var(--paper);cursor:pointer;color:var(--ink);transition:border-color .18s,transform .18s}.desk-metric:hover{transform:translateY(-2px);border-color:#879e90}.desk-metric[aria-pressed=true]{outline:2px solid #819b85;outline-offset:-2px}.desk-metric>span{font-size:12px;font-weight:650;display:block}.desk-metric>b{font-size:34px;font-weight:750;display:block;line-height:1.5;font-variant-numeric:tabular-nums}.desk-metric>small{font-size:10px;color:var(--muted-ink);display:block}.desk-metric.overdue>b{color:#a64736}.desk-metric.review>b{color:#977022}
.desk-layout{display:grid;grid-template-columns:minmax(0,1fr) 254px;gap:22px;align-items:start}.desk-feed{min-width:0}.desk-section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.desk-section-title h2{font-size:21px;margin:0;color:var(--ink)}.desk-section-title .desk-kicker{margin-bottom:5px}.desk-section-title p{font-size:12px;color:var(--muted-ink);line-height:1.8}
.desk-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;background:#fff;padding:16px;border:1px solid var(--line);border-radius:14px}.desk-filters label,.desk-timeline-filters label{display:grid;gap:7px;font-size:11px;color:#637469}.desk-filters select,.desk-timeline-filters select{font:inherit;font-size:12px;width:100%;min-width:0;background:#f8faf7;border:1px solid #dce4dc;border-radius:8px;padding:9px;color:var(--ink);min-height:39px}
.desk-type-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-top:15px}.desk-type-tabs button{font:inherit;display:flex;align-items:center;gap:5px;border:1px solid transparent;color:#6a786e;background:transparent;padding:8px 10px;border-radius:8px;font-size:11px;cursor:pointer}.desk-type-tabs button[aria-pressed=true]{color:var(--ink);background:#e7eee5;border-color:#c8d6c7;font-weight:700}.desk-type-tabs button span{font-size:10px}.desk-result-note{font-size:10px;color:#708074;margin:12px 2px}.desk-work{display:grid;grid-template-columns:34px minmax(0,1fr) 150px;gap:12px;padding:19px 16px;margin-bottom:10px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 2px 5px #173c2603;position:relative}.desk-work.overdue{border-inline-start:3px solid #b65e49}.desk-work.review{border-inline-start:3px solid #b18d43}.desk-work.today{border-inline-start:3px solid #608873}
.desk-work-mark{width:34px;height:34px;display:grid;place-items:center;color:#537461;background:#eff4ed;border-radius:10px;font-size:18px}.desk-work-main{min-width:0}.desk-work-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:10px;color:#6b7a70}.desk-badge{display:inline-flex;align-items:center;border:1px solid #dce7dc;border-radius:5px;padding:3px 7px;background:#f6f8f4;color:#526c58;font-size:10px;font-weight:500;line-height:1.45}.desk-badge.overdue{color:#9a4334;background:#fcf0eb;border-color:#f0d7cc}.desk-badge.review{color:#8b6b24;background:#fbf5e7;border-color:#e9debd}.desk-badge.today{background:#ebf5ec;color:#3e734d}
.desk-work h3{font-size:15px;font-weight:700;color:var(--ink);margin:9px 0 5px;line-height:1.65;overflow-wrap:anywhere}.desk-case-line .text-btn{font-size:11px;font-weight:550;text-align:start;white-space:normal;padding:0}.desk-client{font-size:11px;margin:5px 0;color:#576a5f;line-height:1.8;overflow-wrap:anywhere}.desk-work-bottom{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-top:12px}.desk-owner{font-size:10px;color:#67776b}.desk-owner i{font-style:normal;color:#668c6b}.desk-work-due{display:flex;flex-direction:column;align-items:flex-start;border-inline-start:1px solid #edf0ea;padding-inline-start:15px;gap:6px}.desk-work-due .dual-date strong{font-size:12px;color:#355945}.desk-work-due .dual-date small{font-size:10px;color:#7c897e}.desk-time{font-variant-numeric:tabular-nums;font-size:13px;font-weight:550;color:#92712e}.desk-work-due .desk-open{font-size:10px;margin-top:auto;white-space:normal;width:100%;display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:36px;padding:7px 9px;background:#fbfcf9}.desk-review-note{font-size:10px;line-height:1.7;color:#8d6b28;margin:6px 0 0}
.desk-details{font-size:10px;color:#5d7462}.desk-details summary{cursor:pointer}.desk-details>div{padding-top:8px}.desk-details p{margin:5px 0;line-height:1.8}.desk-details small{display:block}.desk-details .dual-date{display:inline-flex}
.desk-shortcuts,.desk-integration,.desk-help{border:1px solid var(--line);border-radius:14px;padding:20px;background:#fff;margin-bottom:15px}.desk-shortcuts h3,.desk-integration h3,.desk-help h3{font-size:16px;color:var(--ink);margin:0 0 16px}.desk-shortcuts button{font:inherit;width:100%;display:flex;align-items:center;gap:10px;background:none;border:0;border-top:1px solid #edf0e9;padding:16px 0;cursor:pointer;text-align:start;font-size:11px;color:#5b7864}.desk-shortcuts button b{flex:1;font-size:12px;font-weight:650}.desk-shortcuts button small{display:block;font-size:10px;color:#7d887c;margin-top:5px;font-weight:400;line-height:1.7}.desk-shortcuts button>span{font-size:18px}.desk-shortcuts button:last-child{padding-bottom:0}.desk-integration{background:var(--g);color:#e3eadc;border-color:var(--g)}.desk-integration .desk-kicker{color:#d8be77}.desk-integration h3{color:#fff}.desk-integration p,.desk-help p{font-size:11px;line-height:1.95}.desk-integration .btn{font-size:10px;background:#ffffff12;color:#f2eedc;border-color:#ffffff35;width:100%;white-space:normal}.desk-help{background:transparent;border-style:dashed}.desk-help h3{font-size:12px}.desk-help p{color:#6c7c6f}.desk-more{display:block;margin:20px auto}.desk-more[hidden]{display:none}.desk-empty,.desk-loading{text-align:center;padding:40px 16px;background:#fff;border:1px dashed var(--line);border-radius:14px;color:#61745f}.desk-empty>span{display:block;font-size:30px;color:#7b956d}.desk-empty h3{font-size:15px;color:var(--ink)}.desk-empty p{font-size:12px;line-height:1.8}
.desktop-parity .case-head{background:linear-gradient(120deg,#133f36,#285849);border:0;border-radius:16px;padding:26px;color:#f3f5ee;margin-bottom:15px}.desktop-parity .case-head h2{font-size:26px;margin:12px 0;color:#fff;overflow-wrap:anywhere}.desktop-parity .case-head .case-kicker{color:#dfc47d;font-size:11px}.desktop-parity .case-head .case-meta{gap:8px}.desktop-parity .case-head .case-meta span{background:#ffffff0b;color:#e9ecdf;border:1px solid #ffffff20;border-radius:7px;font-size:11px}.desk-case-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.desk-case-heading .text-btn{color:#e5d9ab;font-size:11px}.case-head .record-actions{margin:18px 0 0;gap:8px}.case-head .record-actions .btn{background:#ffffff12;color:#fff;border-color:#ffffff33;font-size:11px}.case-head .record-actions .danger-outline{color:#f5cfc1}
.desktop-parity .tabs{gap:6px;border:0;border-radius:12px;background:#edf1e9;padding:7px;margin:20px 0 16px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}.desktop-parity .tabs button{border:0;border-radius:8px;background:none;color:#637261;font-size:12px;white-space:nowrap;padding:10px 14px}.desktop-parity .tabs button.active{background:#fff;color:var(--g);box-shadow:0 1px 4px #18361e15}
.desk-case-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px}.desk-case-focus,.desk-case-health,.desk-case-subject{padding:24px}.desk-case-focus h2,.desk-case-health h2,.desk-case-subject h2{font-size:19px;margin:0 0 15px}.desk-case-focus p{font-size:12px;line-height:1.8;color:#607064}.desk-case-focus .btn{font-size:11px;margin:8px 0 0 6px}.desk-next-date{display:flex;gap:22px;align-items:center;margin:17px 0}.desk-next-date>strong{font-size:26px;color:#a18036;font-variant-numeric:tabular-nums}.desk-case-health button{font:inherit;display:flex;align-items:center;gap:10px;width:100%;padding:13px 0;border:0;border-bottom:1px solid #edf0e8;background:none;text-align:start;font-size:12px;color:#47624e;cursor:pointer}.desk-case-health button>span{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;flex-shrink:0}.desk-case-health .ok{color:#50765a;background:#edf5eb}.desk-case-health .needs{color:#9e7a30;background:#faf4e5}.desk-case-health button>small{margin-inline-start:auto;color:#86917e;font-size:10px;white-space:nowrap}.desk-case-health p{font-size:10px;margin-bottom:0}.desk-case-subject{margin-top:16px}.desk-case-subject p{white-space:pre-wrap;line-height:2;color:#53684f;font-size:13px}
.desk-timeline{padding:24px}.desk-timeline-filters{display:flex;gap:14px;align-items:end;border-bottom:1px solid #e2e9dd;padding-bottom:18px;margin-bottom:12px;flex-wrap:wrap}.desk-timeline-filters label{min-width:150px}.desk-timeline-filters>span{font-size:11px;color:#7c8b74;margin-inline-start:auto;padding-bottom:10px}.desk-event{display:grid;grid-template-columns:155px minmax(0,1fr);gap:25px;padding:22px 0;position:relative}.desk-event-date .dual-date strong{font-size:12px}.desk-event-date .dual-date small{font-size:11px}.desk-event-date>span{font-size:11px;color:#76836b}.desk-event-body{position:relative;border-inline-start:1px solid #d7e1d0;padding-inline-start:24px;padding-bottom:12px;min-width:0}.desk-event-body:before{content:'';position:absolute;inset-inline-start:-5px;top:7px;width:9px;height:9px;border-radius:50%;background:#b29b55;box-shadow:0 0 0 5px #f3f3e9}.desk-event h3{font-size:15px;line-height:1.7;color:var(--ink);margin:10px 0 6px;overflow-wrap:anywhere}.desk-event p{font-size:12px;line-height:1.9;color:#6b7963;overflow-wrap:anywhere;white-space:pre-wrap}.desk-event small{display:block;font-size:11px;color:#738668}.desk-event .text-btn{font-size:11px;padding:10px 0 0}
.desk-search-trigger{font-size:11px!important;gap:9px;display:flex;align-items:center}.desk-search-trigger>span{font-size:20px}.desk-search-trigger kbd{font:inherit;font-size:9px;padding:3px 5px;background:#f1f3ed;border-radius:4px;color:#7c8674;direction:ltr}
.desk-search{position:fixed;inset:0;z-index:1000;background:#0a271d88;backdrop-filter:blur(4px);display:flex;align-items:flex-start;justify-content:center;padding:7vh 18px;overflow-y:auto;overscroll-behavior:contain}.desk-search-card{width:700px;max-width:100%;background:#fcfdf9;border:1px solid #d4ddce;border-radius:20px;padding:24px;box-shadow:0 22px 90px #0b241733;max-height:86vh;max-height:86dvh;display:flex;flex-direction:column;min-height:0}.desk-search-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.desk-search-heading h2{font-size:20px;color:#20412c;margin:0 0 18px}.desk-search-heading .btn{margin-bottom:14px}.desk-search-input{display:flex;align-items:center;gap:12px;border:1px solid #9db090;border-radius:11px;padding:3px 14px;background:#fff}.desk-search-input>span{font-size:27px;color:#7c926f}.desk-search-input input{font:inherit;font-size:14px;border:0;background:none;width:100%;min-width:0;padding:14px 0;color:#21482f}.desk-search-input input:focus{outline:none}#deskSearchStatus{font-size:11px;line-height:1.8;color:#76856b;margin:12px 0}#deskSearchResults{overflow-y:auto;min-height:0;overscroll-behavior:contain}#deskSearchResults h3{font-size:11px;letter-spacing:.3px;color:#8b763b;margin:18px 5px 10px}.desk-search-result{font:inherit;display:flex;align-items:center;gap:15px;width:100%;text-align:start;border:1px solid transparent;background:#fff;border-bottom:1px solid #e8ede1;padding:14px 12px;border-radius:10px;color:#3d603c;cursor:pointer}.desk-search-result:hover,.desk-search-result:focus-visible{background:#eff5e9;border-color:#cdddc2}.desk-search-result>div{flex:1;min-width:0}.desk-search-result b{font-size:14px;line-height:1.6;display:block;overflow-wrap:anywhere}.desk-search-result small{display:block;font-size:11px;color:#7c8971;margin-top:5px;line-height:1.7;overflow-wrap:anywhere}.desk-search-footer{border-top:1px solid #e0e7d7;padding-top:16px;margin-top:20px;font-size:10px;color:#7c8b71;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
@media(min-width:1700px){.desk-layout{grid-template-columns:minmax(0,1fr) 290px}.desk-work{grid-template-columns:40px minmax(0,1fr) 190px;padding:23px}.desk-work h3{font-size:17px}}
@media(max-width:1250px){.desk-layout{grid-template-columns:minmax(0,1fr)}.desk-sidecards{display:grid;grid-template-columns:1fr 1fr;gap:16px}.desk-help{grid-column:1/-1}.desk-shortcuts,.desk-integration{margin-bottom:0}.desk-hero{padding:25px;gap:18px}.desk-hero h2{font-size:25px}.desk-hero-calendar{min-width:190px;padding-inline-start:18px}.desk-hero-calendar>b{font-size:30px}.desk-hero-calendar>strong{font-size:11px}}
@media(max-width:760px){.desktop-parity .main-inner{padding:20px 16px}.desk-hero{grid-template-columns:1fr}.desk-hero-calendar{border-inline-start:0;border-top:1px solid #d1dccc;padding:16px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:6px 15px}.desk-hero-calendar>b{grid-column:1;grid-row:2/4}.desk-hero-calendar>strong,.desk-hero-calendar>small{grid-column:2}.desk-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.desk-metric{padding:16px}.desk-work{grid-template-columns:27px minmax(0,1fr) 130px;gap:10px}.desk-work-mark{width:27px;height:29px;font-size:15px}.desk-case-summary{grid-template-columns:1fr}.desk-event{grid-template-columns:130px minmax(0,1fr);gap:12px}.desk-search-trigger kbd{display:none}}
@media(max-width:480px){.desktop-parity .main-inner{padding:18px 12px}.desktop-parity .page-heading h1{font-size:25px}.desk-hero{padding:21px}.desk-hero h2{font-size:25px}.desk-hero p{font-size:12px}.desk-hero-actions .btn{font-size:11px}.desk-hero-calendar{display:flex}.desk-hero-calendar>b{font-size:31px}.desk-metric>b{font-size:30px}.desk-metric>span{font-size:11px}.desk-metric>small{font-size:9px}.desk-filters{grid-template-columns:1fr 1fr;padding:12px;gap:12px}.desk-filters label:last-child{grid-column:1/-1}.desk-work{grid-template-columns:28px minmax(0,1fr);padding:16px 13px}.desk-work-due{grid-column:2;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border-inline-start:0;border-top:1px solid #edf0ea;padding:12px 0 0;margin-top:5px}.desk-work-due .desk-open{grid-column:1/-1;margin-top:7px}.desk-work h3{font-size:14px}.desk-sidecards{grid-template-columns:1fr}.desk-timeline,.desk-case-focus,.desk-case-health,.desk-case-subject{padding:18px}.desk-event{grid-template-columns:1fr;gap:12px}.desk-event-date{padding-inline-start:24px}.desk-event-date .dual-date{display:flex;gap:8px;flex-wrap:wrap}.desk-event-body{margin-inline-start:4px;padding-inline-start:19px}.desk-case-health button{font-size:11px}.desk-case-health button small{font-size:9px}.desktop-parity .case-head{padding:22px}.desktop-parity .case-head h2{font-size:22px}.desk-search{padding:12px}.desk-search-card{padding:16px;max-height:calc(100dvh - 24px)}.desk-search-input input{font-size:12px}.desk-search-result{padding:12px 7px;gap:9px}.desk-search-result b{font-size:13px}.desk-search-footer{font-size:9px}.desk-timeline-filters label{min-width:0;flex:1}.desk-timeline-filters>span{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.desk-metric{transition:none}.desk-metric:hover{transform:none}}
@media print{.desk-sidecards,.desk-filters,.desk-type-tabs,.desk-hero-actions,.desk-open,.desk-search-trigger,.desk-more{display:none!important}.desk-layout{display:block}.desk-work,.desk-event{break-inside:avoid}.desk-metrics{grid-template-columns:repeat(4,1fr)}}

.hearing-edit-button{display:block!important;font-size:11px!important;background:#eaf0e6!important;color:#234e33!important;margin-top:9px}.desk-edit-hearing{font-size:11px!important;width:100%;padding:7px 9px!important}@media(max-width:480px){.desk-work-due .desk-edit-hearing{grid-column:1/-1}}

.desktop-parity .office-clock strong{color:#e4c86c}.desktop-parity .office-clock #wHijri{color:#efdaa3}
