html,body{min-height:100%;margin:0;background:var(--so-page);color:var(--so-text)}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}.proto-header{height:76px;display:flex;gap:24px;align-items:center;padding:0 32px;background:var(--so-page);color:var(--so-text);position:relative;z-index:20}.proto-brand{font-size:20px;font-weight:900;letter-spacing:-1px;color:white;text-decoration:none;line-height:1}.proto-brand span{color:var(--so-accent)}.proto-brand small{display:block;letter-spacing:2.2px;font-size:9px;margin-top:8px;color:var(--so-muted)}.proto-switch{display:flex;border:1px solid var(--so-line-strong);border-radius:8px;padding:3px;gap:3px;margin-left:auto}.proto-switch button{border:0;background:transparent;color:white;padding:8px 14px;border-radius:5px;cursor:pointer}.proto-switch button.active{background:var(--so-accent);color:var(--so-accent-ink)}.proto-header #save-state{font-size:12px;color:var(--so-muted)}.proto-header .btn{color:white;border-color:var(--so-line-strong)}.proto-notice{text-align:center;padding:9px 16px;background:var(--so-accent);color:var(--so-accent-ink);font-size:11px;letter-spacing:.3px}#view-certs{display:block;margin:0;padding:26px 32px;max-width:1600px;margin:auto}#proto-dialog{border:1px solid var(--so-line);border-radius:18px;max-width:620px;width:calc(100% - 32px);max-height:90dvh;padding:30px;background:var(--c-panel);color:var(--c-ink);overflow:auto}#proto-dialog::backdrop{background:#0d0f1399}.proto-close{position:sticky;top:0;float:right;z-index:10;border:0;border-radius:50%;width:36px;height:36px;background:var(--so-panel);font-size:24px;cursor:pointer}.proto-avatar{display:inline-grid;place-items:center;background:var(--so-accent);width:30px;height:30px;border-radius:50%;font-weight:800;color:var(--so-accent-ink)}.proto-home{max-width:1000px;margin:45px auto}.proto-eyebrow{font-size:11px;letter-spacing:2px;color:var(--so-muted);font-weight:700}.proto-home h1{font-size:38px;letter-spacing:-1.4px;margin:12px 0}.proto-home p{color:var(--so-muted);line-height:1.6}.proto-home-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.proto-entry{margin:28px 0;padding:26px;border-radius:14px;border:1px solid var(--so-line);background:var(--so-panel);display:flex;align-items:center;justify-content:space-between;gap:20px}.proto-entry h3{margin:6px 0}.proto-entry p{margin:5px 0;font-size:13px}.proto-list{background:var(--so-panel);border:1px solid var(--so-line);border-radius:12px;overflow:hidden}.proto-row{width:100%;text-align:left;border:0;border-bottom:1px solid var(--so-line);background:var(--so-panel);padding:22px;display:flex;align-items:center;gap:18px;cursor:pointer;color:var(--so-text)}.proto-row:hover{background:var(--so-accent)}.proto-row strong{display:block;font-size:16px}.proto-row small{display:block;margin-top:6px;color:var(--so-muted)}.proto-row .arrow{margin-left:auto;font-size:24px}.proto-tag{padding:7px 10px;background:var(--so-accent);border-radius:6px;font-size:11px;font-weight:700}.proto-phone #view-certs{max-width:460px;padding:16px 14px}.proto-phone .fc-shell{max-width:100%;margin:0}.proto-phone .fa-topbar2{position:static}.proto-phone .fc-footbar{bottom:0}.proto-phone .fc-pos{top:0}.proto-phone .fc-shell:after{display:none}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--so-page);color:white;z-index:10000;padding:14px 20px;border-radius:10px;max-width:90%;display:none}#toast.show{display:block}.proto-demo-note{padding:12px;background:var(--so-accent);border-radius:8px;font-size:12px;line-height:1.5;margin:12px 0}.proto-review{max-width:100%;overflow:auto}.proto-review .cert-page{margin:20px auto}.proto-preview-dialog{max-width:1100px!important}.proto-preview-dialog .proto-review{zoom:.8}.proto-chat{background:var(--so-panel);padding:16px;border-radius:12px;line-height:1.7;margin:12px 0}.fc-ask-top b{font-size:12px}.cert-nav{top:0}.btn,button,input,select,textarea{font-family:inherit}button{cursor:pointer}input,select,textarea{max-width:100%}:focus-visible{outline:3px solid var(--so-accent);outline-offset:3px}body.proto-phone .fc-f input,body.proto-phone .fc-f select{min-height:44px}body.proto-phone .fc-f input,body.proto-phone .fc-f select,body.proto-phone textarea{font-size:16px}.proto-home .btn{white-space:nowrap}.proto-empty{padding:24px;color:var(--so-muted)}@media(max-width:650px){.proto-header{height:66px;padding:0 14px;gap:12px}.proto-brand{font-size:16px}.proto-brand small{font-size:8px}.proto-switch{gap:0}.proto-switch button{padding:8px;font-size:12px}.proto-header #save-state{display:none}.proto-header>.btn{display:none}.proto-notice{font-size:9px;line-height:1.4}#view-certs{padding:14px}.proto-home{margin:22px auto}.proto-home h1{font-size:30px}.proto-home-head,.proto-entry{align-items:flex-start;flex-direction:column}.proto-entry{padding:20px}.proto-row{padding:18px 14px;gap:12px}.proto-tag{font-size:10px}.proto-home-head .btn{width:100%}.proto-preview-dialog .proto-review{zoom:.42}#proto-dialog{padding:20px;max-height:92dvh}.fc-footbar .btn{min-height:44px}}
@media print{body>*{display:none!important}#proto-dialog{display:block!important;position:static;max-width:none;width:100%;border:0;max-height:none;padding:0}#proto-dialog .proto-close,#proto-dialog .proto-print-controls{display:none}#proto-sheet{overflow:visible}.proto-review{overflow:visible;zoom:1!important}.proto-review::before{content:'DRAFT';display:block;font-size:20px;font-weight:bold}.cert-page{break-after:page}}
.proto-home .cert-type-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:28px}.proto-home .cert-type-picker .nj-type{min-height:135px;width:100%;white-space:normal;align-items:flex-start;text-align:left}.proto-home .cert-type-use{font-size:12px;line-height:1.5}.proto-home .cert-type-name{font-size:14px;line-height:1.4}#proto-sheet .cert-type-picker{display:grid;grid-template-columns:1fr;gap:8px}#proto-sheet .nj-type{white-space:normal;text-align:left;align-items:flex-start;min-height:84px}@media(max-width:650px){.proto-home .cert-type-picker{grid-template-columns:1fr}.proto-home .cert-type-picker .nj-type{min-height:90px}}
