:root{
  --paper:#f4f6f8;
  --paper-warm:#f7f6f2;
  --ink:#17202b;
  --mut:#697381;
  --line:#e4e8ed;
  --brand:#153a5b;
  --brand-deep:#0b263f;
  --brand-mid:#285878;
  --brand-soft:#eaf1f6;
  --gold:#d5aa55;
  --gold-ink:#372707;
  --gold-soft:#f7f0df;
  --gold-text:#8b681f;
  --good:#18724a;
  --good-soft:#e6f3ec;
  --bad:#b23b36;
  --bad-soft:#faeae8;
  --warn:#a66716;
  --warn-soft:#fbf1df;
  --card:#fff;
  --shadow:0 12px 36px rgba(22,36,50,.065);
  --shadow-hover:0 18px 42px rgba(22,36,50,.11);
  font-family:"Avenir Next","Hiragino Sans","Yu Gothic UI","Noto Sans JP",sans-serif;
}
*{box-sizing:border-box}
html{background:var(--paper)}
body{margin:0;background:linear-gradient(180deg,#f7f8fa 0,#f3f5f7 420px);color:var(--ink);line-height:1.6;-webkit-font-smoothing:antialiased}
button,input,textarea,select{font:inherit}
button{color:inherit}
a{color:var(--brand)}
.hidden{display:none!important}
.ui-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Global header */
.hd{height:72px;display:flex;align-items:center;background:rgba(255,255,255,.92);border-bottom:1px solid rgba(220,225,231,.9);padding:0 32px;position:sticky;top:0;z-index:10;backdrop-filter:blur(18px)}
.hd-brand{display:flex;align-items:center;gap:12px}
.hd .logo{width:34px;height:34px;border-radius:11px;background:var(--brand);display:grid;place-content:center;position:relative;overflow:hidden;box-shadow:0 7px 16px rgba(21,58,91,.22)}
.hd .logo i{position:absolute;width:6px;height:17px;border-radius:8px;background:#fff;transform:rotate(-35deg);top:8px}
.hd .logo i:nth-child(1){left:8px;opacity:.55}
.hd .logo i:nth-child(2){left:14px}
.hd .logo i:nth-child(3){left:20px;background:var(--gold)}
.brand-copy{display:flex;flex-direction:column;line-height:1.05}
.hd .t{font-size:17px;font-weight:800;letter-spacing:-.02em}
.brand-copy small{font-size:7px;letter-spacing:.18em;color:#87909b;margin-top:5px;font-weight:700}
.hd-store-context{min-width:0;display:flex;align-items:center;gap:11px;margin-left:22px}
.hd-store-divider{width:1px;height:30px;background:var(--line)}
.hd-store-copy{min-width:0;display:flex;flex-direction:column;line-height:1.15}
.hd-store-copy small{font-size:6px;font-weight:900;letter-spacing:.16em;color:#929ca6}
.hd-store-copy strong{max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;letter-spacing:-.02em}
.hd .sp{margin-left:auto;display:flex;align-items:center;gap:10px}
.hd select{font-size:12px;border:1px solid var(--line);border-radius:9px;padding:7px 30px 7px 10px;background:#fff}
.header-contract{display:flex;align-items:center}
.header-admin{border:0;border-bottom:1px solid #9cabb7;background:transparent;color:var(--brand);font-size:10px;font-weight:800;padding:5px 1px;cursor:pointer}
.badge{font-size:10px;font-weight:800;letter-spacing:.06em;background:var(--gold-soft);color:var(--gold-text);border-radius:999px;padding:4px 10px}
.header-logout{border:0;background:transparent;color:var(--mut);font-size:12px;font-weight:700;padding:8px 10px;cursor:pointer}
.header-logout:hover{color:var(--brand)}

.wrap{max-width:1160px;margin:0 auto;padding:34px 24px 76px}
.center{max-width:400px;margin:8vh auto;padding:0 18px}

/* Shared components */
.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px;margin-bottom:18px;box-shadow:0 4px 18px rgba(25,39,52,.035)}
.card h2{font-size:18px;margin:0 0 16px;letter-spacing:-.02em}
.card h3{font-size:13px;color:var(--mut);margin:0 0 11px;font-weight:800}
label{display:block;font-size:12px;font-weight:700;color:var(--mut);margin:11px 0 5px}
input,textarea{width:100%;font-size:14px;border:1px solid var(--line);border-radius:11px;padding:11px 13px;background:#fff}
textarea{min-height:74px;line-height:1.65}
input:focus,textarea:focus{outline:3px solid rgba(46,105,148,.14);border-color:#759bb8}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;font-size:14px;border:0;border-radius:11px;padding:11px 16px;cursor:pointer}
.btn.pri{background:var(--brand);color:#fff;width:100%}
.btn.cta{background:var(--gold);color:var(--gold-ink)}
.btn.ghost{background:#fff;color:var(--brand);border:1px solid #b8c7d4}
.btn.sm{font-size:12px;padding:7px 12px;border-radius:9px}
.btn:disabled{opacity:.5;cursor:default}
.msg{font-size:13px;border-radius:11px;padding:10px 13px;margin:10px 0}
.msg.err{background:var(--bad-soft);color:var(--bad)}
.msg.ok{background:var(--good-soft);color:var(--good)}
.hint{font-size:12px;color:var(--mut)}
.pill{display:inline-flex;align-items:center;font-size:10px;font-weight:800;border-radius:999px;padding:3px 9px}
.pill.good{background:var(--good-soft);color:var(--good)}
.pill.warn{background:var(--warn-soft);color:var(--warn)}
.pill.bad{background:var(--bad-soft);color:var(--bad)}
.pill.info{background:var(--brand-soft);color:var(--brand)}
.pill.gold{background:var(--gold-soft);color:var(--gold-text)}
table{width:100%;border-collapse:collapse;font-size:13px}
th{text-align:left;font-size:11px;color:var(--mut);font-weight:700;padding:7px 8px;border-bottom:1px solid var(--line)}
td{padding:10px 8px;border-bottom:1px solid #eef1f4;vertical-align:middle}
tr:last-child td{border-bottom:0}
.row-actions{display:flex;gap:7px;flex-wrap:wrap}
.stack{display:flex;flex-direction:column;gap:2px}
.muted{color:var(--mut);font-size:12px}
code.inv{display:block;word-break:break-all;background:#f1f3f6;border:1px solid var(--line);border-radius:8px;padding:8px;font-size:11px;margin-top:6px}

/* Store context and navigation */
.owner-wrap{padding-top:20px}
.workspace-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px}
.workspace-label,.section-kicker{display:block;font-size:9px;line-height:1.2;font-weight:800;letter-spacing:.18em;color:#8b96a1}
.workspace-name-row{display:flex;align-items:center;gap:12px;margin-top:5px}
.workspace-name-row h1{font-size:24px;line-height:1.3;letter-spacing:-.035em;margin:0}
.store-state{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:800;padding:4px 9px;border-radius:999px}
.store-state i{width:5px;height:5px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px rgba(24,114,74,.1)}
.store-state.is-active{background:var(--good-soft);color:var(--good)}
.store-state.is-paused{background:var(--bad-soft);color:var(--bad)}
.workspace-actions{display:flex;align-items:center;gap:9px}
.workspace-admin{background:transparent;border:0;border-bottom:1px solid #9cabb7;color:var(--brand);font-size:11px;font-weight:800;padding:5px 1px;cursor:pointer}
.owner-nav{margin-bottom:15px}
.tabbar{display:flex;gap:5px;background:#e9edf1;border-radius:14px;padding:5px;overflow-x:auto;scrollbar-width:none}
.tabbar::-webkit-scrollbar{display:none}
.tab{height:42px;flex:1;min-width:105px;display:flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;background:transparent;color:#6e7883;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap;transition:.18s ease}
.tab .ui-icon{width:17px;height:17px}
.tab:hover{color:var(--brand);background:rgba(255,255,255,.55)}
.tab.active{background:#fff;color:var(--brand);box-shadow:0 3px 10px rgba(25,41,55,.08)}
.tab .menu-badge{min-width:17px;height:17px;font-size:9px;margin-left:-3px}

/* Dashboard hero */
.dashboard{display:flex;flex-direction:column;gap:20px}
.dashboard-hero{min-height:268px;border-radius:25px;padding:42px 44px;position:relative;overflow:hidden;color:#fff;background:
  radial-gradient(circle at 82% 22%,rgba(213,170,85,.24),transparent 22%),
  radial-gradient(circle at 58% 115%,rgba(59,114,151,.42),transparent 40%),
  linear-gradient(135deg,#0b2943 0%,#153f60 60%,#1d4d69 100%);
  box-shadow:0 22px 48px rgba(13,42,65,.19)}
.dashboard-hero:before{content:"";position:absolute;inset:0;opacity:.12;background-image:linear-gradient(rgba(255,255,255,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to right,transparent 30%,#000)}
.hero-copy{position:relative;z-index:2;max-width:520px}
.hero-date{font-size:11px;font-weight:700;letter-spacing:.08em;color:#b8ccda;margin:0 0 14px}
.hero-date span{color:var(--gold)}
.hero-copy h2{font-size:clamp(28px,3vw,39px);line-height:1.28;letter-spacing:-.045em;margin:0 0 12px}
.hero-copy h2 em{font-style:normal;color:#f0cf8e}
.hero-copy>p:last-child{font-size:13px;color:#c2d1dc;margin:0}
.hero-cta{position:absolute;z-index:3;right:42px;bottom:42px;min-width:315px;display:flex;align-items:center;gap:13px;border:0;border-radius:16px;background:#fff;color:var(--brand-deep);padding:14px 17px;box-shadow:0 14px 30px rgba(0,0,0,.2);cursor:pointer;text-align:left;transition:transform .18s ease,box-shadow .18s ease}
.hero-cta:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(0,0,0,.24)}
.hero-cta-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:13px;background:var(--gold);color:var(--gold-ink)}
.hero-cta-icon .ui-icon{width:23px;height:23px}
.hero-cta span:nth-child(2){display:flex;flex:1;flex-direction:column}
.hero-cta small{font-size:9px;letter-spacing:.08em;color:#8a7650;font-weight:800}
.hero-cta b{font-size:14px;letter-spacing:-.02em}
.hero-cta>.ui-icon{width:18px;color:#698096}
.hero-orbit{position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%;pointer-events:none}
.orbit-one{width:310px;height:310px;right:-80px;top:-180px}
.orbit-two{width:220px;height:220px;right:185px;bottom:-170px}

/* Dashboard panels */
.dashboard-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:20px}
.dashboard-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:var(--shadow)}
.panel-heading,.quick-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.panel-heading h3,.quick-heading h3{font-size:16px;letter-spacing:-.025em;margin:5px 0 0}
.task-count,.channel-summary{font-size:10px;font-weight:800;color:var(--warn);background:var(--warn-soft);padding:4px 9px;border-radius:999px}
.task-count.is-clear{color:var(--good);background:var(--good-soft)}
.channel-summary{color:var(--brand);background:var(--brand-soft)}
.home-alerts{margin-top:18px}
.loading-line{height:12px;border-radius:10px;background:linear-gradient(90deg,#edf0f3,#f7f8f9,#edf0f3);background-size:200% 100%;animation:loading 1.2s infinite}
.loading-line.short{width:68%;margin-top:11px}
@keyframes loading{to{background-position:-200% 0}}
.all-clear{min-height:68px;display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:14px;background:linear-gradient(90deg,var(--good-soft),#f4faf7)}
.all-clear-icon{width:36px;height:36px;display:grid;place-items:center;background:#fff;color:var(--good);border-radius:50%;box-shadow:0 4px 12px rgba(24,114,74,.11)}
.all-clear-icon .ui-icon{width:18px}
.all-clear>span:last-child{display:flex;flex-direction:column}
.all-clear b{font-size:13px}
.all-clear small{font-size:11px;color:#5d796b}
.alert-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #edf0f2}
.alert-row:last-child{border-bottom:0;padding-bottom:0}
.alert-indicator{width:8px;height:8px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px var(--gold-soft)}
.alert-copy{flex:1;display:flex;flex-direction:column}
.alert-copy b{font-size:12px}
.alert-copy small{font-size:10.5px;color:var(--mut)}
.alert-action,.text-link{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--brand);font-size:10.5px;font-weight:800;padding:4px;cursor:pointer}
.alert-action .ui-icon,.text-link .ui-icon{width:14px;height:14px}
.channel-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:17px 0 12px}
.channel-chip{min-width:0;display:grid;grid-template-columns:27px 1fr 7px;align-items:center;gap:8px;border:1px solid var(--line);border-radius:11px;padding:8px 9px}
.channel-chip b{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:#f1f3f5;color:#6c7680;font-size:12px}
.channel-chip span{overflow:hidden;text-overflow:ellipsis;font-size:10px;font-weight:700;color:#68727e}
.channel-chip i{width:6px;height:6px;border-radius:50%;background:#c5cbd1}
.channel-chip.connected{border-color:#d9eae1;background:#fbfdfc}
.channel-chip.connected b{background:var(--good-soft);color:var(--good)}
.channel-chip.connected i{background:var(--good);box-shadow:0 0 0 3px var(--good-soft)}
.channel-chip.disconnected i{background:#c39542;box-shadow:0 0 0 3px var(--gold-soft)}
.text-link{margin-left:auto}

/* Quick access */
.quick-section{padding-top:3px}
.quick-heading{margin-bottom:13px}
.quick-heading p{font-size:10.5px;color:var(--mut);margin:0}
.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}
.quick-card{min-height:100px;display:flex;align-items:center;gap:13px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:17px;padding:17px;cursor:pointer;box-shadow:0 7px 24px rgba(25,39,52,.035);transition:.18s ease}
.quick-card:hover{transform:translateY(-3px);border-color:#bdcbd6;box-shadow:var(--shadow-hover)}
.quick-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:var(--brand-soft);color:var(--brand)}
.quick-icon .ui-icon{width:21px;height:21px}
.quick-copy{display:flex;flex:1;min-width:0;flex-direction:column}
.quick-copy b{font-size:13px;letter-spacing:-.015em}
.quick-copy small{font-size:10px;color:var(--mut);margin-top:2px}
.quick-arrow{width:16px;color:#a3adb7}
.menu-badge{display:grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--bad);color:#fff;font-size:10px;font-weight:800}

/* Data-rich home dashboard */
.dashboard-v2{gap:14px}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.metric-card{min-height:104px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid var(--line);border-radius:16px;background:#fff;padding:14px 16px;box-shadow:0 6px 20px rgba(25,39,52,.035);cursor:pointer;transition:.18s ease}
.metric-card:hover{transform:translateY(-2px);border-color:#bdcbd6;box-shadow:var(--shadow)}
.metric-card.metric-rating{background:linear-gradient(145deg,#fffdf7,#faf3e3);border-color:#ead9b6}
.metric-label{font-size:9px;font-weight:800;letter-spacing:.08em;color:#7a8590}
.metric-value{display:flex;align-items:baseline;gap:4px;line-height:1.2;margin:4px 0 3px}
.metric-value b{font-size:26px;letter-spacing:-.045em}
.metric-value small{font-size:9px;font-weight:800;color:#8b949e}
.metric-value.metric-warn b{color:var(--warn)}
.metric-note{margin-top:auto;font-size:8.5px;color:#87909a}
.stars-note{color:var(--gold-text)}

.dash-main-grid{min-height:330px;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.85fr);gap:14px}
.reviews-preview-panel{min-height:0;display:flex;flex-direction:column}
.panel-link{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--brand);font-size:9.5px;font-weight:800;padding:4px;cursor:pointer}
.panel-link .ui-icon{width:13px;height:13px}
.recent-reviews{min-height:0;display:flex;flex:1;flex-direction:column;margin-top:9px}
.review-skeleton{height:67px;margin:4px 0;border-radius:12px;background:linear-gradient(90deg,#eef1f4,#f8f9fa,#eef1f4);background-size:200% 100%;animation:loading 1.2s infinite}
.review-preview-row{min-height:0;flex:1;display:flex;align-items:center;gap:11px;text-align:left;border:0;border-bottom:1px solid #edf0f2;background:transparent;padding:9px 2px;cursor:pointer}
.review-preview-row:last-child{border-bottom:0}
.review-preview-row:hover{background:#fafbfc}
.review-avatar{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:11px;background:var(--brand-soft);color:var(--brand);font-size:11px;font-weight:800}
.review-preview-copy{min-width:0;display:flex;flex:1;flex-direction:column}
.review-meta{display:flex;align-items:center;gap:8px;min-width:0}
.review-meta b{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px}
.review-stars{color:#d79f32;font-size:9px;letter-spacing:.04em;white-space:nowrap}
.review-meta time{font-size:8px;color:#9aa2aa}
.review-snippet{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9.5px;color:#68727d;margin-top:2px}
.reply-state{font-size:8px;font-weight:800;padding:3px 7px;border-radius:999px;white-space:nowrap}
.reply-state.replied{background:var(--good-soft);color:var(--good)}
.reply-state.unreplied{background:var(--warn-soft);color:var(--warn)}
.review-preview-row>.ui-icon{width:14px;color:#a3adb7}
.dashboard-empty{min-height:150px;display:flex;flex:1;align-items:center;justify-content:center;gap:11px;color:#88929c}
.dashboard-empty>.ui-icon{width:26px;height:26px}
.dashboard-empty span{display:flex;flex-direction:column}
.dashboard-empty b{font-size:11px;color:#5f6974}
.dashboard-empty small{font-size:9px}

.dash-side-column{min-height:0;display:grid;grid-template-rows:.85fr 1.15fr;gap:14px}
.hours-preview-panel,.task-panel{min-height:0;display:flex;flex-direction:column}
.today-hours{display:flex;align-items:center;gap:12px;margin-top:13px}
.hours-icon{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:13px;background:var(--good-soft);color:var(--good)}
.hours-icon.is-closed{background:var(--warn-soft);color:var(--warn)}
.hours-icon.is-muted{background:#eef1f3;color:#89939d}
.today-hours>span:last-child{display:flex;flex-direction:column}
.today-hours small{font-size:8.5px;color:#78828d}
.today-hours b{font-size:20px;letter-spacing:-.03em}
.today-hours em{font-size:12px;font-style:normal;color:#a0a8b0}
.hours-footnote{margin:auto 0 0;padding-top:8px;border-top:1px solid #edf0f2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8.5px;color:#7e8892}
.task-panel .home-alerts{min-height:0;overflow:auto;margin-top:8px}
.task-panel .all-clear{min-height:50px;padding:8px 10px}
.task-panel .all-clear-icon{width:30px;height:30px}
.task-panel .all-clear b{font-size:10.5px}
.task-panel .all-clear small{font-size:8.5px}
.task-panel .alert-row{gap:8px;padding:7px 1px}
.task-panel .alert-copy b{font-size:8.5px;font-weight:700}
.task-panel .alert-action{font-size:8px;white-space:nowrap}
.mini-channel-row{display:flex;align-items:center;gap:6px;margin-top:auto;padding-top:8px;border-top:1px solid #edf0f2}
.mini-channel-row>span{width:25px;height:25px;display:grid;grid-template-columns:1fr 5px;align-items:center;gap:1px;padding:0 5px;border-radius:8px;background:#f1f3f5;color:#7a838d}
.mini-channel-row b{font-size:8px;text-align:center}
.mini-channel-row i{width:4px;height:4px;border-radius:50%;background:#c4cad0}
.mini-channel-row>span.connected{background:var(--good-soft);color:var(--good)}
.mini-channel-row>span.connected i{background:var(--good)}
.mini-channel-row>span.disconnected i{background:#c39542}
.mini-channel-row button{margin-left:auto;display:flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--brand);font-size:8px;font-weight:800;cursor:pointer}
.mini-channel-row button .ui-icon{width:11px;height:11px}

/* Momentum-focused home dashboard */
.dashboard-v3{gap:13px}
.motivation-hero{min-height:160px;display:grid;grid-template-columns:minmax(0,1fr) 90px 150px;align-items:center;gap:12px;position:relative;overflow:hidden;border-radius:21px;padding:22px 27px;color:#fff;background:
  radial-gradient(circle at 78% 15%,rgba(213,170,85,.28),transparent 27%),
  linear-gradient(120deg,#0b2943 0%,#164765 68%,#255970 100%);
  box-shadow:0 16px 34px rgba(12,43,66,.17)}
.motivation-hero:before{content:"";position:absolute;inset:0;opacity:.09;background-image:linear-gradient(rgba(255,255,255,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.18) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(90deg,transparent 25%,#000)}
.motivation-copy{position:relative;z-index:2;min-width:0}
.motivation-copy .section-kicker{color:#a8c3d5}
.motivation-copy h2{max-width:650px;margin:5px 0 3px;font-size:23px;line-height:1.28;letter-spacing:-.035em}
.motivation-copy>p{max-width:620px;margin:0;color:#c9d8e2;font-size:10px}
.motivation-actions{display:flex;align-items:center;gap:8px;margin-top:13px}
.motivation-actions button{display:inline-flex;align-items:center;gap:7px;border-radius:10px;font-size:9.5px;font-weight:800;cursor:pointer}
.motivation-actions .ui-icon{width:14px;height:14px}
.motivation-primary{border:0;background:var(--gold);color:var(--gold-ink);padding:8px 12px}
.motivation-secondary{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.08);color:#fff;padding:7px 11px}
.market-rate-panel{min-width:0;display:flex;flex-direction:column;border-color:#ead9b6;background:linear-gradient(150deg,#fffdf8,#faf3e4);box-shadow:0 8px 24px rgba(125,91,26,.07)}
.market-rate-heading{display:flex;flex:none;align-items:flex-end;justify-content:space-between;gap:8px;margin-bottom:10px}
.market-rate-heading h3{margin:2px 0 0;font-size:14px}
.market-rate-meta{display:flex;align-items:flex-end;flex-direction:column;gap:2px}
.market-rate-meta a{font-size:7px;font-weight:900;letter-spacing:.06em;color:#92712d;text-decoration:none}
.market-rate-meta a:hover{text-decoration:underline}
.market-rate-heading small{font-size:7.5px;color:#92712d;white-space:nowrap}
.market-rate-grid{min-height:0;display:grid;flex:1;grid-template-columns:1fr;grid-template-rows:repeat(5,minmax(0,1fr));gap:6px}
.market-rate-grid>div{min-width:0;display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;border:1px solid rgba(199,160,83,.2);border-radius:10px;background:rgba(255,255,255,.75);padding:7px 9px}
.market-rate-grid span{grid-row:1/3;font-size:8px;font-weight:900;color:#89671f}
.market-rate-grid strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.2;color:var(--ink);letter-spacing:-.03em}
.market-rate-grid small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:7px;color:#7c858c}
.market-rate-grid small.is-up{color:#b26a18}
.market-rate-grid small.is-down{color:#287899}
.market-rate-grid small.is-flat{color:#71808a}
.streak-card{position:relative;z-index:2;justify-self:center;display:flex;align-items:center;flex-direction:column;line-height:1.1}
.streak-card>span{font-size:8px;font-weight:800;letter-spacing:.1em;color:#b9d0df}
.streak-card strong{display:flex;align-items:baseline;margin:4px 0;color:#f4d28c}
.streak-card strong b{font-size:44px;letter-spacing:-.07em}
.streak-card strong small{font-size:12px;margin-left:4px}
.streak-card em{font-size:7.5px;font-style:normal;color:#bdd0db}
.dashboard-mascot-button{width:166px;align-self:end;justify-self:end;position:relative;z-index:2;border:0;background:transparent;padding:0;cursor:pointer}
.dashboard-mascot{width:100%;max-height:158px;display:block;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 12px 12px rgba(0,0,0,.23))}
.dashboard-mascot-button>span{position:absolute;right:0;bottom:10px;border-radius:999px;background:rgba(255,255,255,.92);color:var(--brand);padding:4px 8px;font-size:7px;font-weight:800;opacity:0;transform:translateY(4px);transition:.18s ease}
.dashboard-mascot-button:hover>span,.dashboard-mascot-button:focus-visible>span{opacity:1;transform:none}
.yesterday-summary{border:1px solid var(--line);border-radius:18px;background:#fff;padding:15px 17px;box-shadow:0 7px 22px rgba(25,39,52,.035)}
.summary-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:11px}
.summary-heading h3{margin:3px 0 0;font-size:14px}
.dashboard-status-strip{display:flex;align-items:center;gap:6px}
.compact-status{display:inline-flex;align-items:center;gap:5px;border:0;border-radius:999px;background:#f0f3f5;color:#61717e;padding:5px 9px;font-size:8px;font-weight:800;cursor:pointer}
.compact-status .ui-icon{width:12px;height:12px}
.compact-status:hover{background:var(--brand-soft);color:var(--brand)}
.yesterday-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.yesterday-kpi{min-width:0;min-height:76px;display:flex;align-items:center;gap:10px;text-align:left;border:1px solid #e7ebef;border-radius:13px;background:#fafbfc;padding:10px 12px;cursor:pointer}
.yesterday-kpi:hover{border-color:#becbd5;background:#fff}
.yesterday-kpi.is-primary{border-color:#ead6ad;background:linear-gradient(145deg,#fffdf8,#faf3e5)}
.yesterday-kpi.is-streak{border-color:#dcebe4;background:linear-gradient(145deg,#fbfefc,#edf7f2)}
.kpi-icon{width:35px;height:35px;display:grid;place-items:center;flex:none;border-radius:10px;background:#fff;color:var(--brand);box-shadow:0 4px 11px rgba(29,47,63,.06)}
.kpi-icon .ui-icon{width:17px;height:17px}
.yesterday-kpi>span:last-child{min-width:0;display:flex;flex-direction:column}
.yesterday-kpi small{font-size:8px;font-weight:800;color:#77828d}
.yesterday-kpi strong{display:flex;align-items:baseline;line-height:1.1}
.yesterday-kpi strong b{font-size:23px;letter-spacing:-.04em}
.yesterday-kpi strong{font-size:9px}
.yesterday-kpi em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:7.5px;font-style:normal;color:#8a949e}
.dashboard-ops-grid{min-height:250px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.activity-panel,.compact-reviews-panel{min-height:0;padding:18px 20px}
.activity-count{font-size:8px;font-weight:800;color:var(--brand);background:var(--brand-soft);border-radius:999px;padding:4px 8px}
.activity-breakdown{display:flex;flex-wrap:wrap;gap:5px;min-height:18px;margin:9px 0 5px}
.activity-breakdown span{font-size:7.5px;color:#6d7781;background:#f0f2f4;border-radius:999px;padding:3px 7px}
.activity-breakdown span.is-platform{color:var(--brand);background:var(--brand-soft)}
.activity-breakdown b{font-size:8px}
.activity-list{display:flex;flex-direction:column}
.activity-row{min-height:41px;display:grid;grid-template-columns:31px minmax(0,1fr) 40px 22px;align-items:center;gap:9px;border-bottom:1px solid #edf0f2;padding:5px 1px}
.activity-row:last-child{border-bottom:0}
.activity-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:var(--brand-soft);color:var(--brand)}
.activity-icon.is-reviewReply{background:var(--good-soft);color:var(--good)}
.activity-icon.is-hours{background:var(--gold-soft);color:var(--gold-text)}
.activity-icon .ui-icon{width:14px;height:14px}
.activity-copy{min-width:0;display:flex;flex-direction:column}
.activity-copy b{font-size:9.5px}
.activity-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:7.5px;color:#85909a}
.activity-row time{font-size:7.5px;color:#8b949d}
.activity-done{width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:var(--good-soft);color:var(--good)}
.activity-done .ui-icon{width:11px;height:11px}
.activity-empty{min-height:118px;display:flex;align-items:center;gap:11px;border-radius:12px;background:#f7f9fa;padding:14px}
.activity-empty>span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--gold-soft);color:var(--gold-text)}
.activity-empty>span .ui-icon{width:18px;height:18px}
.activity-empty>div{display:flex;flex:1;flex-direction:column}
.activity-empty b{font-size:10px}
.activity-empty small{font-size:8px;color:#7f8992}
.activity-empty button{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--brand);font-size:8px;font-weight:800;cursor:pointer}
.activity-empty button .ui-icon{width:12px;height:12px}
.review-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:10px 0 5px}
.review-overview>span{display:flex;align-items:baseline;justify-content:center;gap:2px;border-radius:9px;background:#f5f7f8;padding:6px 5px}
.review-overview b{font-size:16px;line-height:1}
.review-overview small{font-size:7px;color:#7f8992}
.recent-reviews.compact{margin-top:3px}
.recent-reviews.compact .review-preview-row{min-height:60px;padding:7px 1px}
.recent-reviews.compact .review-avatar{width:30px;height:30px}
.recent-reviews.compact .reply-state{display:none}

/* First-login tutorial */
.tutorial-overlay{position:fixed;inset:0;z-index:50;display:grid;place-items:center;background:rgba(8,24,37,.55);padding:24px;backdrop-filter:blur(7px)}
.tutorial-card{width:min(650px,100%);min-height:300px;display:grid;grid-template-columns:230px 1fr;align-items:center;position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.72);border-radius:25px;background:linear-gradient(145deg,#f7fbfd,#fff 58%,#fbf5e8);padding:27px 32px 24px 15px;box-shadow:0 28px 80px rgba(5,22,35,.28)}
.tutorial-card>img{width:225px;max-height:250px;object-fit:contain;filter:drop-shadow(0 15px 15px rgba(16,43,61,.15))}
.tutorial-close{width:34px;height:34px;display:grid;place-items:center;position:absolute;right:14px;top:13px;border:0;border-radius:50%;background:#eef1f3;color:#6d7780;font-size:18px;cursor:pointer}
.tutorial-copy{min-width:0}
.tutorial-copy h2{font-size:25px;line-height:1.3;margin:6px 0 8px}
.tutorial-copy>p{min-height:53px;margin:0;color:#63717d;font-size:12px}
.tutorial-progress{display:flex;gap:6px;margin:18px 0}
.tutorial-progress i{width:7px;height:7px;border-radius:50%;background:#d4d9de}
.tutorial-progress i.active{width:22px;border-radius:999px;background:var(--gold)}
.tutorial-actions{display:flex;justify-content:flex-end;gap:8px}
.tutorial-actions .btn{width:auto;font-size:11px;padding:8px 14px}

/* Category-aware post creator */
.post-page-card{margin-bottom:0;padding:22px 24px 24px}
.post-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}
.post-page-heading h2{margin:4px 0 0}
.post-page-heading p{max-width:420px;margin:0;color:var(--mut);font-size:10.5px}
.post-category-section{margin-bottom:15px}
.post-step-heading{display:flex;align-items:center;gap:9px}
.post-step-number{width:25px;height:25px;display:grid;place-items:center;flex:none;border-radius:8px;background:var(--brand);color:#fff;font-size:10px;font-weight:900}
.post-step-heading>div{display:flex;flex-direction:column;line-height:1.3}
.post-step-heading b{font-size:12px}
.post-step-heading small{font-size:8.5px;color:#8a949e}
.post-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:9px}
.post-category-option{min-width:0;min-height:63px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;position:relative;text-align:left;border:1px solid var(--line);border-radius:13px;background:#fff;padding:9px 10px;cursor:pointer;transition:.18s ease}
.post-category-option:hover{border-color:#b8c8d4;background:#fbfcfd;transform:translateY(-1px)}
.post-category-option.active{border-color:#d7b463;background:linear-gradient(145deg,#fffdf8,#faf2df);box-shadow:0 6px 18px rgba(137,101,30,.09)}
.post-category-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f0f3f5;font-size:16px}
.post-category-option.active .post-category-icon{background:#eed59c}
.post-category-option>span:nth-child(2){min-width:0;display:flex;flex-direction:column}
.post-category-option b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px}
.post-category-option small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8a949e;font-size:8px}
.post-category-option i{display:none;position:absolute;right:7px;top:6px;color:var(--gold-text);font-size:6.5px;font-style:normal;font-weight:900}
.post-category-option.active i{display:block}
.post-editor-card{border:1px solid var(--line);border-radius:16px;background:#fafbfc;padding:16px}
.post-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:11px}
.post-current-type{font-size:8px;font-weight:900;color:var(--brand);background:var(--brand-soft);border-radius:999px;padding:4px 9px}
.post-category-notice{display:flex;align-items:center;gap:10px;border-radius:11px;background:var(--brand-soft);color:var(--brand);padding:9px 11px;margin-bottom:11px}
.post-category-notice>span{width:28px;height:28px;display:grid;place-items:center;flex:none;border-radius:8px;background:#fff;font-size:13px}
.post-category-notice>div{display:flex;flex-direction:column;line-height:1.4}
.post-category-notice b{font-size:10.5px}
.post-category-notice small{font-size:8.5px;color:#63798b}
.post-editor-grid{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr);gap:14px}
.post-editor-grid.is-single{grid-template-columns:1fr}
.post-field-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.post-field-heading label,.post-content-column>label{margin:0;color:var(--ink);font-size:11px}
.post-field-heading>span{font-size:7.5px;font-weight:900;color:#72808c;background:#edf0f2;border-radius:999px;padding:3px 7px}
.post-field-heading>span.is-required{color:var(--bad);background:var(--bad-soft)}
.post-field-help{min-height:28px;margin:3px 0 7px;color:#87919b;font-size:8.5px;line-height:1.5}
.post-upload-zone{min-height:160px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;margin:0;border:1px dashed #bdc9d3;border-radius:12px;background:#fff;cursor:pointer;transition:.18s ease}
.post-upload-zone:hover{border-color:#789bb5;background:#f8fbfd}
.post-upload-zone.has-preview{border-style:solid;border-color:#c7d2da;background:#eef2f5}
.post-upload-zone input{display:none}
.post-upload-control{min-width:0;display:flex;align-items:center;gap:11px;position:relative;z-index:2}
.post-upload-zone.has-preview .post-upload-control{display:none}
.post-upload-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--brand-soft);color:var(--brand)}
.post-upload-icon .ui-icon{width:18px;height:18px}
.post-upload-copy{min-width:0;display:flex;flex-direction:column}
.post-upload-zone b{font-size:10.5px}
.post-upload-zone small{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8a949e;font-size:8px}
.post-photo-preview{width:100%;height:100%;position:absolute;inset:0;object-fit:contain;background:#eef2f5}
.post-photo-actions{display:none;position:absolute;right:10px;bottom:10px;z-index:3;gap:8px}
.post-upload-zone.has-preview .post-photo-actions{display:flex}
.post-photo-btn{font-family:inherit;font-size:10px;font-weight:800;color:var(--ink);background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:8px;padding:6px 12px;cursor:pointer;box-shadow:0 2px 8px rgba(22,36,50,.16);transition:.15s ease}
.post-photo-btn:hover{background:#fff;border-color:var(--brand);color:var(--brand)}
.post-photo-btn.danger:hover{border-color:var(--bad);color:var(--bad)}
.post-content-column textarea{min-height:103px;resize:vertical;font-size:12px}
.post-flow-hint{margin:8px 0 0;padding:8px 11px;background:var(--brand-soft);border-radius:9px;color:var(--brand-mid);font-size:9.5px;line-height:1.6}
.post-flow-hint b{color:var(--brand)}
.post-prompt-points{display:flex;align-items:center;gap:8px;margin-top:7px}
.post-prompt-points>span{flex:none;color:#87919b;font-size:8px}
.post-prompt-points>div{display:flex;flex-wrap:wrap;gap:5px}
.post-prompt-points button{border:1px solid #d8e0e6;border-radius:999px;background:#fff;color:#607383;padding:3px 8px;font-size:7.5px;font-weight:700;cursor:pointer}
.post-prompt-points button:hover{border-color:#9eb4c4;color:var(--brand)}
.post-editor-action{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:13px;padding-top:12px;border-top:1px solid #e7ebef}
.post-editor-action p{margin:0;color:#87919b;font-size:8.5px}
.post-editor-action .btn{width:auto;padding:9px 15px;font-size:11px}

/* Draft output (step 3) */
.draft-loading{display:flex;align-items:center;gap:12px;padding:22px 16px;color:var(--mut);font-size:12px;font-weight:700;background:var(--brand-soft);border-radius:12px}
.draft-loading .ui-icon{width:22px;height:22px;color:var(--brand);animation:spin 1.2s linear infinite;flex:none}
.draft-loading small{color:var(--mut);font-weight:500}
.draft-item{margin-top:14px}
.draft-item .draft-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.draft-item .draft-head b{font-size:12px;color:var(--ink)}
.draft-item textarea{min-height:118px;font-size:12px;line-height:1.7}
.draft-item .draft-count{margin-left:auto;font-size:10px;color:var(--mut);font-weight:700}
.draft-item .draft-count.over{color:var(--bad)}
@keyframes spin{to{transform:rotate(360deg)}}

/* Business hours editor */
.hours-page-card{margin-bottom:0}
.hours-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:17px}
.hours-page-heading h2{margin:4px 0 0}
.hours-sync-note{font-size:9px;font-weight:800;color:var(--brand);background:var(--brand-soft);border-radius:999px;padding:4px 10px}
.hours-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.85fr);gap:16px}
.hours-regular-section,.hours-special-section{min-width:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;background:#fafbfc;padding:18px}
.hours-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}
.hours-section-heading h3{font-size:13px;color:var(--ink);margin:2px 0 0}
.hours-section-heading p{font-size:8.5px;color:#87919b;margin:0}
.hours-step{display:block;font-size:7px;font-weight:900;letter-spacing:.16em;color:var(--gold-text)}
.hours-day-list{display:flex;flex-direction:column;gap:5px}
.hours-day-row{min-height:43px;display:grid;grid-template-columns:27px 78px minmax(92px,1fr) 12px minmax(92px,1fr);align-items:center;gap:7px;border:1px solid #e7ebef;border-radius:11px;background:#fff;padding:5px 9px}
.hours-day-name{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:var(--brand-soft);color:var(--brand);font-size:10px}
.hours-closed-check{display:flex;align-items:center;gap:5px;margin:0;font-size:9px;font-weight:700;color:#737e89;white-space:nowrap}
.hours-closed-check input,.special-closed-check input{width:auto;margin:0}
.hours-time-input{height:31px;min-width:0;border:0;border-radius:8px;background:#f3f5f7;padding:5px 7px;font-size:10px;font-weight:700}
.hours-time-input:disabled{color:#a0a8b0;background:#f1f2f3;opacity:.7}
.hours-separator{text-align:center;color:#88939e}
.hours-save-button{width:100%;min-height:38px;margin-top:10px;font-size:11px}

.special-hours-list{min-height:72px;max-height:140px;overflow:auto;display:flex;flex-direction:column;gap:5px;margin-bottom:11px}
.special-hours-row{display:grid;grid-template-columns:88px 1fr auto;align-items:center;gap:8px;border:1px solid #e5e9ed;border-radius:10px;background:#fff;padding:7px 9px}
.special-hours-date{display:flex;flex-direction:column;font-size:9px;font-weight:800;line-height:1.35}
.special-hours-date small{font-size:7px;color:#89939d;font-weight:700}
.special-hours-value{font-size:9px;color:var(--brand);font-weight:800}
.special-hours-value.is-closed{color:var(--bad)}
.special-delete{border:0;background:transparent;color:#929ba4;font-size:8px;font-weight:800;cursor:pointer}
.special-empty{min-height:72px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px dashed #d9dfe5;border-radius:11px;color:#8d97a1}
.special-empty>span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:var(--good-soft);color:var(--good);margin-bottom:4px}
.special-empty .ui-icon{width:13px;height:13px}
.special-empty b{font-size:9px;color:#69747e}
.special-empty small{font-size:7.5px}
.special-hours-form{display:flex;flex-direction:column;gap:9px;border-radius:13px;background:#fff;border:1px solid #e5e9ed;padding:12px}
.special-date-range{display:grid;grid-template-columns:1fr 10px 1fr;align-items:end;gap:6px}
.special-range-separator{text-align:center;padding-bottom:8px;color:#89939c}
.special-date-field,.special-time-fields label{display:flex;flex-direction:column;gap:3px;margin:0}
.special-date-field>span,.special-time-fields label>span{font-size:8px;font-weight:800;color:#75808a}
.special-date-field input{height:35px;font-size:10px}
.special-closed-check{display:flex;align-items:center;gap:8px;margin:0;padding:7px 9px;border-radius:9px;background:var(--warn-soft);color:var(--warn)}
.special-closed-check>span{display:flex;flex-direction:column}
.special-closed-check b{font-size:9px}
.special-closed-check small{font-size:7px;font-weight:500}
.special-time-fields{display:grid;grid-template-columns:1fr 10px 1fr;align-items:end;gap:6px}
.special-time-fields>span{text-align:center;padding-bottom:8px;color:#89939c}
.special-time-fields input{height:35px;font-size:10px}
.special-add-button{width:100%;min-height:36px;font-size:10px}
.hours-help{margin:auto 0 0;padding-top:9px;font-size:7.5px;color:#84909a}

/* Login */
/* Googleログインボタン */
.google-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;color:#3c4043;border:1.5px solid var(--line);font-weight:800;font-size:14px;padding:12px;border-radius:11px;cursor:pointer;transition:.15s ease}
.google-btn:hover{border-color:#c7d2da;box-shadow:0 2px 10px rgba(22,36,50,.08)}
.google-g{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:conic-gradient(from -45deg,#ea4335 0 25%,#fbbc05 0 50%,#34a853 0 75%,#4285f4 0);color:#fff;font-weight:900;font-size:13px;font-family:Arial,sans-serif}

.brandmark{text-align:center;margin-bottom:20px}
.brandmark .logo{width:48px;height:48px;border-radius:14px;background:var(--brand);color:#fff;font-weight:800;font-size:20px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 10px 25px rgba(21,58,91,.2)}
.brandmark h1{font-size:21px;margin:12px 0 2px}
.brandmark p{font-size:12px;color:var(--mut);margin:0}

@media(max-width:860px){
  .dashboard-hero{padding:34px;min-height:320px}
  .hero-cta{left:34px;right:34px;bottom:30px;min-width:0}
  .dashboard-grid{grid-template-columns:1fr}
  .quick-grid{grid-template-columns:1fr}
  .quick-card{min-height:84px}
  .metric-grid{grid-template-columns:1fr 1fr}
  .dash-main-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .hd{height:62px;padding:0 16px}
  .brand-copy small{display:none}
  .hd .logo{width:31px;height:31px}
  .hd-store-context{gap:7px;margin-left:9px}
  .hd-store-divider{height:25px}
  .hd-store-copy small,.hd-store-context .store-state,.header-contract,.header-admin{display:none}
  .hd-store-copy strong{max-width:105px;font-size:10px}
  .hd .sp{gap:4px}
  .header-logout{font-size:0;width:35px;height:35px;border-radius:50%;background:#f0f2f4;position:relative}
  .header-logout:after{content:"↗";font-size:15px;position:absolute;inset:0;display:grid;place-items:center;transform:rotate(45deg)}
  .wrap{padding:24px 14px 58px}
  .workspace-head{align-items:flex-start;margin-bottom:16px}
  .workspace-name-row{align-items:flex-start;flex-direction:column;gap:6px}
  .workspace-name-row h1{font-size:19px}
  .workspace-actions{flex-direction:column;align-items:flex-end}
  .owner-nav{margin:0 -14px 18px;padding:0 14px}
  .tabbar{background:transparent;padding:0;gap:5px}
  .tab{min-width:76px;height:40px;border:1px solid var(--line);background:#fff}
  .tab .ui-icon{display:none}
  .dashboard{gap:14px}
  .dashboard-hero{min-height:332px;padding:27px 24px;border-radius:20px}
  .hero-copy h2{font-size:28px}
  .hero-copy>p:last-child{font-size:11px;max-width:270px}
  .hero-cta{left:22px;right:22px;bottom:22px;padding:12px}
  .hero-cta-icon{width:42px;height:42px}
  .dashboard-panel{padding:19px;border-radius:17px}
  .channel-list{grid-template-columns:1fr 1fr}
  .quick-heading p{display:none}
  .quick-grid{gap:9px}
  .card{padding:18px;border-radius:16px}
  .metric-card{min-height:90px;padding:12px}
  .dash-side-column{grid-template-rows:auto auto}
  .hours-layout{grid-template-columns:1fr}
  .motivation-hero{min-height:230px;grid-template-columns:1fr 95px;padding:20px}
  .motivation-copy{grid-column:1/-1;padding-right:70px}
  .motivation-copy h2{font-size:21px}
  .streak-card{position:absolute;right:18px;top:20px}
  .streak-card strong b{font-size:34px}
  .dashboard-mascot-button{width:105px;position:absolute;right:13px;bottom:0}
  .dashboard-mascot{max-height:105px}
  .motivation-actions{align-items:flex-start;flex-direction:column}
  .yesterday-kpis{grid-template-columns:1fr 1fr}
  .dashboard-status-strip{align-items:flex-end;flex-direction:column}
  .dashboard-ops-grid{grid-template-columns:1fr}
  .tutorial-card{grid-template-columns:1fr;text-align:center;padding:22px}
  .tutorial-card>img{width:140px;max-height:145px;margin:auto}
  .tutorial-actions{justify-content:center}
  .post-page-heading{align-items:flex-start;flex-direction:column;gap:5px}
  .post-category-grid{grid-template-columns:1fr 1fr}
  .post-category-option:last-child{grid-column:1/-1}
  .post-editor-grid{grid-template-columns:1fr}
  .post-editor-action{align-items:stretch;flex-direction:column}
  .post-editor-action .btn{width:100%}
}
@media(max-width:390px){
  .tab{min-width:70px;font-size:11px}
  .hero-cta b{font-size:13px}
  .channel-list{grid-template-columns:1fr}
}

/* iPad / tablet landscape: keep the whole home dashboard within one viewport */
@media (min-width:768px) and (max-width:1366px) and (orientation:landscape) and (max-height:1024px){
  .hd{height:56px;padding:0 24px}
  .hd .logo{width:30px;height:30px;border-radius:9px}
  .hd .logo i{height:15px;top:7px}
  .hd .logo i:nth-child(1){left:7px}
  .hd .logo i:nth-child(2){left:12px}
  .hd .logo i:nth-child(3){left:17px}
  .hd .t{font-size:15px}
  .brand-copy small{font-size:6px;margin-top:3px}
  .hd-store-context{gap:8px;margin-left:14px}
  .hd-store-divider{height:27px}
  .hd-store-copy strong{max-width:230px;font-size:13px}
  .hd-store-context .store-state{font-size:8px;padding:3px 7px}
  .header-contract .pill{font-size:8px;padding:3px 7px}
  .header-admin{font-size:9px}
  .header-logout{font-size:10px}

  .owner-wrap{max-width:none;padding:9px 22px 10px}
  .owner-nav{margin-bottom:9px}
  .tabbar{height:42px;padding:4px;border-radius:11px}
  .tab{height:34px;min-width:88px;border-radius:8px;font-size:12px}
  .tab .ui-icon{width:15px;height:15px}

  .dashboard-v2{
    height:calc(100dvh - 126px);
    min-height:450px;
    max-height:820px;
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:86px minmax(0,1fr);
    gap:8px;
  }
  .metric-grid{gap:8px}
  .metric-card{min-height:0;height:86px;border-radius:12px;padding:10px 13px}
  .metric-label{font-size:9px}
  .metric-value{margin:2px 0}
  .metric-value b{font-size:25px}
  .metric-value small{font-size:9px}
  .metric-note{font-size:8.5px}

  .dash-main-grid{
    min-height:0;
    display:grid;
    grid-template-columns:minmax(0,1.58fr) minmax(300px,.82fr);
    gap:8px;
  }
  .dash-side-column{grid-template-rows:.78fr 1.22fr;gap:8px}
  .dashboard-panel{min-height:0;padding:15px 16px;border-radius:13px}
  .panel-heading{align-items:center}
  .section-kicker{font-size:7px}
  .panel-heading h3{font-size:13px;margin-top:2px}
  .panel-link{font-size:9px}
  .recent-reviews{margin-top:5px}
  .review-preview-row{gap:10px;padding:7px 1px}
  .review-avatar{width:32px;height:32px;border-radius:9px;font-size:10px}
  .review-meta{gap:7px}
  .review-meta b{font-size:10.5px}
  .review-stars{font-size:8.5px}
  .review-meta time{font-size:8px}
  .review-snippet{font-size:9.5px}
  .reply-state{font-size:8px;padding:3px 7px}
  .review-preview-row>.ui-icon{width:13px}
  .dashboard-empty{min-height:80px}
  .today-hours{gap:9px;margin-top:8px}
  .hours-icon{width:38px;height:38px;border-radius:10px}
  .today-hours small{font-size:8px}
  .today-hours b{font-size:18px}
  .hours-footnote{padding-top:5px;font-size:8px}
  .task-count{font-size:9px;padding:3px 7px}
  .task-panel .home-alerts{max-height:calc(100% - 66px);margin-top:5px}
  .task-panel .all-clear{min-height:40px;padding:5px 8px}
  .task-panel .all-clear-icon{width:26px;height:26px}
  .task-panel .all-clear b{font-size:10px}
  .task-panel .all-clear small{font-size:8px}
  .task-panel .alert-row{padding:5px 1px}
  .task-panel .alert-copy b{font-size:8.5px}
  .task-panel .alert-action{font-size:8px}
  .mini-channel-row{gap:4px;padding-top:5px}
  .mini-channel-row>span{width:22px;height:22px}
  .mini-channel-row button{font-size:7px}

  .dashboard-v3{height:calc(100dvh - 126px);min-height:450px;max-height:820px;display:grid;grid-template-rows:120px 116px minmax(0,1fr);gap:7px}
  .motivation-hero{min-height:0;grid-template-columns:minmax(0,1fr) 72px 110px;gap:7px;border-radius:14px;padding:13px 18px}
  .motivation-copy h2{font-size:18px;margin-top:3px}
  .motivation-copy>p{font-size:8.5px}
  .motivation-actions{margin-top:8px}
  .motivation-actions button{font-size:8px;padding:6px 9px}
  .streak-card strong{margin:2px 0}
  .streak-card strong b{font-size:34px}
  .dashboard-mascot-button{width:98px;max-height:94px}
  .dashboard-mascot{max-height:94px}
  .yesterday-summary{min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:9px 11px;border-radius:13px}
  .summary-heading{flex:none;margin-bottom:6px}
  .summary-heading h3{font-size:11.5px}
  .compact-status{font-size:7px;padding:3px 7px}
  .compact-status .ui-icon{width:10px;height:10px}
  .yesterday-kpis{min-height:0;flex:1;gap:6px}
  .yesterday-kpi{height:100%;min-height:0;gap:7px;border-radius:10px;padding:6px 8px}
  .kpi-icon{width:29px;height:29px;border-radius:8px}
  .yesterday-kpi small{font-size:7px}
  .yesterday-kpi strong b{font-size:18px}
  .yesterday-kpi em{font-size:6.5px}
  .dashboard-ops-grid{min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .activity-panel,.market-rate-panel,.compact-reviews-panel{min-height:0;padding:11px 13px;border-radius:12px}
  .market-rate-heading{margin-bottom:6px}
  .market-rate-heading h3{font-size:11px}
  .market-rate-heading small{font-size:6px}
  .market-rate-grid{gap:4px}
  .market-rate-grid>div{grid-template-columns:42px minmax(0,1fr);padding:5px 7px;border-radius:8px}
  .market-rate-grid span{font-size:7px}
  .market-rate-grid strong{font-size:12px}
  .market-rate-grid small{font-size:6px}
  .activity-breakdown{margin:5px 0 2px}
  .activity-breakdown span{font-size:6.5px;padding:2px 6px}
  .activity-row{min-height:35px;grid-template-columns:27px minmax(0,1fr) 34px 19px;gap:6px;padding:3px 0}
  .activity-row:nth-child(n+5){display:none}
  .activity-icon{width:25px;height:25px}
  .activity-copy b{font-size:8.5px}
  .activity-copy small,.activity-row time{font-size:6.5px}
  .activity-done{width:17px;height:17px}
  .activity-empty{min-height:80px}
  .review-overview{margin:6px 0 2px}
  .review-overview>span{padding:4px}
  .review-overview b{font-size:13px}
  .review-overview small{font-size:6px}
  .recent-reviews.compact .review-preview-row{min-height:48px;padding:4px 0}
  .recent-reviews.compact .review-avatar{width:27px;height:27px}
  .tutorial-card{width:min(610px,86vw);min-height:255px;grid-template-columns:190px 1fr;padding:20px 27px 18px 12px}
  .tutorial-card>img{width:185px;max-height:205px}
  .tutorial-copy h2{font-size:21px}
  .tutorial-copy>p{font-size:10.5px}

  .post-page-card{height:calc(100dvh - 126px);min-height:450px;max-height:820px;overflow:auto;padding:14px 16px}
  .post-page-heading{margin-bottom:9px}
  .post-page-heading h2{font-size:20px;margin-top:1px}
  .post-page-heading p{font-size:8.5px}
  .post-category-section{margin-bottom:9px}
  .post-step-number{width:23px;height:23px;font-size:9px}
  .post-step-heading b{font-size:10.5px}
  .post-step-heading small{font-size:7.5px}
  .post-category-grid{gap:6px;margin-top:6px}
  .post-category-option{min-height:51px;grid-template-columns:29px minmax(0,1fr);gap:7px;border-radius:10px;padding:6px 7px}
  .post-category-icon{width:29px;height:29px;border-radius:8px;font-size:14px}
  .post-category-option b{font-size:9px}
  .post-category-option small{font-size:7px}
  .post-editor-card{padding:11px 12px;border-radius:12px}
  .post-editor-heading{margin-bottom:7px}
  .post-category-notice{padding:6px 8px;margin-bottom:7px}
  .post-category-notice>span{width:24px;height:24px}
  .post-category-notice b{font-size:9px}
  .post-category-notice small{font-size:7.5px}
  .post-editor-grid{grid-template-columns:minmax(200px,.65fr) minmax(0,1.35fr);gap:10px}
  .post-editor-grid.is-single{grid-template-columns:1fr}
  .post-field-help{min-height:23px;margin:2px 0 5px;font-size:7.5px}
  .post-upload-zone{min-height:150px}
  .post-content-column textarea{min-height:80px;padding:8px 10px;font-size:10.5px}
  .post-prompt-points{margin-top:5px}
  .post-prompt-points>span{font-size:7px}
  .post-prompt-points button{font-size:7px;padding:2px 6px}
  .post-editor-action{margin-top:8px;padding-top:8px}
  .post-editor-action .btn{padding:7px 12px;font-size:9.5px}

  .hours-page-card{height:calc(100dvh - 126px);min-height:450px;max-height:820px;display:flex;flex-direction:column;padding:16px}
  .hours-page-heading{flex:none;align-items:center;margin-bottom:8px}
  .hours-page-heading h2{font-size:20px;margin-top:1px}
  .hours-sync-note{font-size:9px;padding:4px 9px}
  #hoursMsg{flex:none}
  #hoursMsg:empty{display:none}
  #hoursBody{min-height:0;display:flex;flex:1;flex-direction:column}
  .hours-layout{min-height:0;height:100%;grid-template-columns:minmax(0,1.35fr) minmax(320px,.82fr);gap:9px}
  .hours-regular-section,.hours-special-section{min-height:0;padding:13px;border-radius:12px}
  .hours-section-heading{margin-bottom:7px}
  .hours-section-heading h3{font-size:12.5px}
  .hours-section-heading p{font-size:8px}
  .hours-day-list{min-height:0;flex:1;gap:4px}
  .hours-day-row{min-height:0;flex:1;grid-template-columns:24px 68px minmax(82px,1fr) 9px minmax(82px,1fr);gap:5px;border-radius:9px;padding:3px 7px}
  .hours-day-name{width:25px;height:25px;font-size:10px}
  .hours-closed-check{font-size:9px}
  .hours-time-input{height:33px;font-size:10.5px}
  .hours-save-button{min-height:38px;margin-top:7px;font-size:10px;padding:8px 10px}
  .special-hours-list{min-height:54px;max-height:none;flex:1;margin-bottom:7px}
  .special-hours-row{padding:5px 7px}
  .special-empty{min-height:54px}
  .special-hours-form{flex:none;gap:7px;padding:10px}
  .special-date-field input,.special-time-fields input{height:34px;padding:6px 8px;font-size:10px}
  .special-closed-check{padding:6px 8px}
  .special-closed-check small{display:none}
  .special-add-button{min-height:35px;padding:7px 10px;font-size:9.5px}
  .hours-help{padding-top:6px;font-size:7.5px}
}

/* Wide desktop: use the available canvas and increase reading size */
@media (min-width:1367px){
  .wrap{width:100%;max-width:1600px;padding:14px 32px 40px}
  .owner-nav{margin-bottom:10px}
  .tabbar{height:50px;padding:5px;border-radius:15px}
  .tab{height:40px;font-size:14px}
  .tab .ui-icon{width:19px;height:19px}

  .metric-grid{gap:16px}
  .metric-card{min-height:116px;padding:17px 20px;border-radius:18px}
  .metric-label{font-size:10.5px}
  .metric-value b{font-size:32px}
  .metric-value small{font-size:11px}
  .metric-note{font-size:10px}
  .dash-main-grid{min-height:410px;grid-template-columns:minmax(0,1.6fr) minmax(380px,.82fr);gap:18px}
  .dash-side-column{gap:18px}
  .dashboard-panel{padding:27px;border-radius:20px}
  .panel-heading h3{font-size:18px}
  .section-kicker{font-size:9px}
  .panel-link{font-size:11px}
  .review-preview-row{gap:14px;padding:12px 3px}
  .review-avatar{width:40px;height:40px;font-size:13px}
  .review-meta b{font-size:13px}
  .review-stars{font-size:11px}
  .review-meta time{font-size:10px}
  .review-snippet{font-size:12px;margin-top:4px}
  .reply-state{font-size:10px;padding:4px 9px}
  .today-hours b{font-size:25px}
  .today-hours small,.hours-footnote{font-size:10px}
  .task-panel .alert-copy b{font-size:11px}
  .task-panel .alert-action{font-size:10px}

  .dashboard-v3{gap:14px}
  .motivation-hero{min-height:176px;grid-template-columns:minmax(0,1fr) 115px 170px;gap:16px;padding:25px 32px}
  .motivation-copy h2{font-size:28px}
  .motivation-copy>p{font-size:12px}
  .motivation-actions button{font-size:11px;padding:9px 14px}
  .streak-card>span{font-size:9.5px}
  .streak-card strong b{font-size:50px}
  .streak-card em{font-size:9px}
  .dashboard-mascot-button{width:185px}
  .dashboard-mascot{max-height:174px}
  .yesterday-summary{padding:17px 20px}
  .summary-heading h3{font-size:17px}
  .compact-status{font-size:9.5px;padding:6px 11px}
  .yesterday-kpi{min-height:86px;padding:12px 15px}
  .kpi-icon{width:40px;height:40px}
  .kpi-icon .ui-icon{width:20px;height:20px}
  .yesterday-kpi small{font-size:9.5px}
  .yesterday-kpi strong b{font-size:28px}
  .yesterday-kpi em{font-size:9px}
  .dashboard-ops-grid{min-height:285px;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
  .activity-panel,.market-rate-panel,.compact-reviews-panel{padding:21px 24px}
  .market-rate-heading h3{font-size:16px}
  .market-rate-heading small{font-size:8px}
  .market-rate-grid>div{grid-template-columns:58px minmax(0,1fr);padding:8px 10px}
  .market-rate-grid span{font-size:9px}
  .market-rate-grid strong{font-size:17px}
  .market-rate-grid small{font-size:8px}
  .activity-count{font-size:9.5px}
  .activity-breakdown span{font-size:9px}
  .activity-row{min-height:46px;grid-template-columns:34px minmax(0,1fr) 46px 24px}
  .activity-icon{width:32px;height:32px}
  .activity-copy b{font-size:11px}
  .activity-copy small,.activity-row time{font-size:8.5px}
  .review-overview b{font-size:19px}
  .review-overview small{font-size:8px}

  .post-page-card{padding:20px 24px 24px}
  .post-page-heading h2{font-size:25px}
  .post-page-heading p{font-size:12px}
  .post-category-section{margin-bottom:17px}
  .post-step-number{width:29px;height:29px;font-size:12px}
  .post-step-heading b{font-size:14px}
  .post-step-heading small{font-size:10px}
  .post-category-grid{gap:10px;margin-top:10px}
  .post-category-option{min-height:72px;grid-template-columns:39px minmax(0,1fr);gap:11px;padding:10px 12px}
  .post-category-icon{width:39px;height:39px;font-size:18px}
  .post-category-option b{font-size:12.5px}
  .post-category-option small{font-size:9.5px}
  .post-editor-card{padding:18px 20px}
  .post-editor-heading{margin-bottom:13px}
  .post-current-type{font-size:9.5px;padding:5px 11px}
  .post-category-notice{padding:10px 13px}
  .post-category-notice b{font-size:12px}
  .post-category-notice small{font-size:10px}
  .post-editor-grid{grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);gap:18px}
  .post-field-heading label,.post-content-column>label{font-size:13px}
  .post-field-help{font-size:10px}
  .post-upload-zone{min-height:180px}
  .post-upload-zone b{font-size:12px}
  .post-upload-zone small{font-size:9.5px}
  .post-content-column textarea{min-height:112px;font-size:13px}
  .post-prompt-points>span{font-size:9px}
  .post-prompt-points button{font-size:9px;padding:4px 9px}
  .post-editor-action p{font-size:10px}
  .post-editor-action .btn{padding:10px 17px;font-size:12px}

  .hours-page-card{padding:18px 24px 22px}
  .hours-page-heading{margin-bottom:10px}
  .hours-page-heading h2{font-size:25px}
  .hours-sync-note{font-size:11px;padding:5px 12px}
  .hours-layout{grid-template-columns:minmax(0,1.42fr) minmax(430px,.86fr);gap:22px}
  .hours-regular-section,.hours-special-section{padding:22px;border-radius:19px}
  .hours-section-heading{margin-bottom:15px}
  .hours-section-heading h3{font-size:16px}
  .hours-section-heading p{font-size:10.5px}
  .hours-step{font-size:8.5px}
  .hours-day-list{gap:7px}
  .hours-day-row{min-height:51px;grid-template-columns:32px 88px minmax(118px,1fr) 16px minmax(118px,1fr);gap:9px;padding:6px 12px;border-radius:13px}
  .hours-day-name{width:30px;height:30px;font-size:12px}
  .hours-closed-check{font-size:11px}
  .hours-time-input{height:38px;padding:7px 10px;font-size:13px}
  .hours-save-button{min-height:44px;margin-top:13px;font-size:13px}
  .special-hours-list{min-height:92px;max-height:180px}
  .special-hours-row{padding:9px 11px}
  .special-hours-date,.special-hours-value{font-size:11px}
  .special-hours-date small{font-size:9px}
  .special-empty{min-height:92px}
  .special-empty b{font-size:11px}
  .special-empty small{font-size:9px}
  .special-hours-form{gap:11px;padding:15px}
  .special-date-field>span,.special-time-fields label>span{font-size:10px}
  .special-date-field input,.special-time-fields input{height:42px;font-size:13px}
  .special-closed-check{padding:9px 11px}
  .special-closed-check b{font-size:11px}
  .special-closed-check small{font-size:9px}
  .special-add-button{min-height:42px;font-size:12px}
  .hours-help{font-size:9.5px}
}

/* Wide but vertically short displays (browser zoom / compact laptop viewport) */
@media (min-width:1367px) and (max-height:950px){
  .owner-wrap:has(.dashboard-v3){padding-bottom:12px}
  .dashboard-v3{
    height:calc(100dvh - 158px);
    min-height:0;
    display:grid;
    grid-template-rows:118px 122px minmax(0,1fr);
    align-content:start;
    gap:10px;
  }
  .motivation-hero{
    min-height:0;
    height:118px;
    grid-template-columns:minmax(0,1fr) 78px 116px;
    gap:9px;
    border-radius:16px;
    padding:8px 22px;
  }
  .motivation-copy h2{font-size:23px;margin-top:2px}
  .motivation-copy>p{font-size:10px}
  .motivation-actions{margin-top:7px}
  .motivation-actions button{font-size:9.5px;padding:6px 11px}
  .streak-card>span{font-size:8.5px}
  .streak-card strong{margin:1px 0}
  .streak-card strong b{font-size:36px}
  .streak-card em{font-size:8px}
  .dashboard-mascot-button{width:116px;max-height:102px}
  .dashboard-mascot{max-height:102px}

  .yesterday-summary{min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:10px 14px;border-radius:15px}
  .summary-heading{flex:none;align-items:center;margin-bottom:7px}
  .summary-heading h3{font-size:14px;margin-top:2px}
  .compact-status{font-size:8.5px;padding:4px 8px}
  .compact-status .ui-icon{width:11px;height:11px}
  .yesterday-kpis{min-height:0;flex:1;gap:7px}
  .yesterday-kpi{height:100%;min-height:0;gap:9px;border-radius:11px;padding:7px 10px}
  .kpi-icon{width:34px;height:34px;border-radius:9px}
  .kpi-icon .ui-icon{width:17px;height:17px}
  .yesterday-kpi small{font-size:8.5px}
  .yesterday-kpi strong b{font-size:23px}
  .yesterday-kpi em{font-size:7.5px}

  .dashboard-ops-grid{min-height:285px;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .activity-panel,.market-rate-panel,.compact-reviews-panel{min-height:285px;overflow:hidden;padding:18px 20px;border-radius:14px}
  .market-rate-heading{margin-bottom:9px}
  .market-rate-heading h3{font-size:15px}
  .market-rate-heading small{font-size:7px}
  .market-rate-grid{gap:7px}
  .market-rate-grid>div{grid-template-columns:50px minmax(0,1fr);padding:8px 9px}
  .market-rate-grid span{font-size:8px}
  .market-rate-grid strong{font-size:15px}
  .market-rate-grid small{font-size:7px}
  .activity-count{font-size:9.5px;padding:4px 9px}
  .activity-breakdown{margin:8px 0 4px}
  .activity-breakdown span{font-size:8.5px;padding:3px 8px}
  .activity-row{min-height:58px;grid-template-columns:37px minmax(0,1fr) 46px 24px;gap:10px;padding:7px 0}
  .activity-row:nth-child(n+5){display:none}
  .activity-icon{width:35px;height:35px;border-radius:10px}
  .activity-icon .ui-icon{width:17px;height:17px}
  .activity-copy b{font-size:12px}
  .activity-copy small,.activity-row time{font-size:9.5px}
  .activity-done{width:22px;height:22px}
  .review-overview{margin:9px 0 5px}
  .review-overview>span{padding:7px 5px}
  .review-overview b{font-size:19px}
  .review-overview small{font-size:8px}
  .recent-reviews.compact .review-preview-row{min-height:76px;padding:9px 0}
  .recent-reviews.compact .review-avatar{width:36px;height:36px}
  .recent-reviews.compact .review-meta b{font-size:12px}
  .recent-reviews.compact .review-snippet{font-size:10.5px}
}

@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

/* セルフサーブ登録ウィザード */
.onboard-card{text-align:left}
.onboard-steps{display:flex;gap:6px;font-size:11px;font-weight:700;color:var(--mut);margin-bottom:14px}
.onboard-steps span{flex:1;text-align:center;padding:6px 4px;border-radius:8px;background:#f1f3f6;border:1px solid var(--line)}
.onboard-steps span.on{background:var(--gold-soft);color:var(--gold-text);border-color:var(--gold-soft)}
.onboard-steps span.done{background:#eef6ef;color:#3f7a49;border-color:#dcecdd}
.req{font-size:10px;font-weight:800;color:#b4432e;margin-left:4px}
.onboard-plan{margin-top:14px;border:1px solid var(--gold-soft);background:var(--gold-soft);border-radius:12px;padding:12px 14px}
.onboard-plan b{color:var(--gold-text);font-size:14px}
.onboard-plan p{margin:4px 0 0;font-size:12px;color:var(--gold-text)}
.onboard-plan.lg ul{margin:8px 0 0;padding-left:18px}
.onboard-plan.lg li{font-size:12.5px;color:var(--gold-text);margin:3px 0;line-height:1.5}
.linklike{background:none;border:0;color:var(--mut);font-size:12px;text-decoration:underline;cursor:pointer;padding:8px}
.onboard-logout{display:block;margin:2px auto 0;text-align:center}
.legal-links{margin-top:14px;text-align:center;display:flex;flex-wrap:wrap;gap:4px 14px;justify-content:center}
.legal-links a{font-size:11.5px;color:var(--mut);text-decoration:underline}
.onboard-note{margin-top:10px;border:1px solid var(--line);border-radius:12px;padding:11px 13px;background:#f7f9fb}
.onboard-note b{font-size:12.5px}
.onboard-note p{margin:4px 0 0;font-size:12px;color:var(--mut);line-height:1.6}
.onboard-conn{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}
.onboard-conn:last-child{border-bottom:0}
.onboard-conn b{font-size:13.5px}
.onboard-conn .hint{margin:2px 0 0}

/* GBP未連携で使えない機能の案内（エラーではなく誘導） */
.feature-locked{border:1px solid var(--line);border-radius:14px;background:#f7f9fb;padding:18px;text-align:center}
.feature-locked b{display:block;font-size:14px;margin-bottom:6px}
.feature-locked p{margin:0 0 8px;font-size:12.5px;color:var(--mut);line-height:1.6}
.feature-locked .btn{margin:2px auto 8px}
