:root{--ink:#233c38;--muted:#71817c;--green:#285c4e;--green-light:#e8f0e9;--line:#e4e9e3;--bg:#f6f7f2;--amber:#946c31;--red:#a24036}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;font-size:14px;line-height:1.75}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#fff;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:13px;letter-spacing:1.3px;font-weight:700}.brand small{display:block;font-size:9px;letter-spacing:0;font-weight:400;color:var(--muted);margin-top:3px}.brand-mark{display:inline-flex;width:43px;height:43px;align-items:center;justify-content:center;border-radius:13px;background:var(--green);color:#fff;font-family:Georgia,serif;font-size:30px;font-weight:400}.nav-caption{font-size:10px;color:#9aa59f;letter-spacing:2px;margin:42px 16px 14px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{padding:12px 17px;border-radius:8px;color:#70817b;font-weight:500}.sidebar nav a span{display:inline-block;width:27px;font-size:19px;vertical-align:middle}.sidebar nav a.active{background:var(--green-light);color:var(--green);font-weight:700}.sidebar-bottom{margin-top:auto;display:flex;gap:12px;align-items:center;border-top:1px solid var(--line);padding-top:24px}.sidebar-bottom small{display:block;color:var(--muted);font-size:10px}.avatar{background:#ececdd;border-radius:50%;width:36px;height:36px;display:grid;place-items:center}.workspace{margin-left:240px}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 40px;background:#fff;font-size:12px}.top-actions{display:flex;align-items:center;gap:20px}.top-actions .button{padding:5px 10px;font-size:11px}.local-dot{color:var(--muted)}.local-dot:before{content:'●';font-size:9px;color:#72967e;margin-right:6px}.dev-banner{display:flex;gap:18px;align-items:center;background:#f1ead6;padding:10px 40px;color:#76622f;font-size:11px}.dev-banner strong{white-space:nowrap}.workspace main{padding:34px 40px 16px;max-width:1500px;margin:auto}.page-heading{margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2.2px;font-weight:700;color:#819489;margin:0 0 8px}h1{font-size:28px;letter-spacing:1px;margin:0 0 8px;line-height:1.5;font-weight:650}h2{font-size:17px;margin:0 0 18px}h3{font-size:17px}p{margin:8px 0 16px}.muted{color:var(--muted);font-size:12px}.hero{background:#305c4f;color:#fff;min-height:292px;border-radius:15px;padding:32px 42px;position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center}.hero:after{content:'';width:310px;height:310px;border:1px solid #ffffff13;border-radius:50%;position:absolute;right:-60px;top:-100px;pointer-events:none}.hero h2{font-family:Georgia,"Yu Mincho",serif;font-size:29px;font-weight:500;line-height:1.55;letter-spacing:2px;margin:13px 0}.hero p{font-size:12px;color:#d1e0d8;line-height:1.9}.pill{font-size:10px;color:#d6e5d8;border:1px solid #ffffff38;border-radius:20px;padding:5px 10px}.envelope{width:270px;height:190px;position:relative;margin:10px 35px 0 15px;transform:rotate(-7deg);flex-shrink:0}.letter{background:#faf8ec;position:absolute;inset:-5px 14px 10px;color:#698575;padding:23px;font-size:10px;border-radius:6px}.letter i{display:block;width:85%;border-top:2px solid #dce1d4;margin:14px 0}.letter i+i{width:65%}.letter b{font-size:9px;font-weight:400}.envelope-front{position:absolute;inset:64px 0 0;background:#e6e5d5;border-radius:0 0 8px 8px;clip-path:polygon(0 0,50% 46%,100% 0,100% 100%,0 100%);box-shadow:0 12px 30px #14342e55}.seal{position:absolute;bottom:23px;left:118px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#bda575;color:#fff;font:22px Georgia}.button{border:1px solid transparent;border-radius:7px;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center;gap:18px;font-size:12px;font-weight:600;line-height:1.7;transition:background .15s;white-space:nowrap}.button:hover{text-decoration:none;filter:brightness(.96)}.button.primary{background:var(--green);color:white}.button.secondary{background:white;border-color:#d8e0d8;color:#516b60}.button.light{background:#faf9ee;color:#335849}.button.danger{background:#fff3ef;color:var(--red);border-color:#e7cdc5}.button:disabled{opacity:.4;cursor:not-allowed}.wide{width:100%}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:24px 0}.stats article{border:1px solid var(--line);border-radius:10px;background:#fff;padding:20px 22px}.stats article>span{font-size:11px;color:var(--muted)}.stats strong{display:block;font-size:31px;font-weight:550;line-height:1.5;margin-top:6px;font-variant-numeric:tabular-nums}.stats small{font-size:11px;font-weight:400;margin-left:9px;color:var(--muted)}.two-col{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;align-items:start}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px;margin-bottom:22px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.section-title h2{margin:0}.section-title>.muted{font-size:10px;letter-spacing:2px}.steps{counter-reset:item;padding:0;list-style:none;margin:0}.steps li{counter-increment:item;position:relative;padding:8px 0 20px 45px}.steps li:before{content:counter(item);position:absolute;left:0;top:8px;background:#edf2ec;border-radius:50%;width:28px;height:28px;text-align:center;color:#618570;line-height:28px;font-size:12px}.steps small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.steps b{font-size:13px;font-weight:600}.check-item{display:flex;gap:16px;margin-bottom:20px}.check-item>span{color:#a1b29e;font-size:13px}.check-item b{font-size:13px}.check-item p{font-size:12px;color:var(--muted);margin:6px 0}.check-item a{font-size:12px}.note,.notice{background:#f5f6ee;border-radius:8px;padding:13px 16px;font-size:12px;color:#75836e}.notice{margin-top:26px}.notice p{margin:6px 0}.page-footer{display:flex;justify-content:space-between;color:#9aa69d;border-top:1px solid var(--line);padding-top:20px;margin-top:24px;font-size:9px;letter-spacing:1px}.page-footer span{letter-spacing:0}.toolbar,.actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.actions{margin:0;justify-content:flex-start;flex-wrap:wrap}.toolbar p{margin:0}label{display:block;font-size:12px;font-weight:600;margin-bottom:18px}input:not([type=checkbox]),select,textarea{width:100%;padding:10px 12px;border:1px solid #dce3db;border-radius:7px;background:#fff;color:var(--ink);margin-top:7px;min-height:42px}input[readonly]{background:#f4f5f0;color:var(--muted)}textarea{resize:vertical;line-height:1.8}.editor{font-size:14px;min-height:300px}em{font-style:normal;font-size:9px;color:#a88752;background:#f7f1df;border-radius:4px;padding:2px 5px;margin-left:5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.filter{display:flex;gap:15px;align-items:end;flex-wrap:wrap}.filter label{flex:1;min-width:150px;margin:0}.filter button{margin-bottom:1px}.table-card{padding:0;overflow:hidden}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{background:#fafbf7;text-align:left;font-size:11px;font-weight:500;color:var(--muted);padding:16px 22px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:17px 22px;border-bottom:1px solid #edf0e9;vertical-align:middle}tr:last-child td{border-bottom:0}td small{display:block;color:var(--muted);margin-top:3px;font-size:11px}.person{font-weight:600;font-size:13px}.badge,.tag{display:inline-block;border-radius:5px;padding:3px 8px;font-size:10px;white-space:nowrap;background:#edf1ea;color:#6d826a}.tag{margin:2px 4px 2px 0;background:#f0f1e9;color:#7a8169}.badge.unknown,.badge.scheduled,.badge.pending,.badge.queued{background:#f8f1df;color:#947934}.badge.no,.badge.suppressed,.badge.failed,.badge.ineligible{background:#f9ebe6;color:#aa6154}.badge.prepared,.badge.completed,.badge.yes{background:#e7f2e9;color:#4e7a57}.empty{padding:50px;text-align:center;color:var(--muted)}.pagination{display:flex;gap:7px;flex-wrap:wrap}.profile{grid-template-columns:1.4fr 1fr}hr{border:0;border-top:1px solid var(--line);margin:26px 0}fieldset{border:1px solid var(--line);border-radius:7px;padding:10px 15px;margin:0 0 20px}legend{font-size:12px}.checkbox{display:flex;align-items:flex-start;gap:9px;font-weight:400;margin:8px 0 15px}.checkbox input{accent-color:var(--green);margin-top:5px}.history{border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.history summary{cursor:pointer;font-weight:600}.history p{margin:6px 0}.history pre{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}.inline{display:inline;margin:0}.alert{padding:14px 18px;border-radius:8px;background:#f5edd8;margin-bottom:20px;color:#88703d;font-size:13px}.alert.error{background:#fbeee8;color:#9c493c}.alert.success{background:#e5f0e7;color:#376b4a}.compact{grid-template-columns:repeat(3,1fr)}.compact article{background:#fafbf7}.upload{background:#f9faf5;border:1px dashed #c6d5c5;padding:22px;border-radius:9px}.tag-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.tag-grid>a{border:1px solid var(--line);padding:15px;border-radius:7px;display:flex;justify-content:space-between;align-items:center;gap:8px}.tag-grid b{font-size:11px}.workflow{display:flex;gap:0;margin-bottom:24px;border-bottom:1px solid var(--line)}.workflow span{padding:10px 24px;color:#97a398;font-size:12px}.workflow .current{color:var(--green);border-bottom:2px solid var(--green)}.compose{grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr)}.audience-number{font-size:46px;line-height:1.5;margin:5px 0 14px}.audience-number small{font-size:13px;margin-left:8px;color:var(--muted)}.numbers>div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:11px}.numbers dd{margin:0}.subtle{background:#eef2e9}.mail-body{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/2 -apple-system,BlinkMacSystemFont,sans-serif;background:#fafbf7;border:1px solid var(--line);padding:24px;border-radius:8px}.metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.metrics b{font-size:11px;color:var(--muted);font-weight:400}.metrics strong{display:block;font-size:20px;margin:6px 0 20px}.narrow{max-width:830px}.public-page{min-height:100vh;display:grid;place-items:center;padding:30px;background:#edf1e9}.public-card{background:white;width:100%;max-width:470px;border:1px solid var(--line);border-radius:18px;padding:40px;box-shadow:0 15px 60px #284b3710}.public-card .brand-mark{margin-bottom:25px}.public-card h1{font-family:Georgia,"Yu Mincho",serif;font-size:27px}.public-card form{margin-top:26px}code{font-size:11px;background:#edf0e7;padding:2px 4px;border-radius:3px}
@media(min-width:1500px){.hero{min-height:310px}.hero h2{font-size:32px}}
@media(max-width:1100px){.sidebar{width:205px;padding:25px 12px}.workspace{margin-left:205px}.workspace main{padding:26px}.topbar{padding:0 26px}.dev-banner{padding:10px 26px}.hero{padding:28px}.envelope{width:220px;margin-right:0}.seal{left:92px}.stats{gap:10px}.stats article{padding:18px 15px}.two-col{gap:16px}.card{padding:21px}.table-card{padding:0}.compose{grid-template-columns:minmax(0,1.4fr) minmax(230px,1fr)}}
@media(max-width:800px){.sidebar{position:static;width:100%;padding:14px 18px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:12px}.brand-mark{width:34px;height:34px;font-size:24px}.nav-caption,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;overflow-x:auto;margin-top:13px;gap:3px}.sidebar nav a{padding:8px 11px;font-size:11px;white-space:nowrap}.sidebar nav a span{display:none}.workspace{margin-left:0}.topbar{height:48px;padding:0 20px}.local-dot{display:none}.dev-banner{padding:10px 20px;display:block;font-size:10px}.dev-banner span{display:block;margin-top:3px}.workspace main{padding:22px 20px}.page-heading{margin-bottom:20px}h1{font-size:23px}.hero{min-height:250px}.hero h2{font-size:24px}.envelope{width:205px;transform:rotate(-7deg) scale(.9)}.two-col,.profile,.compose{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.stats strong{font-size:28px}.tag-grid{grid-template-columns:1fr 1fr}.metrics{grid-template-columns:repeat(3,1fr)}.workflow span{padding:10px 12px;font-size:11px}.table-scroll table{min-width:620px}.toolbar{align-items:flex-start;flex-wrap:wrap}.page-footer{font-size:8px}.form-grid{gap:0 12px}}
@media(max-width:480px){.workspace main{padding:20px 14px}.hero{padding:25px;min-height:245px}.envelope{display:none}.hero h2{font-size:26px}.card{padding:19px}.table-card{padding:0}.form-grid{grid-template-columns:1fr}.stats{gap:10px}.stats article{padding:15px}.stats article>span{font-size:10px}.tag-grid{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,1fr)}.public-card{padding:28px}.public-page{padding:16px}.page-footer{display:block}.page-footer span{display:block;margin-top:7px}.filter{display:block}.filter label{margin-bottom:12px}.section-title{align-items:flex-start;flex-wrap:wrap}}
