
:root{--ink:#0f1012;--ink-soft:#161719;--body:#333;--muted:#6b6f76;--line:#e4e6e9;--surface:#fff;--alt:#f6f7f8;--accent:#2b2b2b;--maxw:1140px;--gutter:24px;
--ok:#1f7a3a;--ok-bg:#eef7f0;--ok-ink:#1f6b35;--bad:#b42318;--bad-bg:#fbeeec;--bad-ink:#8a2a1f;--warn:#b7791f;--warn-bg:#fbf3e6;--warn-ink:#7a4b0f}
body{font-size:14px;line-height:1.55}
.portal a{color:#0f1012;text-decoration:none}.portal a:hover{text-decoration:underline}
.portal h1,.portal h2,.portal h3{letter-spacing:-.01em}
.pwrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:36px var(--gutter) 72px;box-sizing:border-box}
.pwrap.flex{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.pnav{border-bottom:1px solid #e4e6e9;background:#fff}
.pnav .in{max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter);display:flex;align-items:center;gap:4px;height:52px}
.pnav a{display:inline-flex;align-items:center;gap:8px;height:52px;padding:0 14px;margin-bottom:-1px;border-bottom:2px solid transparent;color:#6b6f76;font-size:14px;font-weight:500}
.pnav a:hover{color:#0f1012;text-decoration:none}
.pnav a.cur{color:#0f1012;border-bottom-color:#0f1012}
.pnav .cnt{background:#0f1012;color:#fff;border-radius:999px;padding:0 7px;font-size:11px;line-height:18px;font-weight:600}
.pnav .right{margin-left:auto;display:flex;gap:8px}
.pnav .right a{height:32px;margin:0;border-bottom:0;color:#fff;font-size:11px}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:#6b6f76}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 20px;border:1px solid #0f1012;border-radius:4px;background:#fff;color:#0f1012;font:inherit;font-size:12px;font-weight:600;letter-spacing:1.1px;text-transform:uppercase;line-height:1;cursor:pointer;text-decoration:none;box-sizing:border-box;white-space:nowrap}
.button:hover{background:#f6f7f8;text-decoration:none}
.button-primary{background:#0f1012;border-color:#0f1012;color:#fff}.button-primary:hover{background:#2b2b2b;border-color:#2b2b2b;color:#fff}
.button-large{height:48px;padding:0 30px;font-size:13px}
.button-small{height:32px;padding:0 12px;font-size:11px;letter-spacing:.9px}
.button[disabled]{opacity:.45;cursor:not-allowed}
.button.ghost{border-color:#e4e6e9}
.notice{background:#fff;border:1px solid #e4e6e9;border-left:3px solid #0f1012;border-radius:0 8px 8px 0;padding:12px 16px;margin:0 0 14px;font-size:14px;line-height:1.5}
.notice strong{color:#0f1012}
.notice-info{border-left-color:#9a9ea5}.notice-warning{border-left-color:#b7791f}.notice-error{border-left-color:#b42318}.notice-success{border-left-color:#1f7a3a}
.postbox{background:#fff;border:1px solid #e4e6e9;border-radius:10px;margin-bottom:20px;overflow:hidden}
.postbox h2{margin:0;padding:14px 20px;border-bottom:1px solid #e4e6e9;font-size:15px;font-weight:600;letter-spacing:-.1px;line-height:1.4}
.postbox .inside{padding:18px 20px}
.form-table{width:100%;border-collapse:collapse}
.form-table th{width:38%;min-width:150px;padding:14px 16px 14px 0;text-align:left;vertical-align:top;font-weight:600;font-size:14px;line-height:1.45;color:#0f1012}
.form-table td{padding:12px 0;vertical-align:top}
.form-table tr+tr th,.form-table tr+tr td{border-top:1px solid #f0f1f3}
input[type=text],input[type=email],input[type=password],input[type=tel],textarea,select{width:100%;box-sizing:border-box;border:1px solid #cfd3d8;border-radius:6px;padding:0 12px;font:inherit;font-size:14px;color:#0f1012;background:#fff;min-height:40px}
textarea{padding:10px 12px;line-height:1.5;resize:vertical}
input:focus,textarea:focus,select:focus{border-color:#0f1012;box-shadow:0 0 0 1px #0f1012;outline:2px solid transparent}
select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230f1012' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:32px}
.desc{color:#6b6f76;font-size:13px;margin-top:6px;line-height:1.5}
.yn{display:inline-flex;border:1px solid #cfd3d8;border-radius:6px;overflow:hidden}
.yn label{display:flex;align-items:center;gap:6px;padding:0 16px;height:38px;cursor:pointer;font-size:14px}
.yn label+label{border-left:1px solid #cfd3d8}
.yn input{margin:0}
.yn label.on{background:#0f1012;color:#fff}
.req{color:#b42318}
.steps{padding:10px}
.steps a{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;color:#333;font-size:14px}
.steps a:hover{background:#f6f7f8;text-decoration:none}
.steps a.cur{background:#0f1012;color:#fff;font-weight:600}
.steps .dot{width:18px;height:18px;border-radius:50%;border:1px solid #cfd3d8;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:700;flex-shrink:0;box-sizing:border-box;color:#6b6f76;background:#fff}
.steps .dot.done{background:#1f7a3a;border-color:#1f7a3a;color:#fff}
.steps .dot.warn{background:#b7791f;border-color:#b7791f;color:#fff}
.subsubsub{margin:4px 0 16px;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px;font-size:13px}
.subsubsub li{margin:0}
.subsubsub a{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid #e4e6e9;border-radius:999px;color:#333}
.subsubsub a:hover{background:#f6f7f8;text-decoration:none}
.subsubsub .count{color:#6b6f76}.subsubsub a.cur{background:#0f1012;border-color:#0f1012;color:#fff}.subsubsub a.cur .count{color:rgba(255,255,255,.7)}
.wp-list-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e4e6e9;border-radius:10px;overflow:hidden}
.wp-list-table th,.wp-list-table td{padding:14px 14px;text-align:left;vertical-align:top;font-size:14px;line-height:1.5}
.wp-list-table thead th{border-bottom:1px solid #e4e6e9;background:#f6f7f8;font-size:12px;font-weight:600;letter-spacing:.8px;text-transform:uppercase;color:#6b6f76}
.wp-list-table tbody td{border-top:1px solid #f0f1f3}
.wp-list-table tbody tr:first-child td{border-top:0}
.wp-list-table tbody tr:hover td{background:#fafbfb}
.row-actions{font-size:12px;color:#9a9ea5;padding-top:4px}
.row-actions a{color:#6b6f76;text-decoration:underline;text-decoration-color:#d4d7db;text-underline-offset:2px}.row-actions a:hover{color:#0f1012}
.row-actions .del a{color:#b42318}
.pill{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}
.pill i{width:7px;height:7px;border-radius:50%;display:inline-block}
.tag{display:inline-flex;align-items:center;gap:5px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:600;white-space:nowrap}
.tablenav{display:flex;align-items:center;gap:8px;margin:10px 0}
.tablenav select{width:auto;min-height:36px;font-size:13px}
input[type=search]{height:36px;padding:0 12px;border:1px solid #cfd3d8;border-radius:6px;font:inherit;font-size:13px;min-width:220px}
.c{border-top:1px solid #e4e6e9}.c:first-child{border-top:0}
.c .q{padding:14px 16px;display:grid;grid-template-columns:40px 1fr;gap:12px}
.c .n{width:26px;height:26px;border-radius:50%;background:#0f1012;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}
.c .meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:#6b6f76;margin-bottom:4px}
.c .a{background:#f6f7f8;padding:12px 16px 14px 68px;display:flex;flex-direction:column;gap:8px}
.file{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;background:#fff;border:1px solid #e4e6e9;font-size:12px}
.cycle{padding:8px 16px;background:#f6f7f8;color:#0f1012;font-weight:600;font-size:12px;letter-spacing:.6px;text-transform:uppercase;border-top:1px solid #e4e6e9;border-bottom:1px solid #e4e6e9}
.tabs{display:flex;gap:4px;border-bottom:1px solid #e4e6e9;margin-bottom:16px}
.tabs a{padding:10px 14px;margin-bottom:-1px;border-bottom:2px solid transparent;color:#6b6f76;font-size:14px;font-weight:500}
.tabs a.cur{color:#0f1012;border-bottom-color:#0f1012;font-weight:600}
.tabs a:hover{text-decoration:none;color:#0f1012}
.ev{display:grid;grid-template-columns:96px 1fr;gap:12px;padding:10px 16px;border-top:1px solid #f0f1f3;align-items:start}
.ev:first-child{border-top:0}
.ev .d{color:#6b6f76;font-size:12px;padding-top:3px}
.ev .s{font-weight:600;color:#0f1012}
.ev .m{color:#6b6f76;font-size:12px}
.ev .mail{display:inline-flex;align-items:center;gap:4px;color:#0f1012;font-size:12px;text-decoration:underline;text-decoration-color:#d4d7db;text-underline-offset:2px}
.check{display:flex;align-items:flex-start;gap:12px;padding:12px 16px;border-top:1px solid #f0f1f3}
.check:first-child{border-top:0}
.check .i{width:18px;height:18px;border-radius:50%;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;color:#fff;margin-top:2px}
.x-foot{background:#0f1012;color:rgba(255,255,255,.72);font-size:13px}
.x-foot .in{max-width:var(--maxw);margin:0 auto;padding:40px var(--gutter) 28px;display:flex;flex-wrap:wrap;gap:16px 32px;align-items:center}
.x-foot a{color:#fff}

.auth{display:grid;grid-template-columns:minmax(0,440px) minmax(0,1fr);gap:64px;align-items:start}
.auth h1{font-size:38px;font-weight:600;letter-spacing:-.76px;line-height:1.1;margin:10px 0 10px}
.auth .lead{font-size:17px;line-height:1.65;color:#333;margin:0 0 28px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:18px}
.field label{font-size:13px;font-weight:600;color:#0f1012}
.field .hint{display:flex;justify-content:space-between;align-items:baseline}
.field .hint a{font-size:12px;color:#6b6f76;text-decoration:underline;text-decoration-color:#d4d7db;text-underline-offset:2px}
.field input,.field select{min-height:44px}
.chk{display:flex;align-items:center;gap:10px;font-size:14px;color:#333}
.or{display:flex;align-items:center;gap:12px;margin:22px 0;color:#9a9ea5;font-size:12px;letter-spacing:1.2px;text-transform:uppercase}
.or:before,.or:after{content:"";flex:1;height:1px;background:#e4e6e9}
.card{border:1px solid #e4e6e9;border-radius:10px;padding:22px 26px;background:#fff}
.card h3{font-size:15px;font-weight:600;margin:0 0 10px}
.card p{margin:0;color:#333;font-size:14px;line-height:1.6}
.card .k{font-size:11px;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;color:#6b6f76;margin-bottom:10px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #e4e6e9;border-radius:10px;overflow:hidden}
.grid3>div{padding:26px 28px 30px;border-left:1px solid #e4e6e9}
.grid3>div:first-child{border-left:0}
.grid3 .num{font-size:13px;font-weight:700;letter-spacing:1px;color:#0f1012;margin-bottom:12px}
.grid3 p{margin:0;font-size:14px;line-height:1.65;color:#333}
.dark{background:#0f1012;color:#fff}
.dark .in{max-width:var(--maxw);margin:0 auto;padding:110px var(--gutter) 120px}
.dark h1{color:#fff;font-size:54px;font-weight:600;letter-spacing:-1.08px;line-height:1.1;margin:14px 0 22px;max-width:760px}
.dark .eyebrow{color:rgba(255,255,255,.55)}
.dark p{font-size:19px;line-height:1.6;color:rgba(255,255,255,.78);max-width:660px;margin:0 0 36px}
.dark .button{background:#fff;color:#0f1012;border-color:#fff;height:50px;padding:0 30px;font-size:13px}
.dark .button.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.dark .button.ghost:hover{background:rgba(255,255,255,.08)}
.ok-ring{width:56px;height:56px;border-radius:50%;border:2px solid #0f1012;display:inline-flex;align-items:center;justify-content:center;font-size:22px;color:#0f1012;margin-bottom:18px}
.inline-steps{display:flex;gap:8px;align-items:center;font-size:12px;color:#6b6f76;margin-bottom:6px}
.inline-steps b{color:#0f1012}
.inline-steps i{width:28px;height:1px;background:#e4e6e9;display:inline-block}
.match{border:1px solid #e4e6e9;border-radius:8px;padding:12px 14px;background:#f6f7f8;display:flex;gap:12px;align-items:flex-start;font-size:13px;line-height:1.5}
.match .ico{width:28px;height:28px;border-radius:6px;background:#0f1012;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0}
.roles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.roles label{border:1px solid #cfd3d8;border-radius:8px;padding:12px 14px;display:flex;gap:10px;align-items:flex-start;cursor:pointer;font-size:13px;line-height:1.45}
.roles label.on{border-color:#0f1012;box-shadow:0 0 0 1px #0f1012}
.roles label input{margin:3px 0 0}
.roles small{display:block;color:#6b6f76;font-size:12px}

/* ---- portal pages: header additions and resets over styles.css ---- */
.portal{min-height:60vh}
.portal form{margin:0;max-width:none}
.portal input,.portal textarea,.portal select{font-size:14px}
.portal .field{margin-bottom:18px}
.portal .field>label{margin-bottom:0}
.portal .card{padding:22px 26px}
.portal .card p{font-size:14px}
.portal button[type=submit]{padding:0}
.portal a.button,.portal button.button{color:#0f1012}
.portal a.button:hover{text-decoration:none}
.portal a.button-primary,.portal button.button-primary,.portal .pnav .right a{color:#fff}
.portal input[type=checkbox],.portal input[type=radio]{width:auto;padding:0;margin:0}
.yn label{white-space:nowrap}
.portal .steps a.cur{color:#fff}
.nav .me{display:inline-flex;align-items:center;gap:10px;padding:5px 12px 5px 5px;border:1px solid var(--line);border-radius:999px;text-transform:none;letter-spacing:0;font-size:13px;font-weight:500}
.nav .me i{width:26px;height:26px;border-radius:50%;background:var(--ink);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-size:11px;font-weight:600;letter-spacing:.5px}
.nav .nav-cta{border:1px solid var(--ink);border-radius:4px;padding:9px 14px}
.nav .nav-cta:hover{background:var(--ink);color:#fff}
@media (max-width:860px){.nav .nav-cta{border:0;padding:15px 0;border-radius:0}.nav .me{margin-top:10px}.auth{grid-template-columns:1fr!important;gap:28px}.pnav .in{overflow-x:auto;height:auto;flex-wrap:wrap;padding-bottom:8px}.pnav .right{margin-left:0;width:100%;padding:4px 0 6px}.pwrap.flex>*{flex:1 1 100%!important}.portal main,.portal{overflow-x:hidden}.tablenav{flex-wrap:wrap}.tablenav>div{flex-wrap:wrap}.tablenav select,.tablenav input[type=search]{max-width:100%;min-width:0}}
