/*
  Copyright (c) 2026 Ken Turner Law. All rights reserved.
  This software is proprietary and confidential.
  Unauthorized copying, modification, distribution, or use of this software is strictly prohibited.
  See LICENSE file for terms and conditions.
*/

:root{font:15px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172b3a;background:#f5f8fa}*{box-sizing:border-box}body{margin:0}main{max-width:560px;margin:auto;padding:16px}header{display:flex;gap:12px;align-items:center;margin-bottom:16px}.mark{width:44px;height:44px;border-radius:12px;background:#173a57;color:white;display:grid;place-items:center;font-size:24px;font-weight:800}h1{font-size:21px;margin:0}header p{margin:3px 0;color:#526470;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:420px}label{display:block;font-weight:650;margin:11px 0}select,input,textarea,button{width:100%;font:inherit;border-radius:9px;border:1px solid #b9c6ce;padding:10px;background:white}textarea{resize:vertical}.grid{display:grid;grid-template-columns:2fr 1fr;gap:10px}.check{display:flex;align-items:center;gap:9px;font-weight:500}.check input{width:auto}.actions{display:grid;gap:8px;margin:16px 0}.primary{background:#147d73;border-color:#147d73;color:white;font-weight:750}button{cursor:pointer;font-weight:650}#notice:not(:empty){padding:11px;border-radius:9px;background:#e8f4f1;color:#0b625a;margin:10px 0}#email-status:not(:empty){padding:12px;border-radius:9px;margin:10px 0;font-weight:800;text-align:center;border:2px solid currentColor}#email-status.billed{background:#dff5e8;color:#12633a}#email-status.unbilled{background:#fff2d7;color:#7a4b00}#email-status.nonbillable{background:#edf1f4;color:#40515e}details{margin-top:18px;color:#526470}summary{cursor:pointer}details hr{border:0;border-top:1px solid #cdd6dc;margin:16px 0}#graph-status{font-size:13px;font-weight:650}#graph-status.connected{color:#12633a}
.sign-in-panel{width:min(420px,calc(100% - 32px));margin:36px auto;padding:24px;border:1px solid #cdd6dc;border-radius:16px;background:#fff;box-shadow:0 14px 36px rgba(23,43,58,.12)}.sign-in-panel .mark{margin:0 auto 14px}.sign-in-panel h1,.sign-in-panel>p{text-align:center}.sign-in-panel>p{color:#526470}.sign-in-panel button{margin-top:8px}#sign-in-status:not(:empty){padding:10px;border-radius:8px;background:#fcebe8;color:#8a2f24;text-align:left}#account-status{font-weight:650}
.confirmation-overlay[hidden]{display:none}.confirmation-overlay{position:fixed;inset:0;z-index:9999;background:rgba(12,29,41,.62);display:grid;place-items:center;padding:20px}.confirmation-card{width:min(420px,100%);background:white;border-radius:18px;padding:24px;box-shadow:0 18px 54px rgba(0,0,0,.35);text-align:center;border:3px solid #147d73}.confirmation-check{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:#147d73;color:white;font-size:34px;font-weight:900}.confirmation-card h2{margin:0 0 10px;font-size:23px}.confirmation-card p{margin:0 0 20px;line-height:1.45;white-space:pre-wrap}.confirmation-card button{font-size:17px;padding:12px}
.email-settings{border-top:1px solid #cdd6dc;padding-top:14px}.email-settings label{color:#172b3a}.settings-help{margin:10px 0;color:#526470;font-size:13px;line-height:1.4}.setting-status{min-height:18px;margin:8px 0 0;color:#12633a;font-size:13px;font-weight:650}

.efiling-documents{margin:12px 0;padding:12px;border:1px solid #b9c6ce;border-radius:10px;background:#fff}.efiling-documents h2{margin:0 0 6px;font-size:16px;color:#173a57}.efiling-documents p{margin:0 0 8px;color:#526470;font-size:13px;line-height:1.4}.efiling-document-list{display:grid;gap:8px;margin:8px 0 10px}.efiling-document-option{display:flex;align-items:flex-start;gap:8px;margin:0;padding:8px;border-radius:8px;background:#f5f8fa;font-weight:550;line-height:1.35}.efiling-document-option input{width:auto;margin-top:2px;flex:0 0 auto}.efiling-document-option span{min-width:0;overflow-wrap:anywhere}
.efiling-document-option{display:grid;grid-template-columns:auto 1fr}.efiling-document-option .efiling-document-destination{grid-column:2;width:100%;padding:7px;background:#fff}.efiling-document-option small{grid-column:2;color:#526470;font-weight:600}
.ledger-header>div{min-width:0}.ledger-header>button{min-width:42px;flex:0 0 42px}.ledger-storage,.ledger-entry{overflow-wrap:anywhere}@media(max-width:420px){.ledger-header h2{font-size:19px}.ledger-header p{white-space:normal}}
.recovery-link{display:block;margin:14px 0 4px;text-align:center;color:#0b625a;font-weight:700}.ledger-launch{margin:-4px 0 12px}.ledger-launch button{border-color:#147d73;color:#0b625a;background:#e8f4f1}.ledger-overlay[hidden]{display:none}.ledger-overlay{position:fixed;inset:0;z-index:9000;background:rgba(12,29,41,.7);padding:10px;display:grid;place-items:center}.ledger-card{width:min(760px,100%);height:min(900px,100%);overflow:auto;background:#f5f8fa;border-radius:16px;padding:14px;box-shadow:0 18px 54px rgba(0,0,0,.38)}.ledger-header{position:sticky;top:-14px;z-index:2;margin:-14px -14px 10px;padding:14px;background:white;border-bottom:1px solid #cdd6dc;justify-content:space-between}.ledger-header h2{margin:0}.ledger-header p{margin:3px 0 0;color:#526470;font-size:13px}.ledger-header>button{width:42px;align-self:flex-start}.ledger-filters{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.ledger-search{grid-column:1/-1}.ledger-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.ledger-storage{padding:11px;border:1px solid #b9c6ce;background:white;border-radius:10px;margin:10px 0;font-size:13px;line-height:1.45}.ledger-storage strong{display:block;color:#173a57}.ledger-list{display:grid;gap:8px}.ledger-entry{border:1px solid #cdd6dc;border-radius:11px;background:white;padding:11px}.ledger-entry-head{display:flex;justify-content:space-between;gap:10px}.ledger-entry h3{font-size:15px;margin:0}.ledger-entry time,.ledger-entry-meta,.ledger-entry-subject{display:block;color:#526470;font-size:12px;margin-top:4px}.ledger-entry-value{font-weight:800;white-space:nowrap}.ledger-entry details{margin-top:9px}.ledger-entry summary{color:#0b625a;font-weight:700}.audit-list{display:grid;gap:6px;margin-top:7px}.audit-event{border-left:3px solid #147d73;padding:5px 8px;background:#f5f8fa;font-size:12px}.audit-event strong,.audit-event span{display:block}.ledger-empty{padding:24px;text-align:center;color:#526470;background:white;border-radius:11px}.ledger-error{color:#8a2f24;background:#fcebe8;padding:9px;border-radius:8px}@media(max-width:420px){.ledger-filters{grid-template-columns:1fr}.ledger-search{grid-column:auto}.ledger-actions{grid-template-columns:1fr}.ledger-card{padding:10px;border-radius:12px}.ledger-header{top:-10px;margin:-10px -10px 8px;padding:10px}}
