:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif;color:#162236;background:#f5f7fa;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;border-radius:8px;background:#15382d;color:white;padding:12px 18px;font-weight:600}button:hover{filter:brightness(.94)}button:disabled{opacity:.5}button.secondary{background:#edf1f4;color:#243247}button.danger{background:#fff1ed;color:#b04731}button.text-button{padding:0;color:#162236;background:none;text-align:left;font-weight:600}input,textarea,select{width:100%;border:1px solid #dce2e8;border-radius:7px;padding:11px;background:#fff;color:#162236}input:focus,textarea:focus,select:focus{outline:2px solid #a7cdb7;outline-offset:1px}label{display:block;font-weight:500;margin-bottom:16px}label input,label textarea,label select{margin-top:7px}textarea{min-height:85px;resize:vertical}aside{width:245px;position:fixed;inset:0 auto 0 0;background:#14221f;color:#d6e0dc;padding:32px 23px;display:flex;flex-direction:column}.brand{background:#d9f18b;color:#14221f;width:44px;height:44px;border-radius:12px;font-size:22px;font-weight:850;display:flex;align-items:center;justify-content:center}.brand span{font-size:16px}.wordmark{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:700;color:white}.wordmark small{display:block;font-size:11px;font-weight:400;margin-top:4px;color:#96aaa1}.nav-caption{text-transform:uppercase;color:#718e81;font-size:10px;letter-spacing:1.5px;margin:45px 12px 18px}nav button{width:100%;display:flex;gap:14px;background:none;color:#afc1b9;font-weight:500;margin-bottom:6px;padding:13px 14px;text-align:left}nav button span{width:18px;font-size:19px}nav button.selected{background:#2b3d34;color:#dcf598}.aside-bottom{margin-top:auto;font-size:10px;letter-spacing:1px;color:#91a39b}.aside-bottom button{display:block;background:none;color:#b8c9c1;padding:15px 0;font-size:12px}.dot{display:inline-block;width:6px;height:6px;background:#d9f18b;border-radius:50%;margin-right:6px}.workspace{margin-left:245px;padding:0 45px 50px;max-width:1700px}.topline{height:80px;border-bottom:1px solid #e1e7ec;display:flex;justify-content:space-between;align-items:center;color:#84909e;font-size:12px}.locale{background:white;border:1px solid #e0e5e9;border-radius:6px;padding:7px 10px;color:#526171}.page-title{display:flex;align-items:center;justify-content:space-between;padding:36px 0 24px;gap:20px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#81918b;margin:0 0 10px}h1{font-size:32px;letter-spacing:-1px;margin:0}h2{font-size:17px;margin:0}h3{font-size:13px}p{line-height:1.65;color:#778391}.page-title p:last-child{margin-bottom:0}.notice{background:#edf3e8;border:1px solid #dce6d2;border-radius:9px;color:#5b7055;padding:14px 18px;font-size:12px;line-height:1.6;margin-bottom:28px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.stats article{border:1px solid #e0e6ea;border-radius:12px;background:white;padding:24px}.stats span{font-size:12px;color:#7a8794}.stats strong{display:block;font-size:34px;margin-top:14px;font-weight:600}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 18px}.section-head select{width:230px}.table-wrap{background:white;border:1px solid #e1e6ec;border-radius:12px;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#fbfcfd;font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#82909d;font-weight:600;padding:17px 20px}td{padding:20px;border-top:1px solid #edf0f4;font-size:12px}td small{display:block;color:#8f99a6;padding-top:5px}.badge{font-size:10px;border-radius:20px;padding:5px 10px;background:#eef1f5;color:#6e7c8b;display:inline-block}.badge.review{background:#fff3d7;color:#9c7a30}.badge.approved{background:#e5f4e8;color:#387946}.badge.rejected,.badge.failed{background:#fcece7;color:#a65743}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.cards article{background:#fff;border:1px solid #e0e6ea;border-radius:12px;padding:25px}.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.avatar{width:40px;height:40px;background:#edf2e6;border-radius:10px;display:grid;place-items:center;font-size:18px;font-weight:700}.domain{font-size:12px;color:#51816b}.cards footer{font-size:11px;color:#91a096;margin-top:24px}.budget-line{margin-top:23px}.budget-line strong{font-size:17px}progress{width:100%;height:6px;accent-color:#77954d;display:block;margin:12px 0}small,.muted{color:#7e8c99}.empty{border:1px dashed #d5dfe5;border-radius:12px;padding:55px 20px;text-align:center;background:#fbfcfd}.empty span{font-size:32px;color:#97ad9b}.login{background:white;border:1px solid #dfe7e2;border-radius:18px;max-width:420px;margin:12vh auto;padding:38px;box-shadow:0 15px 60px #132e2310}.login .brand{margin-bottom:30px}.login form{margin-top:26px}.login button{width:100%}dialog{border:1px solid #dce3e7;border-radius:14px;padding:28px;max-width:720px;width:calc(100% - 32px);max-height:90vh;color:#162236}dialog::backdrop{background:#13251ec0}dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}dialog header button{font-size:22px;padding:3px 8px;background:none;color:#627482}dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.check{display:flex;align-items:center;gap:8px}.check input{width:auto;margin:0}.content{min-height:180px}details{border:1px solid #e2e8ec;border-radius:8px;padding:14px;margin-bottom:10px}summary{cursor:pointer;font-size:12px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;line-height:1.7;font-size:13px}.review-actions{display:flex;gap:10px;margin:15px 0}.job-meta{margin-bottom:24px;color:#788594}hr{border:0;border-top:1px solid #e1e6eb;margin:24px 0}#toast{position:fixed;bottom:28px;right:28px;background:#172d23;color:white;padding:15px 22px;border-radius:8px;display:none;max-width:420px;z-index:5}#toast.show{display:block}@media(max-width:900px){aside{width:190px;padding:25px 15px}.workspace{margin-left:190px;padding:0 25px 35px}.stats{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:1fr}}@media(max-width:600px){aside{position:relative;width:auto;padding:18px}.wordmark{font-size:16px}.nav-caption,.aside-bottom{display:none}nav{display:flex;overflow:auto;margin-top:16px}nav button{width:auto;white-space:nowrap;padding:10px}nav button span{display:none}.workspace{margin-left:0;padding:0 18px 30px}.topline{height:50px}.page-title{align-items:flex-start}h1{font-size:26px}.page-title button{font-size:11px;padding:10px}.stats{gap:10px}.stats article{padding:18px}.stats strong{font-size:28px}.form-row{grid-template-columns:1fr}.login{margin:8vh 18px}.notice{font-size:11px}}

.research-status{border:1px solid #d4e2d7;background:#f0f6ed;padding:20px;border-radius:12px}.research-status>div:first-child{display:flex;justify-content:space-between;gap:20px}.research-status progress{height:8px;margin:18px 0}.time-row{display:flex;gap:25px;font-size:12px;margin-top:20px}.research-actions{display:flex;align-items:center;gap:20px;margin-top:15px}.research-actions a,.profile-grid a{font-size:11px;color:#47775e;overflow-wrap:anywhere}.steps{list-style:none;padding:0;margin:25px 0;display:grid;grid-template-columns:1fr 1fr;gap:14px}.steps li{display:flex;align-items:flex-start;gap:12px;font-size:12px;padding:12px;background:#f8fafb;border-radius:8px}.step-icon{font-size:18px;color:#8f9a94}.steps li.complete .step-icon{color:#519365}.steps li.running{background:#eaf1df}.steps li.running .step-icon{animation:spin 2s linear infinite}.steps small{display:block;margin-top:4px}.error-line{color:#a25940!important}.profile-heading{display:flex;justify-content:space-between;align-items:center;margin:30px 0 18px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.profile-grid article{border:1px solid #e1e8e4;background:#fbfcfb;border-radius:10px;padding:18px}.profile-grid h3{margin-top:0}.profile-grid p,.profile-grid li{font-size:12px;line-height:1.8;color:#5b6c65}.profile-grid .full{grid-column:1/-1}.service-item{border-top:1px solid #e1e8e4;padding:13px 0}.service-item strong{font-size:12px}.profile-link{font-size:11px;margin:5px 0}.seo-metrics{display:flex;flex-wrap:wrap;gap:22px;font-size:12px}.profile-grid details{background:white}dialog:has(.research-status){max-width:920px}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:600px){.steps,.profile-grid{grid-template-columns:1fr}.time-row{gap:15px}.research-actions{flex-wrap:wrap}.research-status>div:first-child{flex-direction:column;gap:5px}}
.client-identity{display:flex;gap:16px;align-items:center;margin:6px 0 24px}.client-identity h2{font-size:24px}.client-identity p{margin:4px 0}.client-identity button{margin-left:auto}.client-setup{background:#fff;border:1px solid #dfe7e2;border-radius:12px;padding:20px;display:flex;justify-content:space-between;align-items:center;gap:20px}.client-setup small{display:block;margin-top:7px;line-height:1.6}.setup-items{display:flex;flex-wrap:wrap;gap:12px;font-size:11px;color:#909da5}.setup-items .done{color:#427859}.client-tabs{display:flex;gap:5px;border-bottom:1px solid #dce5e1;margin:26px 0 22px;overflow:auto}.client-tabs button{width:auto;white-space:nowrap;background:none;color:#788493;padding:14px 15px;margin:0;border-radius:6px 6px 0 0;border-bottom:3px solid transparent;font-size:13px}.client-tabs button.selected{background:#edf4ec;color:#234b37;border-color:#61884a}.attention-dot{display:inline-block;width:8px!important;height:8px;border-radius:50%;background:#3783ee;margin-left:8px;flex-shrink:0}.panel-card{background:white;border:1px solid #dfe6e9;border-radius:12px;padding:24px;display:flex;justify-content:space-between;gap:22px;margin-bottom:16px}.panel-card h3{font-size:14px;line-height:1.6;margin:15px 0 8px}.panel-card p{font-size:12px;color:#66788a}.panel-card.archived{opacity:.6}.panel-card.block{display:block;margin:0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid h2{margin-bottom:15px}.settings-grid .notice{margin:20px 0 10px}.settings-grid details{margin-top:16px}fieldset{border:0;padding:0;margin:0 0 20px}legend{font-weight:500;margin-bottom:12px}.weekdays{display:flex;flex-wrap:wrap;gap:8px}.weekdays label{display:flex;gap:5px;align-items:center;border:1px solid #dfe6e9;border-radius:6px;padding:8px;font-size:11px;margin:0}.weekdays input{width:auto;margin:0}.wp-status{display:flex;gap:12px;align-items:center;margin:14px 0}.sticky-save{display:flex;align-items:center;justify-content:space-between;background:#f5f7faee;position:sticky;bottom:0;padding:18px 0;gap:15px;backdrop-filter:blur(8px)}.sticky-save span{font-size:12px;color:#5d7868}.rule-actions{display:flex;flex-direction:column;gap:8px;flex-shrink:0}.rule-actions button{padding:9px 14px;font-size:11px}.table-empty{text-align:center;white-space:normal;padding:55px 25px;color:#7d8c97}#client-panel>details{margin-top:18px;background:#fff}.client-tabs button:focus-visible{outline:2px solid #3783ee}.client-identity .avatar{width:50px;height:50px}.preference-list .panel-card button{align-self:center}@media(max-width:1100px){.client-setup{display:block}.setup-items{margin-top:15px}.settings-grid{grid-template-columns:1fr}}@media(max-width:600px){.client-identity{flex-wrap:wrap}.client-identity button{margin-left:0}.client-tabs{margin-top:20px}.client-tabs button{padding:12px 10px}.panel-card{padding:18px;flex-direction:column}.rule-actions{flex-direction:row;flex-wrap:wrap}.sticky-save{align-items:flex-start}.client-setup{padding:16px}}
.preference-toolbar{display:grid;grid-template-columns:minmax(200px,1.5fr) repeat(3,minmax(100px,1fr)) minmax(170px,1.2fr);gap:12px;margin:20px 0 4px}.preference-toolbar label{font-size:11px;color:#66788a}.preference-toolbar input,.preference-toolbar select{font-size:12px}.preference-result-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#7e8c99;margin-bottom:18px}.preference-result-row button{font-size:12px}.preference-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.preference-priority.priority-3{background:#ffe2e2;color:#a92828;border:1px solid #efabab}.preference-priority.priority-2{background:#ffdfbc;color:#984700;border:1px solid #edb077}.preference-priority.priority-1{background:#fffbdc;color:#786b21;border:1px solid #eee7b2}.preference-active-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#27a664;box-shadow:0 0 0 3px #e2f3e9;margin-left:5px}.preference-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.preference-actions button{font-size:12px;padding:10px 14px}.preference-actions .icon-button{width:38px;height:38px;padding:0;font-size:21px;display:grid;place-items:center}.preference-actions .danger{font-size:25px}.preference-copy{min-width:0;overflow-wrap:anywhere}.paused-preference{background:#f8f9fa}.paused-preference h3{color:#7d8895}.preference-undo{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#eef5ef;border:1px solid #d9e8da;border-radius:8px;padding:12px 16px;margin-bottom:16px;font-size:12px}.preference-undo button{padding:8px 14px}@media(max-width:1200px){.preference-toolbar{grid-template-columns:repeat(3,minmax(120px,1fr))}}@media(max-width:700px){.preference-toolbar{grid-template-columns:1fr 1fr}.preference-toolbar label:first-child{grid-column:1/-1}.preference-card{flex-direction:column}.preference-actions{justify-content:flex-end}.preference-undo{align-items:flex-start}}
