:root{color-scheme:light;--ink:#172d42;--muted:#64788a;--line:#e1e8ee;--blue:#2060d4;--blue-hover:#174baa;--bg:#f7f9fc;--surface:#fff;--error:#b32331}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.6;min-height:100vh;display:flex;flex-direction:column}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #75a7ff;outline-offset:4px}[hidden]{display:none!important}.header{height:104px;padding:0 clamp(24px,6.5vw,112px);display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:12px;font-weight:650;font-size:19px;letter-spacing:.03em}.brand-icon{width:35px;height:39px;border-radius:9px;background:var(--ink);color:white;display:grid;place-items:center;font-size:27px;font-weight:400;line-height:1}.header-note{font-size:14px;color:var(--muted)}.landing{flex:1;width:min(100% - 64px,1056px);margin:48px auto 80px;display:grid;grid-template-columns:1fr 430px;gap:88px;align-items:center}.eyebrow{font-size:12px;font-weight:700;letter-spacing:.2em;color:var(--blue)}h1{font-size:clamp(38px,4vw,56px);line-height:1.32;letter-spacing:-.04em;margin:20px 0 24px;font-weight:650}.intro-copy{font-size:18px;line-height:1.85;color:var(--muted)}.access-note{margin-top:64px;padding-top:26px;border-top:1px solid var(--line);display:flex;gap:14px;align-items:flex-start;max-width:390px}.note-icon{background:#e9eff9;flex:none;border-radius:8px;width:36px;height:36px;display:grid;place-items:center;color:var(--blue);font-size:22px}.access-note strong{font-size:14px;font-weight:600}.access-note p{font-size:14px;color:var(--muted);margin:4px 0 0}.login-card{border:1px solid var(--line);border-radius:20px;background:var(--surface);padding:36px 36px 0;box-shadow:0 18px 60px -30px #1b3f6533;overflow:hidden}.card-label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);letter-spacing:.1em}.tiny-dot{width:6px;height:6px;border-radius:50%;background:var(--blue)}h2{font-weight:650;letter-spacing:-.025em;margin:15px 0 6px;font-size:28px}.muted{color:var(--muted);font-size:14px;margin:0}form{margin-top:28px}label{display:block;font-size:14px;font-weight:550;margin:18px 0 8px}input{width:100%;height:48px;border:1px solid #cfd9e2;border-radius:8px;background:#fff;padding:0 13px;color:var(--ink);font-size:16px;transition:border-color .15s}input::placeholder{color:#82919f;font-size:14px}input:focus{border-color:var(--blue);outline:2px solid #d9e6ff;outline-offset:1px}.password-field{position:relative}.password-field input{padding-right:64px}.reveal{position:absolute;right:8px;top:8px;height:32px;padding:0 8px;border:0;background:none;color:var(--muted);font-size:13px;border-radius:4px}.primary{display:flex;align-items:center;justify-content:space-between;background:var(--blue);color:white;border:0;border-radius:8px;min-height:49px;padding:12px 18px;width:100%;font-size:15px;font-weight:550;transition:background .15s}.primary:hover{background:var(--blue-hover)}.primary span:last-child{font-size:20px}.error{color:var(--error);font-size:14px;margin:12px 0;min-height:0}.error:empty{margin:0;height:23px}.field-note{font-size:13px;color:var(--muted);margin:14px 0 0}.card-bottom{margin:30px -36px 0;background:#fbfcfe;border-top:1px solid var(--line);padding:17px 20px;text-align:center;font-size:13px;color:var(--muted)}.card-bottom span{margin-right:5px}.footer{padding:22px clamp(24px,6.5vw,112px);border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:12px}.account{display:flex;align-items:center;gap:20px;font-size:14px}.text-button{background:none;border:0;color:var(--muted);font-size:14px;padding:8px}.text-button:hover{color:var(--blue)}.workspace{flex:1;width:min(100% - 64px,1100px);margin:56px auto 100px}.workspace-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:36px}.workspace h1{font-size:36px;margin:12px 0}.count{font-size:14px;border:1px solid var(--line);border-radius:30px;padding:5px 15px;background:#fff}.records{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface)}.records-header{display:flex;justify-content:space-between;padding:15px 28px;background:#f0f4f9;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}.record{padding:30px 28px;display:flex;align-items:center;gap:18px}.record+.record{border-top:1px solid var(--line)}.document-icon{width:48px;height:54px;border:1px solid #cbd9ec;border-radius:9px;display:grid;place-items:center;color:var(--blue);background:#f1f6ff;font-size:30px;flex:none}.record-info{flex:1;min-width:0}.record h2{margin:0 0 6px;font-size:17px;letter-spacing:0;overflow-wrap:anywhere}.record p{margin:0;color:var(--muted);font-size:14px;overflow-wrap:anywhere}.record-link{display:inline-flex;align-items:center;gap:15px;border:1px solid var(--line);border-radius:7px;padding:9px 16px;font-size:14px;color:var(--blue);white-space:nowrap}.record-link:hover{border-color:var(--blue);background:#f5f8ff}.workspace-note{font-size:13px;color:var(--muted);margin-top:20px}.empty{padding:28px;color:var(--muted)}@media(min-width:1500px){.landing{margin-top:90px;margin-bottom:130px}}@media(max-width:850px){.header{height:80px}.landing{gap:36px;grid-template-columns:1fr 380px}.login-card{padding:28px 28px 0}.card-bottom{margin-left:-28px;margin-right:-28px}.access-note{margin-top:36px}.intro h1{font-size:40px}}@media(max-width:680px){.header{padding:0 24px}.header-note{font-size:12px}.brand{font-size:16px;gap:8px}.brand-icon{width:29px;height:33px;font-size:23px}.landing{display:flex;flex-direction:column;align-items:stretch;width:calc(100% - 40px);margin:26px auto 44px;gap:30px}.intro h1{font-size:32px;margin:10px 0 12px}.intro h1 br{display:none}.intro-copy{font-size:15px;margin:0}.intro-copy br{display:none}.access-note{display:none}.login-card{padding:28px 24px 0;border-radius:16px}.card-bottom{margin-left:-24px;margin-right:-24px}.footer{padding:20px;flex-wrap:wrap;font-size:12px}.workspace{width:calc(100% - 40px);margin:28px auto 60px}.workspace h1{font-size:30px}.workspace-heading{margin-bottom:24px}.record{padding:22px 20px;flex-wrap:wrap;gap:12px}.record-link{margin-left:60px}.records-header{padding:14px 20px}.account{gap:4px}.account #account-name{max-width:85px;overflow:hidden;text-overflow:ellipsis}.workspace-note{line-height:1.8}}

.login-card-simple{padding-bottom:36px}.login-card-simple h2{margin-top:0}

/* The editor shares the portal's blue, typography, and form controls. */
.workspace-actions,.record-actions,.editor-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.primary.compact{width:auto;justify-content:center;gap:8px;white-space:nowrap}.editor{max-width:1100px;margin-top:24px}.editor .workspace-heading{margin-bottom:28px}.editor form{margin:0}.editor fieldset{margin:0;padding:0;border:0;min-width:0}.editor-section{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:28px;margin-bottom:24px}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:24px}.section-heading h2{font-size:21px;letter-spacing:0;margin:0 0 6px}.section-number{font-size:28px;line-height:1.2;color:#a0b5ca;font-weight:500}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}.editor-field{min-width:0}.editor-field label{margin:0 0 7px;font-weight:500}.editor-field input{height:44px}.editor input:required:invalid:not(:focus){box-shadow:none}.coil-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.coil-card{padding:22px 24px;border:1px solid var(--line);border-radius:10px;margin-bottom:20px}.coil-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--line)}.coil-heading h3{font-size:17px;font-weight:600;margin:0;overflow-wrap:anywhere;min-width:0}.coil-actions{display:flex;flex:none;gap:6px}.coil-actions button{font-size:14px}.danger{color:var(--error)}.field-group-title{font-size:14px;font-weight:600;margin:24px 0 14px;color:var(--muted)}.secondary{display:inline-flex;align-items:center;justify-content:center;background:var(--surface);border:1px solid #cfd9e2;color:var(--ink);border-radius:8px;min-height:44px;padding:9px 16px;font-size:14px;font-weight:500;white-space:nowrap}.secondary:hover{border-color:var(--blue);color:var(--blue);background:#f5f8ff}.inline-count{display:inline-block;font-size:14px;font-weight:400;color:var(--muted);margin-left:6px}.save-bar{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 24px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 -6px 24px #172d4208;z-index:10}.save-bar p{margin:0}.save-bar #save-status{font-size:14px;color:var(--ink);font-weight:550}.save-bar #save-status.unsaved{color:#925509}.save-bar .field-note{font-size:13px;font-weight:400;margin-top:3px}.save-bar .primary{min-height:44px}.editor .error:not(:empty){background:#fff2f3;border:1px solid #ebc7cb;padding:12px 16px;border-radius:8px;margin-bottom:20px}.editor .error:empty{height:0}.login-again{text-decoration:underline}.editor button:disabled{cursor:default}.record-actions .record-link{margin-left:0}.text-button:disabled{color:var(--muted);opacity:.45}
@media(max-width:850px){.coil-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.save-bar{flex-wrap:wrap}.save-bar .editor-actions{margin-left:auto}}
@media(max-width:680px){.workspace-heading{align-items:flex-start;flex-direction:column}.workspace-actions{width:100%;justify-content:space-between}.record-actions{margin-left:60px;gap:8px}.record-actions .record-link{padding:8px 12px}.editor{width:calc(100% - 28px)}.editor-section{padding:20px 16px}.field-grid,.coil-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.coil-card{padding:16px 12px}.coil-heading{align-items:flex-start;flex-wrap:wrap;gap:8px}.coil-actions{margin-left:auto}.section-heading{gap:12px}.section-number{font-size:24px}.save-bar{padding:14px;border-radius:12px 12px 0 0;gap:12px}.save-bar .editor-actions{width:100%;margin:0;gap:8px}.save-bar .primary{flex:1}.save-bar .secondary{padding:8px 10px;font-size:14px}.save-bar .field-note{max-width:100%}.editor .workspace-heading .muted{font-size:14px}}
@media(max-width:390px){.field-grid,.coil-grid{grid-template-columns:1fr}.save-bar .editor-actions{flex-wrap:wrap}.save-bar .primary{width:100%;flex-basis:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
