:root{color-scheme:light;--ink:#18343b;--muted:#6d7f82;--line:#dfe8e5;--teal:#176e68;--teal-dark:#12534f;--canvas:#f3f6f3;--gold:#d3ad64;--red:#a34e43;--shadow:0 12px 35px rgba(23,57,58,.06)}
*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:15px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,7vw,100px)}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);text-decoration:none}.brand-icon{width:39px;height:39px;display:grid;place-items:center;background:var(--teal-dark);border-radius:12px;color:white;font-weight:800;font-size:20px}.brand strong,.brand small{display:block}.brand strong{font-size:15px;letter-spacing:-.02em}.brand small{color:#82908e;font-size:10px;letter-spacing:.1em;text-transform:uppercase}.topbar nav{display:flex;align-items:center;gap:26px;font-size:12px;font-weight:650}.topbar nav form{margin:0}.link-button,.text-button{border:0;background:none;color:var(--teal);padding:0;cursor:pointer;font-weight:650}.page{width:min(1060px,calc(100% - 36px));margin:48px auto 72px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading h1,h1{font-size:clamp(28px,4vw,39px);letter-spacing:-.045em;line-height:1.14;margin:0 0 9px}.eyebrow{font-size:9px;font-weight:800;letter-spacing:.16em;color:var(--teal);margin-bottom:9px}.muted{color:var(--muted);font-size:13px;margin:0}.welcome-card,.form-card,.panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.welcome-card{margin:8vh auto;max-width:740px;padding:clamp(28px,6vw,70px);background:radial-gradient(ellipse at 82% 18%,#edf5ef,transparent 40%),#fff}.welcome-card h1{font-size:clamp(34px,6vw,56px);margin-bottom:17px}.welcome-card h1 span{color:var(--teal)}.welcome-card p{max-width:520px;color:var(--muted);line-height:1.75;margin-bottom:26px}.actions{display:flex;gap:11px;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;min-height:42px;padding:10px 16px;border:1px solid var(--teal-dark);border-radius:8px;background:var(--teal-dark);color:#fff;font-size:12px;font-weight:750;cursor:pointer;text-decoration:none}.button:hover{background:#0b4542;color:#fff;text-decoration:none}.button--quiet{background:white;color:var(--teal-dark);border-color:#cbdcd6}.button--small{min-height:34px;padding:6px 10px;font-size:11px}.form-card{padding:30px}.form-card h1{font-size:29px}.form-card.narrow{width:min(460px,100%);margin:4vh auto}.form-card.center{text-align:center}.stack{display:grid;gap:16px;margin:25px 0 18px}.stack label,.field,.inline-form label{display:grid;gap:6px;color:#425b5e;font-size:11px;font-weight:700}.stack input,.field input,.field select,.inline-form input,.inline-form select,.small-field input{width:100%;min-height:40px;padding:9px 11px;border:1px solid #d8e2df;border-radius:7px;background:#fff;color:var(--ink);font-size:13px}.stack input:focus,.field input:focus,.field select:focus,.inline-form input:focus,.inline-form select:focus{outline:2px solid #a8d1c8;border-color:var(--teal)}.stack small,.hint,.field small{color:#82908e;font-size:10px;font-weight:450}.switch-auth{font-size:12px;color:var(--muted)}.messages{display:grid;gap:8px;margin-bottom:18px}.notice{padding:11px 14px;border:1px solid;border-radius:8px;font-size:12px}.notice--success{border-color:#c8dfd1;background:#f0f8f2;color:#3c704d}.notice--error{border-color:#ecd1ca;background:#fcf3f0;color:#8d483c}.panel{padding:22px 24px;margin-bottom:18px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.panel-heading h2{margin:0;font-size:20px;letter-spacing:-.03em}.inline-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.inline-form .grow{flex:1;min-width:180px}.inline-form label:not(.grow){min-width:120px}.subsystem-create{padding:15px 0;border-top:1px solid #edf0ed;border-bottom:1px solid #edf0ed;margin:14px 0}.admin-list{display:grid;gap:9px;margin-top:13px}.admin-dedication{padding:15px;border:1px solid var(--line);border-radius:9px}.dedication-title,.dedication-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.dedication-title h3,.dedication-card h3{margin:0;font-size:15px}.dedication-title form,.subsystem-row form,.user-row form{margin:0}.text-danger{border:0;padding:4px;background:none;color:var(--red);font-size:10px;font-weight:700;cursor:pointer}.subsystem-row,.user-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #edf0ed}.subsystem-row>div:first-child,.user-row>span{min-width:145px}.subsystem-row strong,.subsystem-row small,.user-row strong,.user-row small{display:block}.subsystem-row strong,.user-row strong{font-size:12px}.subsystem-row small,.user-row small{margin-top:3px;color:var(--muted);font-size:10px}.compact{margin-left:auto}.compact label{min-width:95px!important}.compact input{min-height:34px}.empty-state{margin:12px 0 0;padding:15px;border-radius:8px;background:#f7f9f6;color:var(--muted);font-size:12px}.dedication-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:15px}.dedication-card{padding:16px;border:1px solid var(--line);border-radius:10px;background:linear-gradient(145deg,#fff,#fbfdfb)}.dedication-card-head small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.system-list{list-style:none;padding:0;margin:14px 0 0}.system-list li{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid #edf0ed;font-size:11px}.system-list small{color:var(--muted);text-align:right}.text-link{font-size:11px;font-weight:700}.preference-list{display:grid}.preference-row{display:flex;align-items:center;gap:20px;padding:13px 0;border-top:1px solid #edf0ed}.preference-copy{display:grid;gap:2px;flex:1}.preference-copy strong{font-size:12px}.preference-copy span{font-size:10px;color:var(--muted)}.toggle{display:flex;align-items:center;gap:8px;font-size:10px;color:#50686a;white-space:nowrap;cursor:pointer}.toggle input{position:absolute;opacity:0}.toggle span{position:relative;width:34px;height:19px;border-radius:12px;background:#cfd9d5;transition:background .15s}.toggle span:after{content:"";position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:50%;background:white;transition:transform .15s}.toggle input:checked+span{background:var(--teal)}.toggle input:checked+span:after{transform:translateX(15px)}.toggle input:focus-visible+span{outline:2px solid var(--gold)}.small-field{display:grid;gap:5px;color:#50686a;font-size:10px;font-weight:700}.small-field input{width:75px;min-height:34px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.field small{line-height:1.5}.check-card{display:flex;gap:11px;align-items:start;padding:14px;margin-bottom:18px;background:#f5f8f5;border:1px solid #e8eeea;border-radius:8px;cursor:pointer}.check-card input{margin-top:4px;accent-color:var(--teal)}.check-card span{display:grid;gap:4px}.check-card strong{font-size:11px}.check-card small{font-size:10px;color:var(--muted);line-height:1.5}.success-mark{width:50px;height:50px;margin:20px auto;border-radius:50%;display:grid;place-items:center;background:#e7f3eb;color:#3b8b58;font-size:25px;font-weight:800}footer{padding:20px;text-align:center;color:#899591;font-size:10px;border-top:1px solid var(--line)}
@media(max-width:700px){.topbar{height:66px;padding:0 18px}.topbar nav{gap:13px;font-size:11px}.page{margin:28px auto 46px}.page-heading{align-items:flex-start}.panel{padding:18px}.dedication-grid,.settings-grid{grid-template-columns:1fr}.subsystem-row{align-items:flex-start;flex-wrap:wrap}.compact{order:2;flex:1 1 100%;margin:0}.subsystem-row>form:last-child{margin-left:auto}.preference-row{gap:10px;flex-wrap:wrap}.preference-copy{flex-basis:100%}.small-field{margin-left:auto}.inline-form>label{flex:1 1 45%;min-width:0!important}.inline-form>.button{flex:1 0 auto}.welcome-card{margin:4vh auto}.page-heading h1{font-size:29px}}
.row-actions{display:flex;align-items:center;gap:10px}.dedication-title>.inline-form{margin-right:auto}.dedication-title>.inline-form label{min-width:190px}
.available-section{margin-top:25px;padding-top:22px;border-top:1px solid #e8eeea}.subsection-heading{margin-bottom:13px}.subsection-heading h3{margin:0 0 3px;font-size:14px}.available-card{min-height:0}.rule-details{display:grid;gap:3px;text-align:right}.system-list li{align-items:center}.select-dedication-form{margin:14px 0 0}.select-dedication-form .button{width:100%}
.test-email-panel{margin-top:14px;padding-top:13px;border-top:1px solid #edf0ed}.test-email-panel summary{display:inline-flex;cursor:pointer;list-style:none}.test-email-panel summary::-webkit-details-marker{display:none}.test-email-form{padding-top:13px}.test-email-form label{min-width:220px!important;flex:1}.test-email-form small{width:100%;color:var(--muted);font-size:10px}
