:root{--bg:#f5f5f2;--card:#fff;--ink:#171717;--muted:#707070;--line:#deded8;--accent:#111;--danger:#b3261e;--ok:#176b3a;--warn:#9a6700}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif}button,input,select,textarea{font:inherit}.wrap{max-width:960px;margin:auto;padding:18px}.brand{font-weight:900;font-size:28px;letter-spacing:.05em}.sub{color:var(--muted);font-size:13px}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:16px;margin:12px 0;box-shadow:0 2px 8px rgba(0,0,0,.035)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.btn{border:0;border-radius:14px;padding:14px 18px;background:#111;color:#fff;font-weight:800;cursor:pointer}.btn.secondary{background:#e8e8e3;color:#111}.btn.danger{background:var(--danger)}.btn.ok{background:var(--ok)}.btn.full{width:100%}.btn:disabled{opacity:.45}.big-number{font-size:36px;font-weight:900}.topbar{position:sticky;top:0;z-index:5;background:rgba(245,245,242,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}.topbar .wrap{display:flex;align-items:center;justify-content:space-between}.tabs{display:flex;gap:8px;overflow:auto;padding:8px 0}.tab{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 14px}.tab.active{background:#111;color:#fff}.row{display:flex;gap:10px;align-items:center;justify-content:space-between}.stack{display:grid;gap:10px}.input{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#fff}.label{font-weight:800;margin-bottom:6px}.pill{display:inline-block;padding:4px 9px;border-radius:999px;background:#eee;font-size:12px;font-weight:800}.pill.red{background:#ffe1df;color:#8f1710}.pill.green{background:#dff4e6;color:#145a31}.pill.yellow{background:#fff0c2;color:#765000}.notice{padding:12px;border-radius:12px;background:#fff0c2;margin:10px 0}.product{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.price{font-weight:900}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);z-index:10}.bottom-nav button{border:0;background:#fff;padding:13px 4px;font-size:12px}.cartbar{position:fixed;left:12px;right:12px;bottom:62px;background:#111;color:#fff;border-radius:16px;padding:14px;text-align:center;font-weight:900;z-index:9}.modal{position:fixed;inset:0;background:rgba(0,0,0,.48);display:flex;align-items:flex-end;z-index:20}.sheet{width:100%;max-height:90vh;overflow:auto;background:var(--bg);border-radius:22px 22px 0 0;padding:18px}.qty{display:flex;align-items:center;gap:16px}.qty button{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:22px}.qr{background:#fff;padding:18px;border-radius:16px;text-align:center;word-break:break-all}.spacer{height:115px}@media(min-width:700px){.modal{align-items:center;justify-content:center}.sheet{max-width:620px;border-radius:22px}.bottom-nav{left:50%;transform:translateX(-50%);max-width:960px}}
.image-picker{display:grid;gap:8px}.image-preview[hidden]{display:none!important}.image-preview{display:block;width:100%;max-width:360px;aspect-ratio:4/3;object-fit:cover;border:1px solid var(--line);border-radius:14px;background:#eee}.product-info{display:flex;align-items:center;gap:12px;min-width:0}.product-thumb{width:88px;height:66px;object-fit:cover;border-radius:12px;border:1px solid var(--line);background:#eee;flex:0 0 auto}.product-thumb.no-image{display:grid;place-items:center;font-size:11px;color:var(--muted)}.customer-product{grid-template-columns:minmax(0,1fr) auto}.customer-thumb{width:96px;height:72px}@media(max-width:520px){.product-thumb{width:72px;height:54px}.customer-thumb{width:84px;height:64px}}

/* v0.1.6 menu management */
.add-panel>summary{cursor:pointer;font-weight:900;list-style:none}.add-panel>summary::-webkit-details-marker{display:none}.add-panel>summary::after{content:'＋';float:right}.add-panel[open]>summary::after{content:'−'}.panel-body{padding-top:14px}.menu-category{margin:26px 0}.menu-category-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.menu-category-title h2{margin:0}.menu-product-card{display:grid;gap:12px;transition:opacity .2s}.menu-product-card.product-muted{opacity:.58}.product-summary{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;border:0;background:transparent;padding:0;text-align:left;cursor:pointer;color:inherit}.product-summary-text{display:grid;gap:4px;min-width:0}.product-summary-text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px}.edit-mark{font-size:12px;font-weight:900;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:7px 10px}.menu-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px}.state-btn,.icon-btn{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:12px;padding:10px 12px;font-weight:900;cursor:pointer}.state-btn.active{border-color:transparent}.state-btn.danger.active{background:#ffe1df;color:#8f1710}.state-btn.recommended.active{background:#fff0c2;color:#765000}.state-btn.hidden.active{background:#e2e2e2;color:#555}.move-buttons{display:flex;gap:6px;margin-left:auto}.icon-btn{min-width:42px;font-size:18px;padding:7px 11px}.icon-btn:disabled,.state-btn:disabled{opacity:.35;cursor:default}.product-editor h2{margin:0}.editor-image-box{display:grid;place-items:center;margin:16px 0}.editor-image-box .image-preview{max-width:440px}.image-preview.no-image.large{display:grid;place-items:center;color:var(--muted);min-height:220px}.editor-fields{margin:18px 0}.editor-fields label{display:grid;gap:7px}.check-row{display:flex!important;align-items:flex-start;gap:12px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}.check-row input{width:22px;height:22px;flex:0 0 auto}.check-row span{display:grid;gap:3px}.autosave-status{position:sticky;bottom:0;margin:12px 0;padding:10px 12px;border-radius:10px;background:#dff4e6;color:#145a31;font-weight:900;text-align:center}.autosave-status.error{background:#ffe1df;color:#8f1710}.danger-text{color:var(--danger);border-color:#efc5c2}.product-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@media(max-width:560px){.menu-actions{display:grid;grid-template-columns:repeat(3,1fr)}.state-btn{padding:10px 7px;font-size:12px}.move-buttons{grid-column:1/-1;margin-left:0;justify-content:flex-end}.product-summary{grid-template-columns:auto minmax(0,1fr)}.edit-mark{display:none}.product-summary-text strong{font-size:16px}}
.product-card-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.prep-pill{background:#e8e8e3;color:#333}.menu-section-tabs{position:sticky;top:82px;z-index:4;background:var(--bg);padding:10px 0}.category-heading{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.category-heading h2{margin:0}.category-card{display:grid;gap:12px;transition:opacity .2s}.category-card.category-muted{opacity:.58}.category-summary{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;background:transparent;padding:0;text-align:left;color:inherit;cursor:pointer}.category-summary>span:first-child{display:grid;gap:4px}.category-summary strong{font-size:18px}.category-actions{display:flex;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:12px}.category-actions .move-buttons{margin-left:auto}.category-note{margin-top:18px}.category-editor h2{margin:0}.category-product-count{display:grid;gap:4px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}.delete-note{margin:9px 4px 0;line-height:1.6}.autosave-status.idle{background:#eee;color:#555}.autosave-status.saving{background:#fff0c2;color:#765000}.autosave-status.saved{background:#dff4e6;color:#145a31}.autosave-status.error{background:#ffe1df;color:#8f1710}.editor-image-box.is-uploading{position:relative;opacity:.72}.editor-image-box.is-uploading::after{content:'保存中…';position:absolute;inset:auto auto 18px 50%;transform:translateX(-50%);background:rgba(17,17,17,.86);color:#fff;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:900}.btn:disabled{cursor:not-allowed}.category-list{display:grid;gap:0}@media(max-width:560px){.menu-section-tabs{top:80px}.product-card-meta{gap:6px}.product-card-meta .pill{font-size:10px}.category-actions{display:grid;grid-template-columns:1fr auto}.category-actions .move-buttons{margin-left:0}.category-summary .edit-mark{display:inline-block}}

/* v0.1.8 group-based visit and QR management */
.home-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.home-card{display:grid;gap:5px;text-align:left;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:18px;padding:22px;cursor:pointer}.home-card.primary{background:#111;color:#fff;border-color:#111}.home-card b{font-size:20px}.home-card span{font-size:13px;opacity:.72}.top-actions{display:flex;align-items:center;gap:8px}.btn.compact{padding:10px 14px}.ops-tabs{position:sticky;top:82px;z-index:4;background:var(--bg);padding:10px 0}.empty-state{text-align:center;padding:28px 18px}.urgent-card{border-color:#efaaa5}.guest-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.guest-grid .btn{font-size:18px;padding:17px 8px}.custom-guests{display:grid;gap:7px}.custom-guests>span:last-child{display:grid;grid-template-columns:1fr auto;gap:8px}.qr-sheet h2{margin:0}.qr-display{display:grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;margin:14px 0}.qr-large{display:block;width:min(340px,100%);height:auto}.scan-guide{margin:10px 0 0;font-size:22px;font-weight:900}.reception-overview{display:grid;gap:0;margin:14px 0;border-radius:18px;overflow:hidden;border:1px solid #2a2a2a;background:#fff}.reception-overview-number{display:grid;place-items:center;gap:2px;background:#111;color:#fff;padding:12px 16px}.reception-overview-number span{font-size:13px;font-weight:800;opacity:.75}.reception-overview-number b{font-size:38px;letter-spacing:.08em}.reception-overview-meta{display:flex;flex-wrap:wrap;gap:8px;padding:12px 14px;border-top:1px solid var(--line);background:#fffcf4}.reception-overview-meta span{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border-radius:999px;background:#fff;border:1px solid #ecd9bc;font-size:13px;font-weight:900}.qr-primary-intro{display:block;margin:14px 0;padding:16px 18px;border:2px solid #f08a18;border-radius:18px;background:linear-gradient(145deg,#fff8ef,#fff)}.qr-primary-intro>div{display:grid;gap:4px}.qr-primary-kicker{font-size:11px;font-weight:900;letter-spacing:.12em;color:#b45a00}.qr-primary-intro h3{margin:0;font-size:24px;line-height:1.2}.qr-primary-intro p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.qr-actions,.visit-actions{display:flex;gap:8px;flex-wrap:wrap}.qr-actions>*{flex:1;min-width:130px}.qr-missing{padding:28px 12px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:18px;margin:14px 0}.qr-missing b{display:block;font-size:18px;margin-bottom:6px}.visit-staff-order-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;padding:15px 16px;border:1px solid #cfd9e7;border-radius:16px;background:#f5f9ff}.visit-staff-order-panel>div{display:grid;gap:4px}.visit-staff-order-panel b{font-size:17px}.visit-staff-order-panel span{font-size:12px;color:var(--muted);line-height:1.5}.visit-staff-order-panel .btn{flex:0 0 auto;min-width:190px;padding-left:16px;padding-right:16px;white-space:nowrap;font-size:14px}.qr-management-panel{margin-top:18px;border:1px solid var(--line);border-radius:18px;background:#fafaf8;overflow:hidden}.qr-management-panel summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;cursor:pointer;list-style:none}.qr-management-panel summary::-webkit-details-marker{display:none}.qr-management-panel summary>div{display:grid;gap:4px}.qr-management-panel summary b{font-size:17px}.qr-management-panel summary span{font-size:12px;color:var(--muted);line-height:1.45}.qr-management-summary-action{flex:0 0 auto;padding:7px 12px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:12px;font-weight:900;color:#333}.qr-management-panel[open] .qr-management-summary-action{background:#111;color:#fff;border-color:#111}.qr-management-body{padding:0 16px 16px;border-top:1px solid var(--line)}.visit-card{display:grid;gap:12px}.visit-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.visit-metrics span{display:grid;gap:2px;text-align:center;background:#f4f4f0;border-radius:12px;padding:10px 6px;font-size:12px}.visit-metrics b{font-size:17px}.permission-select{width:auto;min-width:120px;margin-left:auto}.welcome-wrap{min-height:100vh;display:grid;place-items:center}.welcome-card{width:min(520px,100%);text-align:center;padding:28px}.welcome-title{font-size:24px;font-weight:900;margin:24px 0 12px}.customer-reception{margin:18px auto;max-width:320px}
@media(max-width:560px){.home-grid{grid-template-columns:1fr}.ops-tabs{top:79px}.guest-grid{grid-template-columns:repeat(2,1fr)}.visit-actions{display:grid;grid-template-columns:1fr 1fr}.permission-select{width:100%;min-width:0;margin:0}.qr-actions{display:grid}.scan-guide{font-size:19px}.reception-overview-number b{font-size:34px}.reception-overview-meta{display:grid}.qr-primary-intro,.visit-staff-order-panel{display:grid}.visit-staff-order-panel .btn{width:100%}.qr-management-panel summary{align-items:flex-start}.qr-management-summary-action{margin-left:auto}}

/* v0.1.9 sales and order history */
.report-page{padding-bottom:48px}.report-date-card{display:grid;gap:15px}.report-date-nav{display:grid;grid-template-columns:auto minmax(180px,320px) auto;gap:10px;align-items:end;justify-content:center}.report-date-nav label{display:grid;gap:5px}.report-date-nav .icon-btn{height:47px;font-size:28px}.report-date-bottom{gap:14px}.report-date-actions{display:flex;gap:8px;align-items:center}.report-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0 30px}.report-stat{display:grid;gap:5px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px}.report-stat.primary{background:#111;color:#fff;border-color:#111}.report-stat.warning{background:#fff0c2;border-color:#efd98e}.report-stat>span{font-size:13px;font-weight:800;opacity:.72}.report-stat>b{font-size:25px;letter-spacing:-.02em}.report-stat>small{font-size:11px;opacity:.7}.report-section{margin:30px 0}.report-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.report-section-title h2{margin:0}.report-visit-card{display:grid;gap:12px;cursor:pointer;transition:transform .12s,border-color .12s}.report-visit-card:hover{border-color:#aaa;transform:translateY(-1px)}.report-visit-card:focus{outline:3px solid rgba(17,17,17,.18);outline-offset:2px}.report-visit-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.report-visit-metrics span{display:grid;gap:3px;text-align:center;background:#f4f4f0;border-radius:10px;padding:9px 5px;font-size:11px}.report-visit-metrics b{font-size:16px}.report-detail-link{text-align:right;color:var(--muted);font-size:13px;font-weight:900}.report-table-card{padding:4px 16px}.report-product-list{display:grid}.report-product-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.report-product-row:last-child{border-bottom:0}.report-product-row .rank{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eee;font-size:12px;font-weight:900}.report-product-name{display:grid;gap:3px;min-width:0}.report-product-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-product-name small{color:var(--muted)}.report-detail-sheet h2{margin:0}.report-detail-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0}.report-detail-status>span:last-child{font-size:13px;color:var(--muted)}.report-detail-metrics{margin-bottom:18px}.report-order{background:#fff;border:1px solid var(--line);border-radius:15px;padding:14px;margin:12px 0}.report-order-items{display:grid;margin-top:10px;border-top:1px solid var(--line)}.report-item-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.report-item-row:last-child{border-bottom:0}.report-item-row>span{display:grid;gap:3px;min-width:0}.report-item-row small{color:var(--muted);line-height:1.5}.payment-reversal{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);text-align:center}.payment-reversal p{line-height:1.6}
@media(max-width:640px){.report-summary-grid{grid-template-columns:repeat(2,1fr)}.report-date-bottom{align-items:flex-start}.report-date-actions{flex:0 0 auto}.report-stat>b{font-size:21px}.report-date-nav{grid-template-columns:auto 1fr auto}.report-date-nav .icon-btn{min-width:44px}.report-product-row{grid-template-columns:30px minmax(0,1fr) auto}.report-product-row>strong{font-size:14px}}
@media(max-width:420px){.report-date-bottom{display:grid}.report-date-actions{justify-content:flex-end}.report-summary-grid{gap:8px}.report-stat{padding:13px 11px}.report-stat>b{font-size:19px}.report-stat>small{font-size:10px}}


/* v0.2.0 store settings, staff management and audit logs */
.store-identity,.customer-store-identity{display:flex;align-items:center;gap:12px;min-width:0}.store-logo-small{width:48px;height:48px;border-radius:12px;object-fit:contain;background:#fff;border:1px solid var(--line);padding:3px}.green-notice{background:#dff4e6;color:#145a31}.settings-page h2{margin:0}.store-logo-box{display:grid;place-items:center;min-height:190px;background:#f4f4f0;border:1px solid var(--line);border-radius:16px;padding:16px}.store-logo-preview{display:block;max-width:320px;max-height:180px;width:100%;height:180px;object-fit:contain}.store-logo-empty{color:var(--muted);font-weight:800}.hours-list{display:grid;gap:2px}.hour-card{display:grid;gap:14px;transition:opacity .2s}.hour-card.disabled{opacity:.6}.switch-row{display:flex;align-items:center;gap:8px;font-weight:900}.switch-row input{width:22px;height:22px}.hour-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.hour-fields label{display:grid;gap:6px}.hour-fields label>span{font-size:12px;font-weight:900;color:var(--muted)}.quick-soldout-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.staff-list{display:grid;gap:2px}.staff-card{padding:0;overflow:hidden}.staff-card.staff-inactive{opacity:.62}.staff-summary{width:100%;border:0;background:transparent;color:inherit;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;padding:16px;cursor:pointer}.staff-summary:disabled{cursor:default}.staff-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#111;color:#fff;font-size:18px;font-weight:900}.staff-main{display:grid;gap:4px;min-width:0}.staff-main strong,.staff-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-main small{color:var(--muted)}.staff-badges{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.staff-lock-note{padding:0 16px 14px}.password-box{display:grid;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.password-box h3{margin:0}.audit-list{padding-bottom:50px}.audit-card{display:grid;gap:10px}.audit-detail{margin:0;background:#f4f4f0;border-radius:10px;padding:10px;font-size:12px;line-height:1.6}.customer-store-logo{width:46px;height:46px;border-radius:10px;object-fit:contain;background:#fff;border:1px solid var(--line);padding:3px}.welcome-store-logo{display:block;max-width:220px;max-height:110px;width:100%;object-fit:contain;margin:0 auto 16px}
@media(max-width:640px){.hour-fields{grid-template-columns:1fr}.staff-summary{grid-template-columns:auto minmax(0,1fr)}.staff-badges{grid-column:1/-1;justify-content:flex-start;padding-left:56px}.quick-soldout-row .product-info{min-width:0}.quick-soldout-row .state-btn{flex:0 0 auto}.store-identity .brand{font-size:21px}.store-logo-small{width:42px;height:42px}}
.hour-card .autosave-status{position:static;margin-bottom:0}


.hour-day{display:grid;gap:14px}.hour-day.is-today{border:2px solid #7fc99a;background:#f3fbf6;box-shadow:0 12px 28px rgba(28,102,60,.10)}.hour-day-head h2{font-size:20px;margin:0}.hour-day-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.hour-today-badge{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:3px 10px;border-radius:999px;background:#dff4e6;color:#126235;font-size:12px;font-weight:950}.hours-today-guide{display:grid;gap:4px}.hour-slots{display:grid;gap:12px}.hour-slot-card{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.hour-slot-card.disabled{opacity:.62;background:#f7f7f4}.hour-slot-head{min-height:34px}.hour-overnight{font-size:12px;font-weight:800}.empty-hour{padding:18px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);text-align:center;font-weight:800}
@media(max-width:640px){.hour-day-head{align-items:flex-start}.hour-day-head .tab{white-space:nowrap}.hour-slot-card{padding:12px}}

/* v0.2.0.2 customer order history and live menu refresh */
.customer-history-page{padding-bottom:48px}.customer-history-head{align-items:flex-end;margin:8px 0 16px}.customer-history-head h1{margin:0;font-size:28px}.customer-history-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.customer-history-summary span{display:grid;gap:4px;text-align:center;background:#f4f4f0;border-radius:12px;padding:12px 6px;font-size:12px;color:var(--muted)}.customer-history-summary b{font-size:18px;color:var(--ink)}.customer-order-card{display:grid;gap:12px}.customer-order-items{display:grid;border-top:1px solid var(--line)}.customer-order-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.customer-order-item:last-child{border-bottom:0}.customer-order-item>div:first-child{display:grid;gap:4px;min-width:0}.customer-order-item small{color:var(--muted);line-height:1.5}.customer-order-item-side{display:grid;justify-items:end;align-content:start;gap:7px}.customer-history-updated{text-align:right;margin:14px 4px}
@media(max-width:480px){.customer-history-summary{gap:6px}.customer-history-summary span{padding:10px 4px}.customer-history-summary b{font-size:16px}.customer-order-item{grid-template-columns:1fr}.customer-order-item-side{display:flex;align-items:center;justify-content:space-between}}

/* v0.2.1 product options */
.option-count-pill,.customer-option-pill{background:#e8eefc;color:#27467a}.product-option-editor-section{margin:28px 0;padding-top:22px;border-top:1px solid var(--line)}.option-section-head h3{margin:0;font-size:21px}.product-options-area{display:grid;gap:14px;margin-top:14px}.option-loading,.empty-option-items{padding:18px;border:1px dashed var(--line);border-radius:12px;text-align:center;color:var(--muted);font-weight:800}.option-group-add,.option-item-add{background:#fff;border:1px solid var(--line);border-radius:14px;padding:0 14px}.option-group-add>summary,.option-item-add>summary{cursor:pointer;font-weight:900;padding:14px 0;list-style:none}.option-group-add>summary::-webkit-details-marker,.option-item-add>summary::-webkit-details-marker{display:none}.option-group-add>summary::after,.option-item-add>summary::after{content:'＋';float:right}.option-group-add[open]>summary::after,.option-item-add[open]>summary::after{content:'−'}.option-group-add-fields{display:grid;grid-template-columns:minmax(180px,1.6fr) minmax(140px,1fr) minmax(140px,1fr) auto;gap:10px;align-items:center;padding:0 0 14px}.option-group-card{display:grid;gap:14px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:15px}.option-group-head{align-items:flex-start}.option-group-settings{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:10px;align-items:end}.option-group-settings label{display:grid;gap:6px}.compact-check{padding:12px;align-self:end;min-height:48px}.option-group-card .autosave-status{position:static;margin:0}.option-items-list{display:grid;gap:9px}.option-item-row{display:grid;gap:9px;border:1px solid var(--line);border-radius:13px;padding:11px;background:#fafaf8}.option-item-row.option-item-muted{opacity:.58}.option-item-fields{display:grid;grid-template-columns:minmax(180px,2fr) minmax(120px,1fr);gap:9px}.option-price-input{display:grid;grid-template-columns:auto minmax(80px,1fr);align-items:center;gap:7px}.option-price-input span{font-size:11px;font-weight:900;color:var(--muted)}.option-item-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.mini-check{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:900;padding:8px 9px;border:1px solid var(--line);border-radius:10px;background:#fff}.mini-check input{width:18px;height:18px}.option-item-add-fields{display:grid;grid-template-columns:minmax(160px,2fr) minmax(120px,1fr) auto;gap:9px;padding:0 0 14px}.option-empty-notice{margin:0}.customer-product-sheet h2{margin:0}.customer-option-group{display:grid;gap:8px;margin:16px 0;padding:14px;background:#fff;border:1px solid var(--line);border-radius:15px}.customer-option-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.customer-option-head>div{display:grid;gap:3px}.customer-option-item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:11px;cursor:pointer}.customer-option-item input{width:21px;height:21px}.customer-option-item>span{display:grid;gap:3px}.customer-option-item small{color:var(--muted)}.customer-option-item.soldout{opacity:.55;cursor:not-allowed;background:#f0f0ed}.customer-option-total{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 14px;margin-top:16px}.customer-option-total span{font-size:13px;color:var(--muted);font-weight:800}.customer-option-total b{font-size:21px}.customer-product-qty{justify-content:center;margin:16px 0}.customer-add-cart span{font-size:inherit}.cart-detail-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.cart-detail-main{display:grid;gap:7px}.cart-option-list{display:grid;gap:4px;color:var(--muted)}.cart-detail-side{display:grid;justify-items:end;gap:8px}.cart-unavailable{border-color:#e8aaa6;background:#fff6f5}
@media(max-width:760px){.option-group-add-fields{grid-template-columns:1fr}.option-group-settings{grid-template-columns:1fr 1fr}.option-group-settings>label:first-child{grid-column:1/-1}.option-item-fields{grid-template-columns:1fr}.option-item-add-fields{grid-template-columns:1fr}.option-group-head{display:grid}.option-group-head .move-buttons{margin-left:0;justify-content:flex-end}.option-item-actions .move-buttons{margin-left:0}.cart-detail-row{grid-template-columns:1fr}.cart-detail-side{display:flex;align-items:center;justify-content:space-between}}
@media(max-width:480px){.option-group-settings{grid-template-columns:1fr}.option-group-settings>label:first-child{grid-column:auto}.customer-option-group{padding:11px}.customer-option-item{padding:10px}.option-item-actions{display:grid;grid-template-columns:1fr 1fr}.option-item-actions .move-buttons{grid-column:1/-1}.option-item-actions>.danger-text{grid-column:1/-1}.mini-check{justify-content:center}}

.product-editor{max-width:820px}.product-editor>#editStatus{position:static}
/* v0.2.2 */
.service-call-banner{position:sticky;top:85px;z-index:8;width:min(928px,calc(100% - 32px));margin:12px auto 0;border:0;border-radius:17px;padding:14px 16px;background:#b3261e;color:#fff;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;text-align:left;box-shadow:0 8px 24px rgba(179,38,30,.28);cursor:pointer;animation:callPulse 1.25s infinite}.service-call-banner small{display:block;color:#fff;opacity:.9;margin-top:2px}.service-call-arrow{font-size:28px}.service-call-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;color:#b3261e;font-size:24px;font-weight:1000}.tab-count{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:#b3261e;color:#fff;font-size:12px;padding:0 6px}.service-call-card{border:3px solid #b3261e;background:#fff1f0;box-shadow:0 8px 20px rgba(179,38,30,.16)}.service-call-card-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}.service-call-card-head>div{display:grid;gap:3px}.service-call-card-head b{font-size:25px}.service-call-label{font-size:13px;font-weight:900;color:#b3261e}.call-flash::before{content:'';position:fixed;inset:0;z-index:9999;pointer-events:none;border:10px solid #e42318;animation:callFlash .45s 4}.order-item-adjust{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.danger-text{color:#a51d16!important;border-color:#e5aaa6!important}.cart-edit-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.cart-qty{gap:8px}.cart-qty button{width:36px;height:36px}.order-confirm-total{display:flex;justify-content:space-between;align-items:center;padding:18px 2px;margin-top:8px}.order-confirm-total span{font-weight:800;color:var(--muted)}.order-confirm-total b{font-size:30px}.order-submit-button{font-size:17px;margin-bottom:9px}@keyframes callPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.012)}}@keyframes callFlash{0%,100%{opacity:0}50%{opacity:1}}@media(max-width:699px){.service-call-banner{top:77px;width:calc(100% - 20px);margin-top:9px}.service-call-card-head b{font-size:22px}}

/* v0.2.3 要望・アレルギー */
.customer-request-field,.customer-order-notes label{display:grid;gap:8px;margin-top:18px}.customer-request-field textarea,.customer-order-notes textarea{min-height:74px;resize:vertical}.customer-order-notes{display:grid;gap:16px;margin:18px 0}.allergy-field{padding:14px;border:2px solid #d32f2f;border-radius:16px;background:#fff5f5}.customer-special-request,.history-group-request,.item-special-request{display:block;margin-top:7px;padding:8px 10px;border-radius:10px;background:#f3f3f3;font-size:.9rem}.history-allergy-note{display:grid;gap:5px;margin:12px 0;padding:12px;border:2px solid #d32f2f;border-radius:12px;background:#fff1f1;color:#8b0000}.staff-special-request,.staff-group-request,.staff-allergy-alert{display:grid;gap:4px;margin:10px 0;padding:11px 12px;border-radius:12px}.staff-special-request,.staff-group-request{background:#fff8df;border:1px solid #e5c45a}.staff-allergy-alert{background:#fff0f0;border:2px solid #d32f2f;color:#8b0000}.visit-allergy-alert{display:grid;gap:8px;margin:12px 0;padding:12px;border:2px solid #d32f2f;border-radius:14px;background:#fff5f5}.visit-allergy-alert.unconfirmed{animation:allergyPulse 1.4s infinite}.visit-group-request{margin:10px 0;padding:10px;border-radius:12px;background:#fff8df}@keyframes allergyPulse{0%,100%{box-shadow:0 0 0 0 rgba(211,47,47,.35)}50%{box-shadow:0 0 0 8px rgba(211,47,47,0)}}
.report-allergy-note{color:#a40000;font-weight:700}
.allergy-top-banner{position:sticky;top:0;z-index:30;width:100%;border:0;background:#a40000;color:#fff;padding:13px 18px;display:flex;align-items:center;justify-content:center;gap:12px;font:inherit;cursor:pointer}.allergy-top-banner span:nth-child(2){display:grid;text-align:left}.allergy-top-banner small{opacity:.9}

/* v0.2.3.4 来店グループ場所メモ */
.visit-location-entry{display:grid;gap:7px;margin:16px 0 20px}.visit-location-entry>.label{display:flex;align-items:baseline;gap:8px}.visit-location-entry>.label small{font-weight:700;color:var(--muted)}.visit-location-entry>small{color:var(--muted);line-height:1.5}.visit-location{display:flex;align-items:center;gap:10px;margin:12px 0;padding:11px 13px;border:2px solid #222;border-radius:13px;background:#fff}.visit-location span{font-size:12px;font-weight:900;color:var(--muted)}.visit-location b{font-size:18px;line-height:1.35}.visit-location.large{padding:14px 16px;border-width:3px;background:#fffbe8}.visit-location.large b{font-size:24px}.visit-location.missing{border-style:dashed;border-color:#b7b7b0;background:#f5f5f2}.visit-location.missing b{color:#8a3b00}.service-call-card .visit-location{border-color:#b3261e}.ready-order-card{border:3px solid #d97900;background:#fff9ec}.ready-order-card .visit-location{border-color:#d97900}.visit-location-editor{display:grid;gap:6px;margin:14px 0;padding:12px;border-radius:13px;background:#f4f4f0}.visit-location-editor>span{font-size:12px;font-weight:900}.visit-location-editor>small{color:var(--muted);font-size:11px}.urgent-visit-card{border:3px solid #b3261e}.qr-sheet>.visit-location{margin:14px auto;max-width:440px}.kitchen-order-card .visit-location{margin-bottom:14px}
@media(max-width:480px){.visit-location.large b{font-size:21px}.visit-location{align-items:flex-start;flex-direction:column;gap:3px}.visit-location-editor{padding:10px}}

/* v0.2.4 notification settings */
#notifyPermission,#notifyTest{width:100%}.modal-card .notice{font-size:.9rem}.top-actions{flex-wrap:wrap}

/* v0.2.5 注文・提供オペレーション */
.ops-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.ops-summary button{border:1px solid #dfe3e8;background:#fff;border-radius:14px;padding:14px 10px;display:flex;align-items:center;justify-content:space-between;font:inherit;cursor:pointer}.ops-summary button span{font-weight:700}.ops-summary button b{font-size:24px}.order-batch{border:1px solid #dde2e7;border-radius:18px;background:#f7f8fa;padding:12px;margin:14px 0}.order-batch-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.order-time,.assigned-staff{font-size:12px;color:#68707a;margin-top:5px}.assigned-staff{font-weight:700;color:#2d5b46}.order-batch .kitchen-order-card{margin:10px 0}.elapsed-badge{font-size:12px;font-weight:700;color:#59616b}.overdue-batch{border-color:#f0a23a;background:#fff9ef}.kitchen-order-card.overdue{border:2px solid #f0a23a}.kitchen-order-card.ready-overdue{border-color:#d9363e;box-shadow:0 0 0 3px rgba(217,54,62,.10)}.serve-all{margin-top:8px}.pill.blue{background:#e8f1ff;color:#245ca6}.pill.green{background:#e7f6ed;color:#257044}
@media(max-width:700px){.ops-summary{gap:6px}.ops-summary button{padding:11px 8px;display:block;text-align:center}.ops-summary button span{display:block;font-size:12px}.ops-summary button b{display:block;font-size:22px;margin-top:3px}.order-batch{padding:9px}.order-batch-head{display:block}.order-batch-head>.pill{display:inline-block;margin-top:8px}}

/* v0.2.6 会計依頼・会計完了 */
.bottom-nav button:disabled{color:#aaa;background:#f4f4f1;cursor:not-allowed}.bottom-nav .checkout-requested-nav{background:#e7f6ed;color:#176b3a;font-weight:900}.checkout-customer-notice{display:grid;gap:4px;border:1px solid #9bc8aa;background:#eaf7ee;color:#145a31}.checkout-customer-notice span{font-size:14px}.checkout-sheet h2,.checkout-complete-sheet h2,.checkout-staff-sheet h2{margin:0}.checkout-total-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0;padding:17px 18px;border:1px solid var(--line);border-radius:15px;background:#fff}.checkout-total-row span{font-weight:800;color:var(--muted)}.checkout-total-row b{font-size:28px}.receipt-choice-section{display:grid;gap:13px;margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:17px;background:#fff}.receipt-choice-section h3{margin:0;font-size:20px}.receipt-choice-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.receipt-choice{border:2px solid var(--line);border-radius:14px;background:#fff;padding:16px;font-weight:900;font-size:17px;cursor:pointer}.receipt-choice.active{border-color:#111;background:#111;color:#fff}.receipt-fields{display:grid;gap:12px;padding-top:4px}.receipt-fields[hidden]{display:none}.receipt-fields label{display:grid;gap:7px;font-weight:800}.receipt-fields small,.checkout-staff-note small{color:var(--muted);font-weight:600}.checkout-register-notice{line-height:1.6}.checkout-submit{margin:8px 0}.checkout-complete-sheet{text-align:center}.checkout-success-mark{display:grid;place-items:center;width:64px;height:64px;margin:4px auto 14px;border-radius:50%;background:#176b3a;color:#fff;font-size:36px;font-weight:900}.checkout-register-guide{font-size:22px;font-weight:900;margin:16px 0}.checkout-receipt-summary,.staff-receipt-info{display:grid;gap:5px;margin:13px 0;padding:13px 14px;border:1px solid #e2bf67;border-radius:13px;background:#fff8df;text-align:left}.checkout-receipt-summary.no-receipt,.staff-receipt-info.no-receipt{border-color:var(--line);background:#f3f3ef}.checkout-receipt-summary span,.staff-receipt-info span{font-size:14px;line-height:1.45}.staff-receipt-info.compact{padding:10px 12px}.checkout-request-banner{position:relative;z-index:7;width:min(928px,calc(100% - 32px));margin:12px auto 0;border:0;border-radius:17px;padding:14px 16px;background:#176b3a;color:#fff;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;text-align:left;box-shadow:0 8px 24px rgba(23,107,58,.25);cursor:pointer}.checkout-request-banner small{display:block;color:#fff;opacity:.9;margin-top:2px}.checkout-banner-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;color:#176b3a;font-size:21px;font-weight:1000}.ops-summary.checkout-enabled{grid-template-columns:repeat(4,1fr)}.ops-summary .checkout-summary-button{border-color:#9bc8aa;background:#eaf7ee}.ops-summary .checkout-summary-button b{color:#176b3a}.checkout-request-card{border:3px solid #176b3a;background:#f3fbf5;box-shadow:0 7px 18px rgba(23,107,58,.1)}.checkout-card-label{display:block;margin-bottom:4px;color:#176b3a;font-size:12px;font-weight:900}.checkout-request-card .row>div>b{font-size:23px}.checkout-request-metrics{margin:13px 0}.checkout-review-button{font-size:17px}.checkout-visit-card{border:2px solid #6fa982}.checkout-staff-sheet{max-width:680px}.checkout-calculation{display:grid;gap:10px;margin:16px 0;padding:15px;border:1px solid var(--line);border-radius:16px;background:#fff}.checkout-calculation>div,.checkout-calculation>label{display:grid;grid-template-columns:minmax(110px,1fr) minmax(140px,1fr);align-items:center;gap:12px}.checkout-calculation>div>b{text-align:right;font-size:20px}.checkout-calculation label>span{font-weight:800}.checkout-calculation label small{grid-column:2;color:var(--muted);font-size:11px}.checkout-final{margin-top:5px;padding-top:13px;border-top:2px solid #222}.checkout-calculation .checkout-final b{font-size:28px}.checkout-staff-note{display:grid;gap:7px;margin:15px 0;font-weight:800}.checkout-staff-note textarea{resize:vertical}.checkout-complete-warning{font-size:13px;line-height:1.6}.report-checkout-summary{display:grid;gap:9px;margin:15px 0;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.report-checkout-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.report-checkout-summary span{color:var(--muted);font-size:13px;font-weight:800}.report-checkout-summary .final{padding-top:10px;border-top:2px solid #222}.report-checkout-summary .final b{font-size:22px}.checkout-history-note{display:grid;gap:5px;margin:12px 0;padding:12px;border-radius:12px;background:#f3f3ef}.checkout-history-note span{white-space:pre-wrap;line-height:1.5}
@media(max-width:699px){.checkout-request-banner{width:calc(100% - 20px);margin-top:9px}.ops-summary.checkout-enabled{grid-template-columns:repeat(4,1fr)}.ops-summary.checkout-enabled button{padding:10px 4px}.checkout-request-card .row>div>b{font-size:20px}.checkout-register-guide{font-size:20px}.checkout-total-row b{font-size:24px}}
@media(max-width:480px){.ops-summary.checkout-enabled{grid-template-columns:repeat(2,1fr)}.receipt-choice-buttons{grid-template-columns:1fr 1fr}.checkout-calculation>div,.checkout-calculation>label{grid-template-columns:1fr}.checkout-calculation>div>b{text-align:left}.checkout-calculation label small{grid-column:auto}.checkout-calculation .checkout-final b{font-size:26px}.ops-summary.checkout-enabled button span{font-size:10px}.ops-summary.checkout-enabled button b{font-size:20px}}
.checkout-order-summary{display:grid;gap:0;margin:16px 0;padding:14px 15px;border:1px solid var(--line);border-radius:16px;background:#fff}.checkout-order-summary h3{margin:0}.checkout-order-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;padding:11px 0;border-bottom:1px solid var(--line)}.checkout-order-row:last-child{border-bottom:0}.checkout-order-row>span{display:grid;gap:3px;min-width:0}.checkout-order-row small{color:var(--muted);line-height:1.4}.checkout-order-empty{padding:18px 0 6px;text-align:center}.staff-checkout-orders{max-height:300px;overflow:auto}

/* v0.2.7 電子領収書 */
.checkout-finished-page,.electronic-receipt-page{max-width:720px;padding-top:28px;padding-bottom:48px}.checkout-finished-card{text-align:center;padding:28px}.checkout-finished-card h1{margin:8px 0}.electronic-receipt-paper{background:#fff;border:1px solid #d7d7d0;border-radius:18px;padding:28px;box-shadow:0 8px 30px rgba(0,0,0,.08)}.electronic-receipt-paper.cancelled{border-color:#e1a29e}.electronic-receipt-head{display:flex;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.electronic-receipt-head b{color:var(--ink);letter-spacing:.04em}.electronic-receipt-paper>h1{text-align:center;margin:26px 0 22px;font-size:32px;letter-spacing:.18em}.electronic-receipt-recipient{min-height:48px;border-bottom:2px solid #222;display:flex;align-items:flex-end;padding:0 8px 7px;font-size:21px;font-weight:900}.electronic-receipt-amount{display:grid;grid-template-columns:auto 1fr auto;align-items:end;gap:10px;margin:22px 0;padding:16px 18px;border:2px solid #222;border-radius:12px}.electronic-receipt-amount>span{font-weight:800}.electronic-receipt-amount b{text-align:center;font-size:31px}.electronic-receipt-amount small{color:var(--muted)}.electronic-receipt-purpose{margin:15px 4px 24px;line-height:1.6}.electronic-receipt-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.electronic-receipt-meta>div{display:grid;gap:4px;padding:11px 12px;background:#f5f5f2;border-radius:10px}.electronic-receipt-meta span{font-size:11px;color:var(--muted);font-weight:800}.electronic-receipt-meta b{font-size:13px}.electronic-receipt-tax{display:grid;gap:7px;margin:18px 0 20px;margin-left:auto;max-width:390px;padding-top:14px;border-top:1px solid var(--line)}.electronic-receipt-tax>div{display:flex;justify-content:space-between;gap:16px}.electronic-receipt-tax span{color:var(--muted);font-size:13px}.electronic-receipt-details{margin-top:16px;padding:22px}.electronic-receipt-details>h2{margin:0;padding-bottom:10px;border-bottom:2px solid #222;font-size:18px}.electronic-receipt-details .electronic-receipt-items{margin-top:0}.electronic-receipt-items{margin-top:24px}.electronic-receipt-items h2{font-size:17px;margin:0;padding-bottom:9px;border-bottom:2px solid #222}.electronic-receipt-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.electronic-receipt-item>span{display:grid;gap:3px}.electronic-receipt-item small{font-size:11px;color:var(--muted);line-height:1.4}.electronic-receipt-empty{padding:18px 0;color:var(--muted);text-align:center}.electronic-receipt-summary{display:grid;gap:8px;margin:18px 0 24px;margin-left:auto;max-width:390px}.electronic-receipt-summary>div{display:flex;justify-content:space-between;gap:16px}.electronic-receipt-summary span{color:var(--muted);font-size:13px}.electronic-receipt-summary .total{padding-top:10px;border-top:2px solid #222;align-items:center}.electronic-receipt-summary .total span,.electronic-receipt-summary .total b{color:var(--ink);font-size:20px}.electronic-receipt-issuer{display:grid;gap:4px;padding-top:18px;border-top:1px solid var(--line);font-size:13px;text-align:right}.electronic-receipt-issuer b{font-size:16px}.electronic-receipt-actions{display:grid;gap:8px;margin-top:16px;text-align:center}.receipt-cancelled-banner{display:grid;gap:4px;margin:18px 0;padding:14px;border:2px solid var(--danger);border-radius:12px;background:#fff0ef;color:#8f1710}.receipt-cancelled-banner b{font-size:20px}.receipt-cancelled-banner small{margin-top:4px}.receipt-issue-warning{display:grid;gap:5px}.receipt-record-card{display:grid;gap:10px;margin:12px 0;padding:14px;border:1px solid #91c4a2;border-radius:14px;background:#f2fbf5}.receipt-record-card.cancelled{border-color:#e1a29e;background:#fff3f2}.receipt-record-details{display:grid;gap:5px;font-size:13px;line-height:1.45}.receipt-history{margin:16px 0}.receipt-history>h3{margin:0 0 8px}.report-receipt-tag{margin-top:12px;padding:8px 10px;border-radius:10px;background:#eaf7ee;color:#145a31;font-size:12px;font-weight:900}.report-receipt-tag.cancelled{background:#fff0ef;color:#8f1710}.receipt-settings-box{display:grid;gap:12px;margin:7px 0;padding:16px;border:1px solid #c9d9ce;border-radius:16px;background:#f7fbf8}.receipt-settings-box h3{margin:0 0 4px}.receipt-settings-box label{display:grid;gap:7px}.receipt-settings-box small{font-weight:600;color:var(--muted)}
@media(max-width:560px){.electronic-receipt-page{padding:10px}.electronic-receipt-paper{border-radius:14px;padding:19px 16px}.electronic-receipt-paper>h1{font-size:27px;margin:21px 0}.electronic-receipt-recipient{font-size:18px}.electronic-receipt-amount{padding:14px 12px}.electronic-receipt-amount b{font-size:25px}.electronic-receipt-meta{grid-template-columns:1fr}.electronic-receipt-tax,.electronic-receipt-summary{max-width:none}.electronic-receipt-issuer{text-align:left}.electronic-receipt-details{padding:18px 16px}}
@media print{body{background:#fff}body *{visibility:hidden!important}#electronicReceipt,#electronicReceipt *{visibility:visible!important}#electronicReceipt{position:absolute;left:0;top:0;width:100%;border:0;border-radius:0;box-shadow:none;padding:12mm}.electronic-receipt-actions{display:none!important}}

/* v0.3.0 最高管理者 */
.platform-body{min-height:100vh;background:#efefeb}.platform-shell{width:min(1180px,calc(100% - 36px));margin:0 auto}.platform-topbar{position:sticky;top:0;z-index:30;background:rgba(17,17,17,.96);color:#fff;border-bottom:1px solid rgba(255,255,255,.12);backdrop-filter:blur(14px)}.platform-header-inner{min-height:72px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:26px}.platform-brand{display:flex;align-items:center;gap:11px}.platform-brand>span:last-child{display:grid}.platform-brand b{font-size:18px;letter-spacing:.06em}.platform-brand small{font-size:10px;color:#bdbdb7;font-weight:800;letter-spacing:.14em}.platform-logo-mark{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:#111;color:#fff;font-size:28px;font-weight:1000;box-shadow:0 12px 35px rgba(0,0,0,.18)}.platform-logo-mark.small{width:38px;height:38px;border-radius:11px;background:#fff;color:#111;font-size:18px;box-shadow:none}.platform-nav{display:flex;align-items:center;gap:5px}.platform-nav button{border:0;border-radius:10px;padding:10px 13px;background:transparent;color:#bdbdb7;font-weight:800;cursor:pointer}.platform-nav button.active,.platform-nav button:hover{background:#2b2b2b;color:#fff}.platform-account{display:flex;align-items:center;gap:12px;font-size:13px}.platform-account .tab{background:#2b2b2b;border-color:#444;color:#fff}.platform-main{padding:38px 0 70px}.platform-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:25px}.platform-hero h1{margin:4px 0 8px;font-size:38px;line-height:1.1}.platform-hero p{margin:0;color:var(--muted)}.platform-kicker{display:inline-block;color:#64645f;font-size:11px;font-weight:1000;letter-spacing:.18em}.platform-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 24px}.platform-metrics article{display:grid;gap:5px;min-height:128px;padding:20px;background:#fff;border:1px solid #dbdbd5;border-radius:18px;box-shadow:0 4px 18px rgba(0,0,0,.035)}.platform-metrics span{font-size:12px;color:var(--muted);font-weight:800}.platform-metrics b{font-size:29px;line-height:1.2}.platform-metrics small{margin-top:auto;color:#8a8a85;font-size:11px}.platform-panel{background:#fff;border:1px solid #d8d8d2;border-radius:22px;box-shadow:0 8px 30px rgba(0,0,0,.04);overflow:hidden}.platform-panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:22px 24px;border-bottom:1px solid var(--line)}.platform-panel-head h2{margin:0 0 4px}.platform-panel-head p{margin:0;color:var(--muted);font-size:12px}.platform-filter-row{display:grid;grid-template-columns:minmax(220px,1fr) 190px;gap:9px;width:min(520px,100%)}.platform-store-table{display:grid}.platform-store-head,.platform-store-row{display:grid;grid-template-columns:minmax(250px,1.45fr) minmax(145px,.7fr) minmax(190px,.9fr) minmax(120px,.55fr) 28px;gap:15px;align-items:center}.platform-store-head{padding:11px 22px;background:#f4f4f0;color:#777772;font-size:11px;font-weight:900}.platform-store-row{width:100%;padding:17px 22px;border:0;border-top:1px solid #ecece7;background:#fff;color:inherit;text-align:left;cursor:pointer}.platform-store-row:hover{background:#fafaf7}.platform-store-row.is-disabled{background:#fff8f7}.platform-store-row>span{display:grid;gap:5px;min-width:0}.platform-store-row b{font-size:14px}.platform-store-row small{color:var(--muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.platform-store-name>b{font-size:17px}.platform-store-row .pill{width:max-content}.platform-row-arrow{font-size:28px;color:#999}.platform-empty{padding:46px 20px;text-align:center;color:var(--muted)}.platform-login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 0,#fff 0,#efefeb 55%,#e6e6e0 100%)}.platform-login-card{width:min(440px,100%);display:grid;gap:18px;padding:34px;background:#fff;border:1px solid #d9d9d2;border-radius:26px;box-shadow:0 26px 70px rgba(0,0,0,.1)}.platform-login-card>.platform-logo-mark{margin-bottom:2px}.platform-login-card .brand{font-size:34px}.platform-login-card .platform-kicker{margin-top:4px}.platform-form-error{min-height:20px;color:var(--danger);font-size:13px;font-weight:800}.platform-back-link{color:#555;text-align:center;font-size:12px}.platform-modal{z-index:60}.platform-store-sheet{max-width:820px;max-height:94vh;padding:24px}.platform-store-sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.platform-store-sheet-head h2{margin:4px 0;font-size:30px}.platform-store-sheet-head p{margin:0;color:var(--muted)}.platform-store-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:20px 0}.platform-store-overview article{display:grid;gap:5px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.platform-store-overview span{font-size:11px;color:var(--muted);font-weight:800}.platform-store-overview b{font-size:18px}.platform-enter-store{margin-top:4px;font-size:17px}.platform-warning{margin:10px 0 18px;padding:11px 13px;border-radius:12px;background:#fff3cd;color:#6f5200;font-size:12px;line-height:1.55}.platform-contract-editor,.platform-detail-section{margin:20px 0;padding:18px;border:1px solid var(--line);border-radius:17px;background:#fff}.platform-contract-editor h3,.platform-detail-section h3{margin:0 0 14px}.platform-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.platform-form-grid label,.platform-note-field{display:grid;gap:6px;font-size:12px;font-weight:800}.platform-note-field{margin:12px 0}.platform-note-field textarea{resize:vertical}.platform-save-status{min-height:20px;margin-top:8px;text-align:center;font-size:12px;font-weight:900}.platform-save-status.saving{color:#765000}.platform-save-status.saved{color:var(--ok)}.platform-save-status.error{color:var(--danger)}.platform-staff-line,.platform-log-line{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-top:1px solid var(--line)}.platform-staff-line:first-of-type,.platform-log-line:first-of-type{border-top:0}.platform-staff-line>span:first-child,.platform-log-line>span:first-child{display:grid;gap:3px}.platform-staff-line small,.platform-log-line small{color:var(--muted);font-size:11px}.platform-log-list{padding:4px 22px}.platform-log-list article{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;padding:15px 2px;border-top:1px solid var(--line)}.platform-log-list article:first-child{border-top:0}.platform-log-list article>div{display:grid;gap:3px}.platform-log-list article>div:last-child{text-align:right}.platform-log-list small{font-size:11px;color:var(--muted)}.platform-impersonation-banner{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:center;gap:22px;padding:10px 16px;background:#7b2cbf;color:#fff;box-shadow:0 4px 16px rgba(0,0,0,.15)}.platform-impersonation-banner[hidden]{display:none!important}.platform-impersonation-banner>div{display:grid;gap:1px}.platform-impersonation-banner b{font-size:13px}.platform-impersonation-banner span{font-size:11px;opacity:.9}.platform-impersonation-banner button{border:1px solid rgba(255,255,255,.55);border-radius:999px;padding:8px 13px;background:#fff;color:#5b168c;font-size:12px;font-weight:900;cursor:pointer}.platform-home-card{border-color:#c9a6e5;background:#fbf7ff}.platform-home-card b{color:#5b168c}
@media(max-width:900px){.platform-header-inner{grid-template-columns:auto 1fr}.platform-account{display:none}.platform-nav{justify-content:flex-end}.platform-store-head{display:none}.platform-store-row{grid-template-columns:1fr 1fr 28px}.platform-store-row>span:nth-child(3),.platform-store-row>span:nth-child(4){padding-top:8px;border-top:1px solid var(--line)}.platform-store-row>span:nth-child(4){grid-column:2}.platform-row-arrow{grid-column:3;grid-row:1/3}.platform-store-name{grid-column:1/3}.platform-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.platform-shell{width:calc(100% - 20px)}.platform-header-inner{min-height:64px;grid-template-columns:1fr}.platform-brand{display:none}.platform-nav{justify-content:stretch}.platform-nav button{flex:1}.platform-main{padding-top:24px}.platform-hero{display:grid}.platform-hero h1{font-size:31px}.platform-metrics{grid-template-columns:1fr 1fr;gap:8px}.platform-metrics article{min-height:112px;padding:15px}.platform-metrics b{font-size:23px}.platform-panel-head{display:grid;padding:18px}.platform-filter-row{grid-template-columns:1fr}.platform-store-row{grid-template-columns:1fr 28px;padding:16px}.platform-store-name{grid-column:1}.platform-store-row>span:nth-child(2),.platform-store-row>span:nth-child(3),.platform-store-row>span:nth-child(4){grid-column:1;padding-top:9px;border-top:1px solid var(--line)}.platform-row-arrow{grid-column:2;grid-row:1/5}.platform-store-overview{grid-template-columns:1fr 1fr}.platform-form-grid{grid-template-columns:1fr}.platform-store-sheet{padding:17px}.platform-log-list article{grid-template-columns:1fr}.platform-log-list article>div:last-child{text-align:left}.platform-impersonation-banner{justify-content:space-between;gap:8px;padding:8px 10px}.platform-impersonation-banner b{font-size:11px}.platform-impersonation-banner span{font-size:9px}.platform-impersonation-banner button{padding:7px 9px;font-size:10px}}

/* v0.3.1 店舗申込・メール認証・自動開設 */
.application-body{min-height:100vh;background:linear-gradient(180deg,#f8f8f5 0,#ecece6 100%)}.application-shell{width:min(940px,calc(100% - 28px));margin:0 auto;padding:0 0 60px}.application-header{min-height:78px;display:flex;align-items:center;justify-content:space-between}.application-brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none}.application-brand>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#111;color:#fff;font-size:20px;font-weight:1000}.application-brand b{font-size:20px;letter-spacing:.06em}.application-hero{display:grid;grid-template-columns:1fr 270px;gap:24px;align-items:end;padding:34px 0 28px}.application-hero h1{margin:7px 0 10px;font-size:43px;line-height:1.1}.application-hero p{margin:0;color:var(--muted);line-height:1.7}.application-plan{display:grid;gap:5px;padding:22px;border-radius:20px;background:#111;color:#fff;box-shadow:0 18px 44px rgba(0,0,0,.14)}.application-plan small{font-weight:800;color:#bfbfb9}.application-plan b{font-size:28px}.application-plan b span{font-size:12px}.application-plan p{color:#d9d9d2;font-size:13px}.application-form{display:grid;gap:16px}.application-card{background:#fff;border:1px solid #dcdcd5;border-radius:22px;padding:25px;box-shadow:0 7px 25px rgba(0,0,0,.045)}.application-section-head{display:flex;align-items:flex-start;gap:13px;margin-bottom:20px}.application-section-head>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#111;color:#fff;font-weight:1000;flex:0 0 auto}.application-section-head h2{margin:1px 0 5px;font-size:21px}.application-section-head p{margin:0;color:var(--muted);font-size:12px}.application-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.application-grid label{display:grid;gap:7px}.application-grid label>span{font-size:12px;font-weight:900}.application-grid label>small{color:var(--muted);font-size:10px;line-height:1.5}.application-wide{grid-column:1/-1}.application-prefix{display:grid;grid-template-columns:auto 1fr;align-items:center;border:1px solid var(--line);border-radius:12px;background:#f6f6f2;overflow:hidden}.application-prefix b{padding:0 0 0 13px;color:#777772;font-size:12px;white-space:nowrap}.application-prefix .input{border:0;border-radius:0;background:#fff}.application-availability{min-height:15px;font-size:11px;font-style:normal;font-weight:900}.application-availability.ok{color:var(--ok)}.application-availability.ng{color:var(--danger)}.application-agreement{display:flex;align-items:flex-start;gap:10px;margin:10px 0;padding:12px 13px;border:1px solid var(--line);border-radius:12px;background:#fafaf7;font-size:13px;font-weight:800}.application-agreement input{width:20px;height:20px;flex:0 0 auto}.application-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.application-error{min-height:20px;margin:10px 0;color:var(--danger);font-size:13px;font-weight:900}.application-submit{font-size:17px}.application-submit-note{text-align:center;color:var(--muted);font-size:10px;line-height:1.6}.application-complete{text-align:center;padding:38px}.application-complete h2{margin:12px 0 8px}.application-complete>p{line-height:1.7}.application-success-mark{display:grid;place-items:center;width:64px;height:64px;margin:0 auto;border-radius:50%;background:#dff4e6;color:#145a31;font-size:32px;font-weight:1000}.application-complete dl,.verification-card dl{display:grid;gap:0;margin:22px 0;border:1px solid var(--line);border-radius:14px;overflow:hidden;text-align:left}.application-complete dl>div,.verification-card dl>div{display:grid;grid-template-columns:130px 1fr;gap:14px;padding:12px 14px;border-top:1px solid var(--line)}.application-complete dl>div:first-child,.verification-card dl>div:first-child{border-top:0}.application-complete dt,.verification-card dt{color:var(--muted);font-size:11px;font-weight:900}.application-complete dd,.verification-card dd{margin:0;font-weight:800;overflow-wrap:anywhere}.application-success-text{min-height:20px;margin:10px 0;color:var(--ok);font-size:13px;font-weight:900}.application-footer{text-align:center;padding:32px 0;color:#888883;font-size:11px}.application-closed{text-align:center;padding:44px}.verification-shell,.store-portal-shell{width:min(580px,calc(100% - 28px));min-height:100vh;margin:0 auto;padding:38px 0;display:grid;align-content:center;gap:22px}.verification-shell>.application-brand,.store-portal-shell>.application-brand{justify-self:center}.verification-card,.store-portal-card{text-align:center;padding:36px}.verification-card h1,.store-portal-card h1{margin:15px 0 8px}.verification-card p,.store-portal-card p{color:var(--muted);line-height:1.7}.verification-loader{width:48px;height:48px;margin:0 auto;border:5px solid #e4e4de;border-top-color:#111;border-radius:50%;animation:verification-spin .8s linear infinite}@keyframes verification-spin{to{transform:rotate(360deg)}}.store-portal-body{min-height:100vh;background:radial-gradient(circle at 50% 0,#fff,#ededE7)}.store-portal-card{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 20px 60px rgba(0,0,0,.09)}.store-portal-card>.btn{margin-top:18px}.store-portal-card>small{display:block;margin-top:16px;color:var(--muted);line-height:1.6}.store-portal-icon{display:grid;place-items:center;width:68px;height:68px;margin:0 auto;border-radius:20px;background:#111;color:#fff;font-size:29px;font-weight:1000}.store-portal-logo{display:block;max-width:180px;max-height:110px;margin:0 auto 18px;object-fit:contain}.platform-application-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.platform-application-table{display:grid}.platform-application-head,.platform-application-row{display:grid;grid-template-columns:minmax(230px,1.2fr) minmax(210px,1fr) minmax(140px,.6fr) minmax(180px,.8fr) 28px;gap:15px;align-items:center}.platform-application-head{padding:11px 22px;background:#f4f4f0;color:#777772;font-size:11px;font-weight:900}.platform-application-row{width:100%;padding:17px 22px;border:0;border-top:1px solid #ecece7;background:#fff;color:inherit;text-align:left;cursor:pointer}.platform-application-row:hover{background:#fafaf7}.platform-application-row>span{display:grid;gap:4px;min-width:0}.platform-application-row b{font-size:14px}.platform-application-row>span:first-child b{font-size:17px}.platform-application-row small{color:var(--muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.platform-application-row i{width:max-content;font-style:normal}.platform-mail-error{color:var(--danger)!important;font-weight:900}.platform-application-detail{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:20px 0}.platform-application-detail>div{display:grid;gap:6px;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff}.platform-application-detail span{font-size:10px;color:var(--muted);font-weight:900}.platform-application-detail b{font-size:13px}.platform-application-dl{display:grid;gap:0;margin:0}.platform-application-dl>div{display:grid;grid-template-columns:130px 1fr;gap:15px;padding:10px 0;border-top:1px solid var(--line)}.platform-application-dl>div:first-child{border-top:0}.platform-application-dl dt{color:var(--muted);font-size:11px;font-weight:900}.platform-application-dl dd{margin:0;font-size:13px;font-weight:800;overflow-wrap:anywhere}.platform-application-error{display:grid;gap:5px;padding:13px;border-radius:12px;background:#ffe1df;color:#8f1710;font-size:12px}.platform-application-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}
@media(max-width:900px){.platform-application-metrics{grid-template-columns:repeat(3,1fr)}.platform-application-head{display:none}.platform-application-row{grid-template-columns:1fr 1fr 28px}.platform-application-row>span:first-child{grid-column:1/3}.platform-application-row>span:nth-child(4){grid-column:1/3;padding-top:8px;border-top:1px solid var(--line)}.platform-application-row .platform-row-arrow{grid-column:3;grid-row:1/4}.platform-application-detail{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.application-shell{width:calc(100% - 18px)}.application-header{min-height:66px}.application-hero{grid-template-columns:1fr;padding:24px 4px 20px}.application-hero h1{font-size:34px}.application-plan{padding:18px}.application-card{padding:18px;border-radius:18px}.application-grid{grid-template-columns:1fr}.application-wide{grid-column:auto}.application-prefix{grid-template-columns:1fr}.application-prefix b{padding:10px 12px;border-bottom:1px solid var(--line);font-size:10px}.application-complete dl>div,.verification-card dl>div{grid-template-columns:1fr;gap:4px}.verification-shell,.store-portal-shell{padding:20px 0}.verification-card,.store-portal-card{padding:26px 18px}.platform-application-metrics{grid-template-columns:1fr 1fr}.platform-application-row{grid-template-columns:1fr 24px;padding:15px}.platform-application-row>span:first-child,.platform-application-row>span:nth-child(2),.platform-application-row>span:nth-child(3),.platform-application-row>span:nth-child(4){grid-column:1;padding-top:8px;border-top:1px solid var(--line)}.platform-application-row>span:first-child{padding-top:0;border-top:0}.platform-application-row .platform-row-arrow{grid-column:2;grid-row:1/5}.platform-application-detail{grid-template-columns:1fr 1fr}.platform-application-dl>div{grid-template-columns:1fr;gap:4px}.platform-application-actions{grid-template-columns:1fr}}
.login-wrap{max-width:460px;padding-top:55px}.application-login-link{display:block;margin-top:18px;text-align:center;color:#444;font-size:13px;font-weight:800}
.platform-store-url{display:block;margin-top:5px;color:var(--muted);font-size:11px;font-weight:800}
.application-resend-panel{margin-top:16px}.application-resend-panel>summary{cursor:pointer;font-weight:900;list-style:none}.application-resend-panel>summary::-webkit-details-marker{display:none}.application-resend-panel>summary::after{content:'＋';float:right}.application-resend-panel[open]>summary::after{content:'−'}.application-resend-body{display:grid;gap:13px;padding-top:17px}.application-resend-body>p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}

/* v0.3.2 Stripe定期課金・Webhook */
.billing-home-card{border-color:#abc4b3;background:#f5fbf7}.billing-home-card b{color:#195c31}.home-card.is-disabled{opacity:.62;border-style:dashed}.billing-blocked-notice,.billing-warning-notice{display:grid;gap:7px;margin-bottom:14px}.billing-blocked-notice b,.billing-warning-notice b{font-size:14px}.billing-blocked-notice span,.billing-warning-notice span{font-size:12px;line-height:1.6}.billing-blocked-notice .btn,.billing-warning-notice .btn{margin-top:5px}.billing-page{display:grid;gap:14px;padding-bottom:50px}.billing-actions-card{display:grid;gap:16px}.billing-actions-card h3{margin:5px 0}.billing-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.billing-cancel-area{display:grid;gap:10px;padding-top:16px;border-top:1px solid var(--line)}.billing-cancel-area>div{display:grid;gap:4px}.billing-cancel-area span,.billing-help-note{color:var(--muted);font-size:12px;line-height:1.7}.billing-help-note{padding:12px;border-radius:12px;background:#f5f5f2}.billing-summary-card h2{margin:5px 0 3px;font-size:27px}.billing-detail-list{display:grid;margin:12px 0 0}.billing-detail-list>div{display:grid;grid-template-columns:minmax(120px,.7fr) 1.3fr;gap:16px;padding:12px 0;border-top:1px solid var(--line)}.billing-detail-list dt{color:var(--muted);font-size:11px;font-weight:900}.billing-detail-list dd{margin:0;text-align:right;font-size:13px;font-weight:800;line-height:1.6}.application-checkout-cancelled{margin-bottom:16px;border-color:#e2c46b;background:#fffaf0}.platform-stripe-warning{margin:0 0 20px}.platform-code-value{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px!important;word-break:break-all}.platform-section-title-row{display:flex;align-items:center;justify-content:space-between;gap:14px}.platform-stripe-settings{margin-bottom:20px;padding:0 24px 22px}.platform-stripe-settings>.platform-panel-head{margin:0 -24px 8px}.platform-stripe-event-list{display:grid}.platform-stripe-event-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;align-items:center;padding:15px 22px;border-top:1px solid var(--line)}.platform-stripe-event-list article:first-child{border-top:0}.platform-stripe-event-list article>span{display:grid;gap:4px}.platform-stripe-event-list article>span:nth-child(2){justify-items:end}.platform-stripe-event-list article small{color:var(--muted);font-size:10px;overflow-wrap:anywhere}.platform-stripe-event-list article p{grid-column:1/-1;margin:0;padding:9px 11px;border-radius:9px;background:#fff1ef;color:#8f1710;font-size:11px;line-height:1.6;overflow-wrap:anywhere}.platform-metric-date{font-size:16px!important}.platform-stripe-store-detail{background:#f8faf9}.verification-card a{overflow-wrap:anywhere}
@media(max-width:650px){.billing-action-grid{grid-template-columns:1fr}.billing-detail-list>div{grid-template-columns:1fr;gap:4px}.billing-detail-list dd{text-align:left}.platform-nav{overflow-x:auto;justify-content:flex-start}.platform-nav button{flex:0 0 auto;padding:9px 10px;font-size:11px}.platform-stripe-event-list article{grid-template-columns:1fr}.platform-stripe-event-list article>span:nth-child(2){justify-items:start}.platform-section-title-row{align-items:flex-start}.platform-stripe-settings{padding:0 16px 16px}.platform-stripe-settings>.platform-panel-head{margin:0 -16px 8px}}

/* v0.3.3 無料試用・デモ・手動店舗作成 */
.platform-type-pill{margin-right:5px;background:#e7edf8;color:#294b80}.platform-action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:14px}.platform-trial-actions{background:#fffaf0}.platform-danger-zone{border:1px solid #e9b7b3;background:#fff8f7}.platform-create-store-sheet{max-width:780px}.platform-grid-wide{grid-column:1/-1}.platform-prefix-input{display:grid;grid-template-columns:auto 1fr;align-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.platform-prefix-input>span{padding:0 12px;color:var(--muted);font-size:12px;font-weight:900}.platform-prefix-input .input{border:0;border-left:1px solid var(--line);border-radius:0}.platform-checkbox-line{display:flex;align-items:flex-start;gap:10px;margin:16px 0;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fff}.platform-checkbox-line input{width:20px;height:20px}.platform-credential-card{display:grid;gap:0;margin:20px 0;border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff}.platform-credential-card>div{display:grid;grid-template-columns:140px 1fr;gap:15px;padding:14px;border-top:1px solid var(--line)}.platform-credential-card>div:first-child{border-top:0}.platform-credential-card span{color:var(--muted);font-size:11px;font-weight:900}.platform-credential-card b{overflow-wrap:anywhere}.platform-password-value{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:18px}.platform-demo-panel{padding-bottom:22px}.platform-demo-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr);gap:24px;padding:0 24px}.platform-demo-settings{display:grid;gap:11px;align-content:start}.platform-demo-settings label{display:grid;gap:6px}.platform-demo-settings label>span{font-size:11px;font-weight:900;color:var(--muted)}.platform-trial-list{display:grid}.platform-trial-row{display:grid;grid-template-columns:minmax(230px,1fr) minmax(200px,.8fr) auto;gap:18px;align-items:center;padding:16px 22px;border-top:1px solid var(--line)}.platform-trial-row:first-child{border-top:0}.platform-trial-row>div{display:grid;gap:4px}.platform-trial-row small{color:var(--muted);font-size:11px}.platform-inline-actions{display:flex!important;flex-direction:row;gap:7px!important;flex-wrap:wrap;justify-content:flex-end}.platform-inline-actions .tab{padding:7px 10px;font-size:11px}.demo-body{min-height:100vh;background:radial-gradient(circle at 50% 0,#fff,#ecece6)}.demo-shell{width:min(980px,calc(100% - 28px));margin:0 auto;padding:34px 0 60px}.demo-shell>.application-brand{justify-content:center}.demo-hero{text-align:center;padding:54px 10px 34px}.demo-hero h1{margin:8px 0 12px;font-size:clamp(34px,6vw,62px);letter-spacing:-.045em}.demo-hero p{max-width:650px;margin:auto;color:var(--muted);line-height:1.8}.demo-loading,.demo-error{text-align:center;padding:50px}.demo-notice{display:grid;gap:5px;padding:15px 18px;margin-bottom:16px;border-radius:14px;background:#fff0c2}.demo-notice span{font-size:12px;line-height:1.7}.demo-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.demo-choice-card{display:grid;align-content:start;gap:13px;padding:26px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 14px 40px rgba(0,0,0,.06)}.demo-choice-card h2{margin:0;font-size:25px}.demo-choice-card p{margin:0;color:var(--muted);line-height:1.7}.demo-choice-card small{color:var(--muted);line-height:1.6}.demo-step{font-size:11px;font-weight:1000;letter-spacing:.16em}.demo-credentials{display:grid;margin:4px 0;border:1px solid var(--line);border-radius:13px;overflow:hidden}.demo-credentials>div{display:grid;grid-template-columns:105px 1fr;padding:11px;border-top:1px solid var(--line)}.demo-credentials>div:first-child{border-top:0}.demo-credentials dt{color:var(--muted);font-size:10px;font-weight:900}.demo-credentials dd{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0}.demo-credentials code{font-size:13px;font-weight:900}.demo-credentials button{border:0;border-radius:999px;padding:6px 9px;background:#eee;font-size:10px;font-weight:900}.demo-status-card{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:16px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--line)}.demo-status-card>div{display:grid;gap:5px;padding:16px;background:#fff}.demo-status-card span{color:var(--muted);font-size:10px;font-weight:900}.demo-status-card b{font-size:13px}.demo-environment-banner{position:sticky;top:0;z-index:30;padding:8px 14px;background:#7c2d12;color:#fff;text-align:center;font-size:12px;font-weight:900}.trial-countdown-notice{display:grid;gap:5px;background:#eef8f1}.trial-countdown-notice.ending-soon{background:#fff0c2}.trial-countdown-notice b{font-size:14px}.trial-countdown-notice span{font-size:12px;line-height:1.6}
@media(max-width:760px){.platform-demo-grid{grid-template-columns:1fr;padding:0 16px}.platform-trial-row{grid-template-columns:1fr;padding:15px}.platform-inline-actions{justify-content:flex-start}.demo-choice-grid{grid-template-columns:1fr}.demo-status-card{grid-template-columns:1fr}.platform-grid-wide{grid-column:auto}.platform-credential-card>div{grid-template-columns:1fr;gap:5px}.demo-hero{padding-top:38px}}

/* v0.3.3 demo banner offsets */
body{--demo-banner-offset:0px;--platform-banner-offset:0px}body.demo-environment-active{--demo-banner-offset:34px}body.platform-impersonation-active{--platform-banner-offset:58px}.demo-environment-banner{min-height:34px;display:grid;place-items:center}.demo-environment-banner[hidden]{display:none!important}.platform-impersonation-banner{top:var(--demo-banner-offset)}.topbar{top:calc(var(--demo-banner-offset) + var(--platform-banner-offset))}@media(max-width:650px){body.platform-impersonation-active{--platform-banner-offset:50px}}

/* v0.3.4 初期設定ウィザード */
.onboarding-home-card{border-color:#b8c7a9;background:#f7fbf3}.onboarding-home-card b{color:#315b24}.onboarding-billing-button{border-color:#abc4b3;background:#f5fbf7;color:#195c31}.onboarding-billing-shortcut{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:16px 18px;border:1px solid #abc4b3;border-radius:16px;background:#f5fbf7}.onboarding-billing-shortcut>div{display:grid;gap:4px}.onboarding-billing-shortcut b{color:#195c31;font-size:15px}.onboarding-billing-shortcut span{color:var(--muted);font-size:12px;line-height:1.6}.onboarding-page{padding-bottom:70px}.onboarding-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 4px 20px}.onboarding-hero h1{margin:10px 0 8px;font-size:clamp(28px,5vw,48px);letter-spacing:-.04em}.onboarding-hero p{margin:0;color:var(--muted);line-height:1.7}.onboarding-progress-ring{--progress:0;position:relative;display:grid;place-items:center;width:132px;height:132px;flex:0 0 132px;border-radius:50%;background:conic-gradient(#176b3a var(--progress),#e4e5df 0)}.onboarding-progress-ring::before{content:'';position:absolute;inset:11px;border-radius:50%;background:var(--bg)}.onboarding-progress-ring b,.onboarding-progress-ring span{position:relative;z-index:1}.onboarding-progress-ring b{font-size:29px}.onboarding-progress-ring span{margin-top:-27px;color:var(--muted);font-size:10px;font-weight:900}.onboarding-progress-bar{height:9px;margin-bottom:22px;border-radius:99px;background:#e2e3de;overflow:hidden}.onboarding-progress-bar span{display:block;height:100%;border-radius:99px;background:#176b3a;transition:width .25s}.onboarding-steps{display:grid;gap:12px}.onboarding-step{display:grid;grid-template-columns:54px minmax(0,1fr);gap:15px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.onboarding-step.complete{border-color:#bdd7c6;background:#fbfffc}.onboarding-step-number{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#f0e7c9;color:#775b00;font-size:19px;font-weight:1000}.onboarding-step.complete .onboarding-step-number{background:#dff4e6;color:#145a31}.onboarding-step-main{display:grid;gap:13px;min-width:0}.onboarding-step-main h3{margin:0 0 4px;font-size:19px}.onboarding-step-main p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.onboarding-step-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.onboarding-test-running{border-color:#e1c46e;background:#fffdf6}.onboarding-test-grid{display:grid;grid-template-columns:minmax(190px,280px) 1fr;gap:18px}.onboarding-test-qr{display:grid;place-items:center;gap:8px;padding:13px;border:1px solid var(--line);border-radius:15px;background:#fff}.onboarding-test-qr img{display:block;width:min(100%,240px);height:auto}.onboarding-test-qr small{color:var(--muted);font-size:11px;font-weight:800}.onboarding-test-status{display:grid;align-content:start;border:1px solid var(--line);border-radius:15px;background:#fff;overflow:hidden}.onboarding-test-status>div{display:grid;grid-template-columns:1fr auto;gap:15px;padding:14px;border-top:1px solid var(--line)}.onboarding-test-status>div:first-child{border-top:0}.onboarding-test-status span{color:var(--muted);font-size:11px;font-weight:900}.onboarding-test-status b{text-align:right;font-size:13px}.onboarding-test-actions a{text-decoration:none}.onboarding-activation{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff}.onboarding-activation>div{display:flex;align-items:center;gap:15px}.onboarding-activation-number{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#111;color:#fff;font-size:20px;font-weight:1000}.onboarding-activation h2{margin:0 0 5px}.onboarding-activation p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.onboarding-activation.ready{border-color:#9cc7aa;background:#f5fbf7}.onboarding-activation.complete{border-color:#9cc7aa;background:#f5fbf7}.onboarding-activation.locked{opacity:.72}.onboarding-locked-card{max-width:600px;margin:70px auto;text-align:center;padding:30px}.onboarding-locked-card h1{margin-top:0}.onboarding-locked-card p{color:var(--muted);line-height:1.7}
@media(max-width:700px){.onboarding-billing-shortcut{align-items:stretch;flex-direction:column}.onboarding-billing-shortcut .btn{width:100%}.onboarding-hero{align-items:flex-start}.onboarding-progress-ring{width:98px;height:98px;flex-basis:98px}.onboarding-progress-ring b{font-size:22px}.onboarding-progress-ring span{margin-top:-20px}.onboarding-step{grid-template-columns:42px minmax(0,1fr);padding:14px;gap:10px}.onboarding-step-number{width:38px;height:38px;font-size:15px}.onboarding-test-grid{grid-template-columns:1fr}.onboarding-activation{align-items:stretch;flex-direction:column}.onboarding-activation .btn{width:100%}}
@media(max-width:480px){.onboarding-hero{display:grid;grid-template-columns:1fr auto;gap:10px}.onboarding-hero p{grid-column:1/-1}.onboarding-progress-ring{grid-column:2;grid-row:1}.onboarding-step-main>.row{align-items:flex-start}.onboarding-step-actions{display:grid;grid-template-columns:1fr}.onboarding-step-actions .btn,.onboarding-step-actions .tab{width:100%;text-align:center}.onboarding-test-actions{grid-template-columns:1fr 1fr}.onboarding-test-actions>*{width:100%}}

/* v0.3.5 アカウント・権限管理 */
.account-home-card{border-color:#b8c8dd;background:#f6f9fd}.account-help-link{display:inline-flex;align-items:center;justify-content:center;color:#28537f;font-size:13px;font-weight:900;text-decoration:none;padding:6px}.login-error{color:#a82626;font-size:13px;font-weight:800;min-height:1.5em}.account-security-page{display:grid;place-items:center;min-height:100vh;padding-top:30px;padding-bottom:30px}.account-security-page>.card{width:min(520px,100%);padding:26px}.account-page{display:grid;gap:14px;padding-bottom:60px}.account-page h2,.account-page h3{margin:0}.account-role-box{display:grid;gap:7px;padding:14px;border-radius:13px;background:#eef3f9}.account-role-box b{font-size:16px}.account-role-box span{font-size:11px;line-height:1.7;color:var(--muted)}.account-login-list{display:grid;margin-top:12px;border:1px solid var(--line);border-radius:13px;overflow:hidden}.account-login-row{display:grid;grid-template-columns:1fr auto;gap:14px;padding:12px 14px;border-top:1px solid var(--line);background:#fff}.account-login-row:first-child{border-top:0}.account-login-row>div{display:grid;gap:3px}.account-login-row>div:last-child{text-align:right}.account-login-row span{font-size:11px;color:var(--muted)}.permission-guide>summary{cursor:pointer;font-weight:900}.permission-role-grid{display:grid;gap:9px;margin-top:14px}.permission-role-grid article{display:grid;gap:5px;padding:11px 13px;background:#f5f5f1;border-radius:11px}.permission-role-grid span{font-size:11px;color:var(--muted);line-height:1.65}.temporary-password-box{display:grid;gap:8px;margin-top:10px;padding:14px;border:1px solid #d4b45c;border-radius:13px;background:#fff9e8}.temporary-password-box code{display:block;padding:12px;border-radius:10px;background:#171717;color:#fff;font-size:18px;font-weight:900;letter-spacing:.08em;overflow-wrap:anywhere}.temporary-password-box small{color:var(--muted);line-height:1.55}.readonly-product-list{display:grid;gap:13px;padding-bottom:50px}.readonly-products{display:grid;margin-top:12px}.readonly-products>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:11px 0;border-top:1px solid var(--line)}.readonly-products>div:first-child{border-top:0}.platform-staff-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.platform-password-sheet{max-width:620px}.platform-password-sheet .platform-credential-card{margin-top:6px}
@media(max-width:600px){.account-login-row{grid-template-columns:1fr}.account-login-row>div:last-child{text-align:left}.readonly-products>div{grid-template-columns:minmax(0,1fr) auto}.readonly-products>div .pill{grid-column:1/-1;justify-self:start}.platform-staff-actions{justify-content:flex-start}.account-security-page>.card{padding:20px}}

/* v0.3.7 注文・会計・店員呼び出し通知強化 */
.ops-main{padding-bottom:82px}.ops-topbar{z-index:12}.ops-connection-bar{position:fixed;right:14px;bottom:14px;z-index:18;display:flex;align-items:center;gap:7px;max-width:calc(100% - 28px);padding:9px 12px;border:1px solid #bad7c5;border-radius:999px;background:rgba(238,250,242,.96);color:#145a31;box-shadow:0 8px 24px rgba(0,0,0,.12);backdrop-filter:blur(10px);font-size:11px}.ops-connection-bar b{font-size:12px}.ops-connection-bar small{color:inherit;opacity:.78}.ops-connection-bar .connection-dot{width:9px;height:9px;border-radius:50%;background:#1f9d55;box-shadow:0 0 0 4px rgba(31,157,85,.12)}.ops-connection-bar.reconnecting{border-color:#e5ca72;background:rgba(255,248,222,.97);color:#765000}.ops-connection-bar.reconnecting .connection-dot{background:#d08b00;animation:connectionPulse .9s infinite}.ops-connection-bar.offline{border-color:#e5aaa6;background:rgba(255,239,237,.98);color:#8f1710}.ops-connection-bar.offline .connection-dot{background:#c92b22;box-shadow:0 0 0 4px rgba(201,43,34,.12)}
.ops-attention-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:3px 0 14px}.ops-attention-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;align-items:center;min-height:70px;padding:11px 12px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);text-align:left;cursor:pointer}.ops-attention-item span{font-size:12px;font-weight:900}.ops-attention-item b{grid-row:1/3;grid-column:2;font-size:26px;line-height:1}.ops-attention-item small{font-size:10px;color:var(--muted);font-weight:800}.ops-attention-item.has-items{border-color:#c8d1da;background:#f8fafc}.ops-attention-item.is-overdue{border-color:#df5a52;background:#fff2f1;box-shadow:0 0 0 2px rgba(179,38,30,.08)}.ops-attention-item.is-overdue b,.ops-attention-item.is-overdue small{color:#a51d16}.ops-attention-strip.has-overdue{animation:attentionPulse 1.8s infinite}.notification-ready-dot{display:inline-block;width:8px;height:8px;margin-left:6px;border-radius:50%;background:#1f9d55;vertical-align:middle}.notification-off{opacity:.62}.notification-settings-card{width:min(760px,100%);max-height:92vh;overflow:auto;background:var(--bg);border-radius:22px 22px 0 0;padding:18px}.notification-permission-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#fff}.notification-permission-panel #notifyPermission{width:auto}.notification-permission-panel>div{display:grid;gap:3px}.notification-permission-panel span{font-size:11px;color:var(--muted);font-weight:800}.notification-permission-panel b{font-size:16px}.notification-kind-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.notification-kind-row{margin:0}.notification-volume{display:grid;gap:8px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.notification-volume label{display:flex;align-items:center;justify-content:space-between}.notification-volume input{width:100%}.notification-reminder-settings,.notification-test-section{display:grid;gap:12px;padding:15px;border:1px solid var(--line);border-radius:15px;background:#fff}.notification-reminder-settings>.row>input{width:24px;height:24px}.notification-setting-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.notification-setting-grid label{position:relative;display:grid;gap:6px}.notification-setting-grid label>span{font-size:11px;font-weight:900;color:var(--muted)}.notification-setting-grid label>small{position:absolute;right:12px;bottom:15px;color:var(--muted);font-weight:800}.notification-setting-grid input{padding-right:34px}.notification-test-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.pending-age{display:block;margin-top:4px;color:var(--muted);font-size:11px;font-weight:900}.pending-age.danger,.elapsed-badge.danger{color:#a51d16}.service-call-card.is-overdue,.checkout-request-card.is-overdue{animation:urgentCardPulse 1.6s infinite}.checkout-request-banner.is-overdue{background:#8f1710;box-shadow:0 8px 24px rgba(143,23,16,.28)}.service-call-banner.is-overdue{animation:callPulse .8s infinite}.notification-flash::before,.reminder-flash::before{content:'';position:fixed;inset:0;z-index:9998;pointer-events:none;border:8px solid #ef8d22;animation:notificationFlash .38s 4}.reminder-flash::before{border-color:#b3261e}.notification-flash .topbar,.reminder-flash .topbar{box-shadow:0 4px 20px rgba(179,38,30,.18)}.connection-restored .ops-connection-bar{animation:connectionRestored 1.2s ease}
@keyframes connectionRestored{0%{transform:scale(.94);background:#dff4e6}45%{transform:scale(1.06)}100%{transform:scale(1)}}@keyframes connectionPulse{0%,100%{opacity:.35}50%{opacity:1}}@keyframes attentionPulse{0%,100%{transform:translateY(0)}50%{transform:translateY(-1px)}}@keyframes urgentCardPulse{0%,100%{box-shadow:0 7px 18px rgba(179,38,30,.08)}50%{box-shadow:0 7px 25px rgba(179,38,30,.22)}}@keyframes notificationFlash{0%,100%{opacity:0}50%{opacity:1}}
@media(min-width:700px){.notification-settings-card{border-radius:22px}.modal:has(.notification-settings-card){align-items:center;justify-content:center}}
@media(max-width:700px){.ops-attention-strip{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:6px}.ops-attention-item{min-height:64px;padding:9px 10px}.ops-attention-item b{font-size:23px}.ops-connection-bar{right:9px;bottom:9px}.notification-kind-grid,.notification-setting-grid{grid-template-columns:1fr}.notification-test-grid{grid-template-columns:1fr 1fr}.notification-settings-card{padding:15px}.notification-permission-panel{align-items:stretch;flex-direction:column}.notification-permission-panel #notifyPermission{width:100%}}


/* v0.3.7 QR案内物・印刷 */
.demo-qr-label{margin:14px auto 0;width:max-content;max-width:100%;padding:8px 16px;border:2px solid #b3261e;border-radius:999px;color:#b3261e;background:#fff;font-weight:900}.qr-print-panel{display:grid;gap:12px;margin:14px 0;padding:15px;border:1px solid var(--line);border-radius:16px;background:#f4f4f0}.qr-print-panel>div:first-child{display:grid;gap:3px}.qr-print-panel>div:first-child b{font-size:17px}.qr-print-panel>div:first-child span{font-size:12px;color:var(--muted)}.qr-print-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.qr-print-controls .btn{white-space:nowrap}.qr-history{display:grid;gap:12px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.qr-history h3{margin:0}.qr-history-list{display:grid;gap:9px}.qr-history-item{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:13px;background:#fff}.qr-history-item.current{border:2px solid #137333;background:#f0fff4}.qr-history-item small{display:block;margin-top:2px;color:var(--muted)}.qr-history-meta{display:grid;gap:4px;font-size:12px;color:#45453f}.pill.blue{background:#e8f0fe;color:#174ea6}
@media(max-width:560px){.qr-print-controls{grid-template-columns:1fr}.qr-print-controls .btn{width:100%}.qr-history-item>.row{align-items:flex-start}.qr-history-item>.row .pill{flex:0 0 auto}}

/* v0.3.8 売上・注文分析 */
.analytics-page{padding-bottom:70px}.analytics-range-card{display:grid;gap:16px}.analytics-presets{display:flex;gap:7px;overflow-x:auto;padding-bottom:2px}.analytics-range-inputs{display:grid;grid-template-columns:minmax(150px,1fr) auto minmax(150px,1fr) auto;gap:10px;align-items:end}.analytics-range-inputs label{display:grid;gap:6px}.analytics-range-inputs label>span{font-size:11px;font-weight:900;color:var(--muted)}.analytics-range-inputs>span{padding-bottom:14px;color:var(--muted);font-weight:900}.analytics-range-meta{padding-top:14px;border-top:1px solid var(--line)}.analytics-export-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.analytics-comparison{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:0;overflow:hidden}.analytics-comparison>div{display:grid;gap:5px;padding:14px;border-left:1px solid var(--line)}.analytics-comparison>div:first-child{border-left:0}.analytics-comparison span{font-size:11px;color:var(--muted);font-weight:800}.analytics-comparison b{font-size:14px}.analytics-summary-grid{grid-template-columns:repeat(4,1fr)}.analytics-stat{position:relative}.analytics-stat.danger{border-color:#e1a29e;background:#fff3f2}.analytics-change{width:max-content;margin-top:2px;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:900}.analytics-change.up{background:#dff4e6;color:#145a31}.analytics-change.down{background:#ffe1df;color:#8f1710}.analytics-change.neutral{background:#eee;color:#555}.analytics-stat.primary .analytics-change{background:rgba(255,255,255,.16);color:#fff}.analytics-adjustment{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:0;overflow:hidden}.analytics-adjustment>div{display:grid;gap:5px;padding:16px;border-left:1px solid var(--line)}.analytics-adjustment>div:first-child{border-left:0}.analytics-adjustment span{font-size:12px;color:var(--muted);font-weight:900}.analytics-adjustment b{font-size:21px}.analytics-adjustment small{font-size:10px;color:var(--muted)}.analytics-adjustment .minus b{color:#8f1710}.analytics-adjustment .final{background:#111;color:#fff}.analytics-adjustment .final span{color:rgba(255,255,255,.7)}.analytics-adjustment .unpaid{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;border-left:0;border-top:1px solid #efd98e;background:#fff0c2}.analytics-chart-card{overflow:hidden;padding:14px 10px}.analytics-chart{display:flex;align-items:flex-end;gap:7px;min-height:220px;overflow-x:auto;padding:30px 4px 5px}.analytics-bar-column{display:grid;grid-template-rows:24px 154px auto;align-items:end;justify-items:center;gap:5px;min-width:54px;border:0;background:transparent;color:var(--ink);padding:0;cursor:pointer}.analytics-bar-column:disabled{cursor:default;opacity:1}.analytics-bar-value{max-width:74px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;color:var(--muted);font-weight:800}.analytics-bar-track{display:flex;align-items:flex-end;justify-content:center;width:28px;height:154px;border-radius:8px 8px 3px 3px;background:#ecece7;overflow:hidden}.analytics-bar-track i{display:block;width:100%;min-height:2px;border-radius:8px 8px 0 0;background:#171717}.analytics-bar-column:hover .analytics-bar-track i{opacity:.72}.analytics-bar-column>b{font-size:10px;white-space:nowrap}.analytics-table-card{padding:0;overflow-x:auto}.analytics-table-head,.analytics-table-row{display:grid;grid-template-columns:minmax(150px,1.4fr) minmax(110px,1fr) minmax(80px,.8fr) minmax(100px,.9fr) minmax(80px,.7fr);gap:12px;align-items:center;min-width:650px;padding:12px 15px}.analytics-table-head{background:#f0f0ec;color:var(--muted);font-size:11px;font-weight:900}.analytics-table-row{width:100%;border:0;border-top:1px solid var(--line);background:#fff;color:var(--ink);text-align:left;cursor:pointer}.analytics-table-row:hover{background:#fafaf7}.analytics-table-row>span{font-size:12px}.analytics-table-row>span:first-child{display:grid;gap:3px}.analytics-table-row small{color:var(--muted);font-size:10px}.analytics-table-row strong{font-size:15px}.analytics-ranking-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:30px 0}.analytics-ranking-grid h2{margin:0}.analytics-ranking-card{padding:3px 15px}.analytics-ranking-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.analytics-ranking-row:last-child{border-bottom:0}.analytics-ranking-row .rank{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#eee;font-size:11px;font-weight:900}.analytics-ranking-row>div{display:grid;gap:3px;min-width:0}.analytics-ranking-row>div>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.analytics-ranking-row>div>small{color:var(--muted);font-size:10px;line-height:1.45}.analytics-ranking-row>strong{display:grid;justify-items:end;gap:2px;font-size:14px;white-space:nowrap}.analytics-ranking-row>strong small{font-size:9px;color:var(--muted)}.analytics-share{display:block;height:4px;margin-top:4px;border-radius:999px;background:#ecece7;overflow:hidden}.analytics-share i{display:block;height:100%;border-radius:999px;background:#171717}
@media(max-width:760px){.analytics-summary-grid{grid-template-columns:repeat(2,1fr)}.analytics-comparison{grid-template-columns:repeat(2,1fr)}.analytics-comparison>div:nth-child(3){border-left:0;border-top:1px solid var(--line)}.analytics-comparison>div:nth-child(4){border-top:1px solid var(--line)}.analytics-adjustment{grid-template-columns:repeat(2,1fr)}.analytics-adjustment>div:nth-child(3){border-left:0;border-top:1px solid var(--line)}.analytics-adjustment>div:nth-child(4){border-top:1px solid var(--line)}.analytics-ranking-grid{grid-template-columns:1fr}.analytics-range-inputs{grid-template-columns:1fr auto 1fr}.analytics-range-inputs .btn{grid-column:1/-1}.analytics-range-meta{align-items:flex-start}}
@media(max-width:520px){.analytics-range-inputs{grid-template-columns:1fr}.analytics-range-inputs>span{display:none}.analytics-range-meta{display:grid}.analytics-export-actions{justify-content:stretch}.analytics-export-actions>*{flex:1}.analytics-summary-grid{gap:8px}.analytics-comparison{grid-template-columns:1fr 1fr}.analytics-adjustment{grid-template-columns:1fr}.analytics-adjustment>div{border-left:0;border-top:1px solid var(--line)}.analytics-adjustment>div:first-child{border-top:0}.analytics-bar-column{min-width:48px}.analytics-chart{gap:4px}.analytics-ranking-row{grid-template-columns:28px minmax(0,1fr)}.analytics-ranking-row>strong{grid-column:2;justify-items:start}.top-actions{flex-wrap:wrap;justify-content:flex-end}}

/* v0.4.0 Stripe production lifecycle */
.maintenance-page{min-height:100vh;display:grid;place-items:center;padding-block:40px}.maintenance-card{max-width:620px;text-align:center;padding:48px 32px}.maintenance-card .platform-logo-mark{margin:0 auto 20px}.maintenance-card h1{margin:0 0 16px}.maintenance-card p{line-height:1.9}
.operations-settings-form,.operations-announcement-form{display:grid;gap:18px}.operations-settings-form textarea,.operations-announcement-form textarea{resize:vertical;min-height:100px}.operations-maintenance-toggle{padding:18px;border:1px solid #e3c67a;background:#fff9e8;border-radius:16px}.operations-maintenance-toggle span{display:grid;gap:4px}.operations-maintenance-toggle small{font-weight:400;color:#765f20}.operations-legal-links,.operations-legal-list{display:flex;gap:10px;flex-wrap:wrap}.operations-legal-links a,.operations-legal-list a{display:inline-flex;padding:10px 14px;border:1px solid var(--line,#ddd);border-radius:999px;text-decoration:none;color:inherit;background:#fff}.operations-two-column{display:grid;grid-template-columns:1fr 1fr;gap:18px}.operations-announcement-list,.operations-backup-list,.operations-error-list,.operations-lifecycle-list{display:grid;gap:12px;margin-top:18px}.operations-announcement{border:1px solid var(--line,#ddd);border-left:5px solid #8d9aa7;border-radius:16px;padding:16px;display:grid;gap:10px;background:#fff}.operations-announcement.warning{border-left-color:#d79500}.operations-announcement.critical{border-left-color:#c73a3a}.operations-announcement>div:first-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.operations-announcement small{width:100%;color:var(--muted,#677)}.operations-announcement p{margin:0;line-height:1.7}.operations-backup-list article,.operations-lifecycle-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line,#eee)}.operations-backup-list article>span,.operations-lifecycle-list article>span{display:grid;gap:4px}.operations-scan-result{padding:18px;border-radius:16px;display:grid;gap:10px}.operations-scan-result.is-clean{background:#eef9f3;border:1px solid #b7ddc8}.operations-scan-result.has-issues{background:#fff1f1;border:1px solid #efb7b7}.operations-scan-result>div{display:flex;justify-content:space-between;gap:12px;padding-top:8px;border-top:1px solid rgba(0,0,0,.08);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}.operations-error-list article{display:flex;justify-content:space-between;gap:16px;padding:16px;border:1px solid #efc6c6;border-radius:14px;background:#fff8f8}.operations-error-list article.resolved{opacity:.65;border-color:var(--line,#ddd);background:#fafafa}.operations-error-list article>div{min-width:0;display:grid;gap:4px}.operations-error-list p{margin:6px 0;white-space:pre-wrap;word-break:break-word}.operations-error-list code{font-size:11px;word-break:break-all}.platform-announcement-notice{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-left:5px solid #789}.platform-announcement-notice>div{display:grid;gap:5px}.platform-announcement-notice.warning{border-left-color:#d79500;background:#fff9e8}.platform-announcement-notice.critical{border-left-color:#c73a3a;background:#fff0f0}.platform-announcement-notice small{opacity:.7}.operations-home-card{border-color:#9fb7ca}.operations-store-page{display:grid;gap:18px}.operations-store-page a:not(.btn){color:inherit}.operations-store-page a.btn{color:#fff;text-decoration:none;text-align:center}.operations-store-page a.btn.secondary{color:#111}.legal-body{background:#f6f7f8;color:#1d252c}.legal-shell{width:min(100% - 32px,980px);margin-inline:auto}.legal-header{background:#fff;border-bottom:1px solid #e4e7ea;position:sticky;top:0;z-index:5}.legal-header .legal-shell,.legal-footer .legal-shell{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-block:16px}.legal-header nav,.legal-footer nav{display:flex;gap:16px;flex-wrap:wrap}.legal-header nav a,.legal-footer nav a{color:inherit;text-decoration:none;font-size:14px}.legal-main{padding-block:48px 72px}.legal-main>h1{font-size:clamp(30px,5vw,48px);margin:8px 0 32px}.legal-main>section{background:#fff;border:1px solid #e4e7ea;border-radius:18px;padding:24px;margin-bottom:16px}.legal-main h2{margin:0 0 12px;font-size:20px}.legal-main p{line-height:1.9;margin:0}.legal-revision{text-align:right;color:#68737d;font-size:13px}.legal-table dl{margin:0;display:grid}.legal-table dl>div{display:grid;grid-template-columns:220px 1fr;gap:20px;padding:16px 0;border-bottom:1px solid #edf0f2}.legal-table dl>div:last-child{border-bottom:0}.legal-table dt{font-weight:700}.legal-table dd{margin:0;line-height:1.7}.legal-footer{background:#172028;color:#fff}.legal-support-card{max-width:none}.legal-support-card a{color:inherit}
@media(max-width:820px){.operations-two-column{grid-template-columns:1fr}.operations-backup-list article,.operations-lifecycle-list article,.operations-error-list article{align-items:flex-start;flex-direction:column}.legal-header .legal-shell,.legal-footer .legal-shell{align-items:flex-start;flex-direction:column}.legal-table dl>div{grid-template-columns:1fr;gap:6px}.platform-announcement-notice{flex-direction:column}}
.login-legal-links{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:16px;font-size:12px}.login-legal-links a{color:inherit;opacity:.7}.application-footer a{color:inherit}

/* v0.4.2 staff handheld ordering */
.staff-order-modal .sheet{max-width:760px}.staff-order-sheet{padding-bottom:100px}.staff-order-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.staff-order-kicker{display:inline-block;font-size:12px;font-weight:900;letter-spacing:.12em;color:#6b3db8;margin-bottom:4px}.staff-order-search{display:grid;grid-template-columns:1fr auto;gap:8px;margin:16px 0}.staff-order-categories{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px;scrollbar-width:none}.staff-order-categories button{flex:0 0 auto;border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 16px;font-weight:800}.staff-order-categories button.active{background:#111;color:#fff;border-color:#111}.staff-order-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.staff-order-product{position:relative;display:flex;justify-content:space-between;gap:12px;text-align:left;min-height:88px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff}.staff-order-product span{display:grid;gap:4px}.staff-order-product small{color:#7a4a00}.staff-order-product b{font-size:17px}.staff-order-product em{font-style:normal;font-size:12px;color:var(--muted);line-height:1.4}.staff-order-product strong{white-space:nowrap;font-size:17px}.staff-order-product.soldout{opacity:.55}.staff-order-product i{position:absolute;inset:auto 10px 8px auto;color:#b3261e;font-style:normal;font-weight:900}.staff-order-cartbar{position:sticky;bottom:-1px;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;margin:18px -20px -20px;padding:14px 20px;background:#111;color:#fff;box-shadow:0 -8px 24px rgba(0,0,0,.16)}.staff-order-cartbar div{display:grid}.staff-order-cartbar span{font-size:12px}.staff-order-cartbar b{font-size:22px}.staff-order-cartbar .btn{background:#fff;color:#111}.staff-option-group{display:grid;gap:8px;margin:16px 0}.staff-option-group>div{display:flex;justify-content:space-between;gap:12px}.staff-option-group>div span{font-size:12px;color:var(--muted)}.staff-option-group label{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--line);border-radius:12px}.staff-option-group input{width:22px;height:22px}.staff-option-group label span{font-weight:800}.staff-option-group label small{font-weight:600;color:var(--muted)}.staff-option-group label.soldout{opacity:.5}.staff-order-note{display:grid;gap:8px;margin:18px 0}.staff-order-quantity{display:grid;grid-template-columns:64px 1fr 64px;gap:10px;align-items:center;margin:18px 0}.staff-order-quantity button{height:52px;border:1px solid var(--line);border-radius:14px;background:#fff;font-size:26px}.staff-order-quantity b{text-align:center;font-size:26px}.staff-order-confirm-items{display:grid;gap:10px;margin:16px 0}.staff-order-confirm-items article{display:grid;grid-template-columns:1fr auto;gap:12px;padding:14px;border:1px solid var(--line);border-radius:14px}.staff-order-confirm-items article>div{display:grid;gap:5px}.staff-order-confirm-items article>div:last-child{justify-items:end}.staff-order-confirm-items small{color:var(--muted)}.staff-order-mini-qty{display:flex;align-items:center;gap:8px}.staff-order-mini-qty button{width:34px;height:34px;border:1px solid var(--line);border-radius:9px;background:#fff}.staff-order-grandtotal{display:flex;justify-content:space-between;align-items:center;padding:18px 0;font-size:18px}.staff-order-grandtotal b{font-size:28px}.staff-order-pill{background:#efe4ff;color:#5d259b}.qr-order-pill{background:#e8f4ff;color:#185b8f}.customer-order-source{display:inline-flex;margin-top:5px;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800}.customer-order-source.staff{background:#efe4ff;color:#5d259b}.customer-order-source.qr{background:#e8f4ff;color:#185b8f}.service-call-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.staff-order-start{background:#6b32b8;color:#fff}
@media(max-width:640px){.staff-order-modal .sheet{width:100%;max-width:none;border-radius:20px 20px 0 0;padding:16px}.staff-order-products{grid-template-columns:1fr}.staff-order-product{min-height:74px}.staff-order-cartbar{margin-left:-16px;margin-right:-16px;margin-bottom:-16px;padding:12px 16px}.staff-order-confirm-items article{grid-template-columns:1fr}.staff-order-confirm-items article>div:last-child{justify-items:start}.service-call-actions{grid-template-columns:1fr}.visit-actions .staff-order-start{grid-column:1/-1;width:100%}}


.order-correction-sheet{max-width:760px}
.order-correction-total{display:flex;align-items:center;justify-content:space-between;margin:16px 0;padding:14px 16px;border-radius:16px;background:var(--surface-soft,#f5f7f8)}
.order-correction-total b{font-size:1.35rem}
.order-correction-order{margin:16px 0;border:1px solid var(--line,#dde2e5);border-radius:18px;overflow:hidden;background:#fff}
.order-correction-order-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;background:#f7f8f9;border-bottom:1px solid var(--line,#dde2e5)}
.order-correction-order-head div{display:grid;gap:3px}
.order-correction-order-head small{color:var(--muted,#667085)}
.order-correction-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:16px;border-bottom:1px solid var(--line,#dde2e5)}
.order-correction-item:last-child{border-bottom:0}
.order-correction-item h3{margin:0;font-size:1rem}
.order-correction-item p,.order-correction-item small{display:block;margin:5px 0 0;color:var(--muted,#667085)}
.order-correction-item.cancelled{background:#fff7f7;opacity:.86}
.order-correction-item.cancelled h3{text-decoration:line-through}
.order-correction-item-actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:8px;min-width:120px}
.order-correction-qty{display:flex;align-items:center;gap:7px}
.order-cancel-record{display:grid;gap:3px;margin-top:9px;padding:9px 11px;border-radius:10px;background:#fff0f0;color:#9d1c1c}
.order-cancel-record span{font-size:.78rem}
.order-change-history{margin-top:20px;padding-top:18px;border-top:1px solid var(--line,#dde2e5)}
.order-change-history h3{margin:0 0 10px}
.order-change-row{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px dashed var(--line,#dde2e5)}
.order-change-row>span{display:grid;gap:3px}
.order-change-row>span:last-child{text-align:right}
.order-change-row small{display:block;color:var(--muted,#667085)}
.report-item-row.cancelled{opacity:.68;background:#fff4f4}
.report-item-row.cancelled b{text-decoration:line-through}
@media(max-width:640px){
  .order-correction-item{grid-template-columns:1fr}
  .order-correction-item-actions{align-items:stretch;min-width:0}
  .order-correction-qty{justify-content:flex-end}
  .order-change-row{display:grid}
  .order-change-row>span:last-child{text-align:left}
}

/* v0.4.5 注文状態・厨房・会計の統合 */
.fulfillment-progress{margin:12px 0;padding:12px;border:1px solid var(--line,#ddd);border-radius:14px;background:#fafafa}.fulfillment-progress.has-unfinished{border-color:#e7c27a;background:#fffaf0}.fulfillment-progress.complete{border-color:#9fc9ac;background:#f3fbf5}.fulfillment-progress-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px}.fulfillment-progress-head span{font-size:.82rem;color:#666}.fulfillment-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.fulfillment-status-grid span{display:block;padding:7px 5px;border-radius:9px;text-align:center;font-size:.78rem;font-weight:800;background:#eee}.fulfillment-status-grid .submitted{background:#fff0c8}.fulfillment-status-grid .preparing{background:#dcecff}.fulfillment-status-grid .ready{background:#ffe0d7}.fulfillment-status-grid .served{background:#dff3e4}.fulfillment-progress.compact{margin:10px 0;padding:10px}.checkout-fulfillment{margin:14px 0;padding:14px;border-radius:15px;border:1px solid #ddd}.checkout-fulfillment.warning{background:#fff8ed;border-color:#e5b96a}.checkout-fulfillment.complete{background:#f2fbf4;border-color:#9fc9ac}.checkout-fulfillment h3{margin:0}.checkout-fulfillment .notice{margin:12px 0 0;display:grid;gap:4px}.order-batch-advance{margin-top:10px}@media(max-width:560px){.fulfillment-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fulfillment-progress-head{align-items:flex-start;flex-direction:column;gap:3px}}

/* v0.4.6 現場通知・店員呼び出し対応共有 */
.notification-arm-banner{width:min(928px,calc(100% - 32px));margin:12px auto 0;border:2px solid #1769aa;border-radius:16px;padding:12px 15px;background:#eef7ff;color:#123d60;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;text-align:left;cursor:pointer;box-shadow:0 6px 18px rgba(23,105,170,.12)}
.notification-arm-banner[hidden]{display:none}.notification-arm-banner>span:nth-child(2){display:grid;gap:2px}.notification-arm-banner b{font-size:15px}.notification-arm-banner small{font-size:11px;color:#47687f;font-weight:800}.notification-arm-banner>span:last-child{font-size:25px;font-weight:900}.notification-arm-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#1769aa;color:#fff;font-size:21px;font-weight:900}.notification-arm-banner.browser-only{border-color:#7b5bb4;background:#f7f2ff;color:#4a2a78}.notification-arm-banner.browser-only .notification-arm-icon{background:#7b5bb4}
.service-call-card.is-responding{border-color:#23834b;background:#f0fbf4;box-shadow:0 8px 20px rgba(35,131,75,.13);animation:none}.service-call-card.is-responding .service-call-icon{background:#23834b;color:#fff}.service-call-card.is-responding .service-call-label{color:#176a3b}.service-call-card.is-responding .visit-location{border-color:#23834b}.call-assignee{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin-top:5px;padding:5px 9px;border-radius:999px;background:#dcefe3;color:#176a3b;font-size:12px;font-weight:900}.call-assignee.mine{background:#176a3b;color:#fff}.service-call-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}
@media(max-width:699px){.notification-arm-banner{width:calc(100% - 20px);margin-top:9px;padding:11px 12px}.notification-arm-banner b{font-size:14px}.service-call-actions{grid-template-columns:1fr}}

.service-call-banner.is-responding{background:#23834b;box-shadow:0 8px 24px rgba(35,131,75,.24);animation:none}.service-call-banner.is-responding .service-call-icon{color:#23834b}

/* v0.4.7 operation safety */
button:disabled,.btn:disabled,.tab:disabled{cursor:not-allowed;opacity:.58}


/* v0.4.8 role-based operation scope */
.ops-role-scope{display:flex;gap:10px;align-items:flex-start;padding:10px 16px;background:#eef5ff;border-bottom:1px solid #cfe0f5;font-size:13px;line-height:1.5}.ops-role-scope b{white-space:nowrap;color:#174a7e}.ops-role-scope span{color:#40566d}.ops-summary:empty{display:none}@media(max-width:640px){.ops-role-scope{padding:9px 12px;flex-direction:column;gap:2px}}
.ops-summary.checkout-enabled{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}@media(max-width:480px){.ops-summary.checkout-enabled{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.4.9 レジ決済結果・支払方法記録 */
.checkout-payment-section{display:grid;gap:12px;margin:16px 0;padding:15px;border:1px solid var(--line);border-radius:16px;background:#fff}.checkout-payment-section>div:first-child{display:grid;gap:4px}.checkout-payment-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.checkout-payment-choice{position:relative;cursor:pointer}.checkout-payment-choice input{position:absolute;opacity:0;pointer-events:none}.checkout-payment-choice span{display:grid;place-items:center;min-height:48px;padding:10px;border:2px solid var(--line);border-radius:12px;background:#fff;font-weight:900;text-align:center;transition:.15s ease}.checkout-payment-choice input:checked+span{border-color:#176b3a;background:#eaf7ee;color:#145a31;box-shadow:0 0 0 1px #176b3a inset}.checkout-payment-choice input:focus-visible+span{outline:3px solid rgba(23,107,58,.22);outline-offset:2px}.checkout-payment-other{display:grid;gap:7px;font-weight:800}.checkout-payment-other[hidden]{display:none}.payment-method-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.payment-method-stat{display:grid;gap:5px;padding:15px}.payment-method-stat span{font-size:13px;color:var(--muted);font-weight:900}.payment-method-stat b{font-size:22px}.payment-method-stat small{color:var(--muted)}.payment-method-stat.warning{border-color:#e1b45d;background:#fff9e9}.report-payment-tag{margin-top:10px;padding:8px 10px;border-radius:10px;background:#eaf7ee;color:#145a31;font-size:12px;font-weight:900}.checkout-payment-history{background:#eaf7ee;color:#145a31}.checkout-complete-warning{display:grid;gap:4px}
@media(max-width:560px){.checkout-payment-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-method-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-method-stat b{font-size:18px}}
/* v0.5.0 テイクアウト */
.takeaway-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:8px 0 16px}.takeaway-toolbar h2{margin:0}.takeaway-status-guide{display:flex;gap:8px;overflow:auto;margin-bottom:14px}.takeaway-status-guide span{white-space:nowrap;background:#fff;border:1px solid #ddd;border-radius:999px;padding:7px 11px;font-size:12px}.takeaway-card{border-left:5px solid #9aa3ad}.takeaway-card.status-received{border-left-color:#ef9b34}.takeaway-card.status-preparing{border-left-color:#498ee8}.takeaway-card.status-ready{border-left-color:#20a36a}.takeaway-card.status-handed_over{opacity:.72}.takeaway-card.status-cancelled{opacity:.55}.takeaway-number{display:block;font-size:11px;font-weight:800;letter-spacing:.08em;color:#6a6f78;margin-bottom:3px}.takeaway-card h3{margin:0 0 4px}.takeaway-metrics{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}.takeaway-metrics span{background:#f4f6f8;border-radius:10px;padding:8px 11px}.takeaway-actions{display:flex;gap:8px;flex-wrap:wrap}.takeaway-detail-list{margin:18px 0}.takeaway-detail-list article{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #e7e7e7}.takeaway-detail-list small{display:block;color:#6a6f78;margin-top:4px}.takeaway-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.takeaway-form-grid label>span{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-weight:700;font-size:13px;margin-bottom:6px}@media(max-width:640px){.takeaway-toolbar{align-items:flex-start}.takeaway-form-grid{grid-template-columns:1fr}.takeaway-actions>*{flex:1}}

/* v0.5.1 お客様向けテイクアウト注文 */
.takeaway-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.takeaway-public-guide{display:grid;gap:4px;margin:0 0 14px;padding:13px 15px;border:1px solid #bcd7ef;border-radius:14px;background:#eff8ff;color:#234a67}.takeaway-public-guide span{font-size:13px;line-height:1.55}.takeaway-public-qr-sheet{text-align:center}.takeaway-public-qr-sheet .row{text-align:left}.takeaway-public-qr-sheet>img{display:block;width:min(420px,100%);height:auto;margin:18px auto;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff}.takeaway-public-qr-sheet p{line-height:1.65}.takeaway-qr-actions{display:flex;justify-content:center;gap:10px;margin-top:12px}
.takeout-customer-body{min-height:100vh;padding-bottom:calc(94px + env(safe-area-inset-bottom));background:#f4f3ef}.takeout-customer-head{position:sticky;top:0;z-index:8;border-bottom:1px solid var(--line);background:rgba(244,243,239,.94);backdrop-filter:blur(12px)}.takeout-store-head{display:flex;align-items:center;gap:12px;padding-top:12px;padding-bottom:12px}.takeout-store-head img,.takeout-store-mark{width:46px;height:46px;flex:0 0 46px;border-radius:14px;object-fit:cover;border:1px solid var(--line);background:#fff}.takeout-store-mark{display:grid;place-items:center;background:#111;color:#fff;font-weight:900;font-size:20px}.takeout-store-head>div{display:grid;gap:2px;min-width:0}.takeout-store-head b{font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.takeout-store-head span{font-size:12px;color:var(--muted);font-weight:800}.takeout-customer-main,.takeout-order-result{max-width:780px}.takeout-intro{padding:13px 2px 8px}.takeout-intro>span{display:inline-block;margin-bottom:5px;padding:5px 9px;border-radius:999px;background:#111;color:#fff;font-size:11px;font-weight:900}.takeout-intro h1{margin:0;font-size:27px}.takeout-intro p{margin:7px 0 0;color:var(--muted);line-height:1.6}.takeout-closed-notice{display:grid;gap:4px;background:#fff0dc;color:#744600}.takeout-search{margin:12px 0}.takeout-category-nav{display:flex;gap:8px;overflow-x:auto;padding:3px 0 12px;scrollbar-width:none}.takeout-category-nav::-webkit-scrollbar{display:none}.takeout-category-nav button{white-space:nowrap;border:1px solid var(--line);border-radius:999px;padding:9px 14px;background:#fff;font-weight:800}.takeout-category-nav button.active{border-color:#111;background:#111;color:#fff}.takeout-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.takeout-product-card{position:relative;display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;align-items:center;margin:0;padding:12px;cursor:pointer;overflow:hidden}.takeout-product-card>img,.takeout-product-placeholder{width:112px;height:92px;border-radius:14px;object-fit:cover;background:#ecece7}.takeout-product-placeholder{display:grid;place-items:center;color:#aaa;font-weight:900;font-size:28px}.takeout-product-card>div:last-child{display:grid;align-content:center;gap:6px;min-width:0}.takeout-product-card h2{margin:0;font-size:17px;line-height:1.35}.takeout-product-card p{display:-webkit-box;overflow:hidden;margin:0;color:var(--muted);font-size:12px;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical}.takeout-product-card strong{font-size:16px}.takeout-product-card .btn{justify-self:start;padding:8px 12px;font-size:12px}.takeout-product-card.soldout{cursor:default;opacity:.62}.takeout-product-card.soldout::after{content:'売切れ';position:absolute;top:12px;right:12px;padding:5px 8px;border-radius:999px;background:#ffe1df;color:#8f1710;font-size:11px;font-weight:900}.takeout-product-card.soldout .pill{display:none}.takeout-cartbar{position:fixed;z-index:12;left:50%;bottom:calc(12px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(744px,calc(100% - 24px));padding:12px 12px 12px 17px;border-radius:18px;background:#111;color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.25)}.takeout-cartbar>div{display:grid;gap:1px}.takeout-cartbar span{font-size:12px;opacity:.7}.takeout-cartbar b{font-size:19px}.takeout-cartbar .btn{background:#fff;color:#111;padding:12px 16px}.takeout-bottom-space{height:85px}.takeout-product-sheet{display:grid;gap:15px}.takeout-product-sheet h2{margin:2px 0 5px}.takeout-product-sheet label>span,.takeout-customer-form label>span{display:block;margin-bottom:7px;font-weight:800}.takeout-product-sheet label>span small,.takeout-customer-form label>span small{color:var(--muted);font-weight:600}.takeout-cart-title{align-items:flex-start;margin:8px 0 13px}.takeout-cart-title h1{margin:3px 0 0;font-size:25px}.takeout-cart-items{padding:4px 16px}.takeout-cart-items article,.takeout-result-detail article{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:14px 0;border-bottom:1px solid var(--line)}.takeout-cart-items article:last-child,.takeout-result-detail article:last-of-type{border-bottom:0}.takeout-cart-items article>div:first-child,.takeout-result-detail article>div:first-child{display:grid;gap:4px}.takeout-cart-items small,.takeout-result-detail small{display:block;color:var(--muted);line-height:1.45}.takeout-cart-items article>div:last-child{display:grid;justify-items:end;gap:5px}.takeout-customer-form{display:grid;gap:16px;padding:18px}.takeout-customer-form label b{color:#a8241c;font-size:11px}.takeout-customer-form .notice{display:grid;gap:4px}.takeout-confirm-sheet{display:grid;gap:15px}.takeout-confirm-sheet h2{margin:3px 0}.takeout-confirm-meta{display:grid;gap:0;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.takeout-confirm-meta>div{display:grid;grid-template-columns:100px 1fr;gap:12px;padding:11px 13px;border-bottom:1px solid var(--line)}.takeout-confirm-meta>div:last-child{border-bottom:0}.takeout-confirm-meta span{color:var(--muted);font-size:12px;font-weight:800}.takeout-confirm-meta b{text-align:right}.takeout-error{max-width:620px;padding-top:12vh;text-align:center}.takeout-error .card{padding:28px}.takeout-error h1{font-size:24px}.takeout-order-result{padding-bottom:40px}.takeout-order-hero{text-align:center;padding:25px 20px}.takeout-order-hero.status-ready{border:2px solid #20a36a;background:#f1fbf6}.takeout-order-hero.status-cancelled{border-color:#efaaa5;background:#fff5f4}.takeout-order-number{display:grid;gap:2px;margin:17px auto 11px}.takeout-order-number small{color:var(--muted);font-weight:800}.takeout-order-number b{font-size:58px;line-height:1;letter-spacing:.08em}.takeout-order-hero h1{margin:12px 0;font-size:22px}.takeout-pickup-display{display:grid;gap:4px;margin:17px 0;padding:14px;border-radius:14px;background:#fff;border:1px solid var(--line)}.takeout-pickup-display span{font-size:12px;color:var(--muted);font-weight:800}.takeout-pickup-display b{font-size:18px}.takeout-order-hero .notice{display:grid;gap:4px;text-align:left}.takeout-status-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:15px 9px}.takeout-status-flow>div{position:relative;display:grid;justify-items:center;gap:7px;color:#aaa;text-align:center;font-size:11px}.takeout-status-flow>div:not(:last-child)::after{content:'';position:absolute;top:15px;left:62%;width:76%;height:3px;background:#e2e2dd}.takeout-status-flow span{position:relative;z-index:1;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e5e5e0;color:#777;font-weight:900}.takeout-status-flow .done{color:#145a31}.takeout-status-flow .done span{background:#176b3a;color:#fff}.takeout-status-flow .done:not(:last-child)::after{background:#70b488}.takeout-status-flow b{font-size:11px}.takeout-result-detail h2{margin:2px 0 7px}.takeout-result-detail .notice{display:grid;gap:4px;margin-top:16px}
@media(max-width:760px){.takeaway-toolbar{display:grid}.takeaway-toolbar-actions{justify-content:flex-start}.takeout-product-grid{grid-template-columns:1fr}.takeout-product-card{grid-template-columns:94px minmax(0,1fr)}.takeout-product-card>img,.takeout-product-placeholder{width:94px;height:78px}.takeout-intro h1{font-size:24px}}
@media(max-width:440px){.takeout-store-head{padding-left:13px;padding-right:13px}.takeout-customer-main,.takeout-order-result{padding:13px}.takeout-product-card{grid-template-columns:82px minmax(0,1fr);gap:11px}.takeout-product-card>img,.takeout-product-placeholder{width:82px;height:72px}.takeout-product-card h2{font-size:15px}.takeout-product-card p{display:none}.takeout-confirm-meta>div{grid-template-columns:82px 1fr}.takeout-order-number b{font-size:50px}.takeout-status-flow{gap:1px}.takeout-status-flow>div:not(:last-child)::after{left:60%;width:80%}.takeout-status-flow b{font-size:9px}.takeaway-toolbar-actions>*{flex:1}}
@media print{body.takeout-customer-body{background:#fff}.takeaway-public-qr-sheet{max-width:none!important}.takeaway-public-qr-sheet .row button,.takeaway-public-qr-sheet input,.takeaway-public-qr-sheet .takeaway-qr-actions{display:none!important}.takeaway-public-qr-sheet>img{width:520px;max-width:90vw;border:0}.modal:has(.takeaway-public-qr-sheet){position:static;background:#fff;display:block}.takeaway-public-qr-sheet{max-height:none;border-radius:0;margin:auto;overflow:visible}}

/* v0.5.2 テイクアウト受付設定 */
.takeaway-settings-card{gap:20px}.takeaway-master-switch{padding:14px;border:1px solid var(--line);border-radius:14px;background:#f8f8f5;font-weight:900}.takeaway-settings-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.takeaway-settings-sources .switch-row{padding:12px;border:1px solid var(--line);border-radius:12px}.takeaway-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.takeaway-settings-grid label,.takeaway-settings-card>label{display:grid;gap:7px}.takeaway-settings-grid small,.takeaway-settings-card>label small{color:var(--muted);line-height:1.5}.input-with-unit{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.input-with-unit>span{font-weight:800;color:var(--muted)}.takeaway-acceptance-notice{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 12px}.takeaway-acceptance-notice span{flex:1;min-width:220px}.takeaway-acceptance-notice .tab{margin-left:auto}
@media(max-width:700px){.takeaway-settings-sources,.takeaway-settings-grid{grid-template-columns:1fr}.takeaway-acceptance-notice{display:grid}.takeaway-acceptance-notice .tab{margin-left:0}}


/* v0.5.3 テイクアウト訂正・取消・支払結果記録 */
@media(min-width:901px){.analytics-adjustment{grid-template-columns:repeat(3,minmax(0,1fr))}}
.takeaway-card-pills,.takeaway-detail-badges,.takeaway-result-pills{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.takeaway-card.is-paid{border-color:#a8d9bd}.takeaway-payment-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 13px;margin-top:10px;border-radius:12px;background:#eef9f3;color:#165b38}.takeaway-payment-summary span{font-size:12px}.takeaway-action-note{align-self:center;color:var(--muted);font-size:12px}.takeaway-detail-sheet{max-width:760px}.takeaway-customer-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:15px 0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--line)}.takeaway-customer-detail>div{display:grid;gap:4px;padding:12px;background:#fff}.takeaway-customer-detail span{font-size:11px;color:var(--muted);font-weight:800}.takeaway-detail-list{display:grid;gap:9px;margin:15px 0}.takeaway-detail-list article{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff}.takeaway-detail-list article>div{display:grid;gap:5px}.takeaway-detail-list article>div:last-child{justify-items:end}.takeaway-detail-list article.is-cancelled,.takeout-result-detail article.is-cancelled{opacity:.62;background:#faf4f4;text-decoration:none}.takeaway-item-edit{display:flex!important;grid-auto-flow:column;justify-content:start;margin-top:5px}.takeaway-payment-detail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0}.takeaway-payment-detail>div{display:grid;gap:4px;padding:12px;border:1px solid var(--line);border-radius:12px}.takeaway-payment-detail span{font-size:11px;color:var(--muted);font-weight:800}.takeaway-payment-detail .full{grid-column:1/-1}.takeaway-change-history{display:grid;gap:8px;margin-top:18px}.takeaway-change-history h3{margin:0}.takeaway-change-history>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.report-takeaway-card{width:100%;display:block;text-align:left;margin-bottom:10px;cursor:pointer}.report-takeaway-card:hover{border-color:#9182bb}.takeout-result-detail article.is-cancelled strong{color:#a33}.takeout-result-detail article.is-cancelled small{color:#8f6666}
@media(max-width:640px){.takeaway-card-pills,.takeaway-detail-badges{justify-content:flex-start}.takeaway-payment-summary{align-items:flex-start;flex-direction:column}.takeaway-customer-detail,.takeaway-payment-detail{grid-template-columns:1fr}.takeaway-change-history>div{flex-direction:column}.report-takeaway-card .row{align-items:flex-start;flex-direction:column}}


/* v0.5.4 テイクアウト受取・通知・店頭運用 */
.takeaway-board-controls{display:grid;gap:10px;margin:14px 0}.takeaway-filter-tabs{display:flex;gap:7px;overflow-x:auto;padding-bottom:2px}.takeaway-filter-tabs .tab{display:flex;align-items:center;gap:6px}.takeaway-filter-tabs .tab span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ecece7;font-size:11px;color:#333}.takeaway-filter-tabs .tab.active span{background:#fff;color:#111}.takeaway-card{transition:border-color .2s,box-shadow .2s,background .2s}.takeaway-card-head{align-items:flex-start}.takeaway-number strong{font-size:27px;letter-spacing:.07em}.takeaway-time-alert{margin:11px 0 3px;padding:10px 12px;border-radius:11px;background:#f0f0ec;font-size:13px;font-weight:900}.takeaway-card.takeaway-approaching{border-color:#e2aa32;background:#fffdf5}.takeaway-card.takeaway-approaching .takeaway-time-alert,.takeaway-time-alert.takeaway-approaching{background:#fff0c2;color:#765000}.takeaway-card.takeaway-overdue{border:2px solid #d14a40;background:#fff7f6;box-shadow:0 0 0 4px rgba(209,74,64,.08)}.takeaway-card.takeaway-overdue .takeaway-time-alert,.takeaway-time-alert.takeaway-overdue{background:#ffe1df;color:#8f1710}.takeaway-card.takeaway-ready-waiting{border:2px solid #d08313;background:#fffaf0}.takeaway-card.takeaway-ready-waiting .takeaway-time-alert,.takeaway-time-alert.takeaway-ready-waiting{background:#ffe9ba;color:#704900}.takeaway-card.takeaway-ready-now{border-color:#45a975;background:#f4fcf7}.takeaway-card.takeaway-ready-now .takeaway-time-alert,.takeaway-time-alert.takeaway-ready-now{background:#dff4e6;color:#145a31}.takeaway-handover-summary{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;margin-top:10px;border-radius:11px;background:#edf4ef;color:#28543a}.takeaway-handover-summary span{font-size:12px}.takeout-customer-notification{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:15px 0;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff;text-align:left}.takeout-customer-notification.enabled{border-color:#83c8a1;background:#effaf3}.takeout-customer-notification>div{display:grid;gap:3px}.takeout-customer-notification span{color:var(--muted);font-size:12px;line-height:1.5}.takeout-customer-notification button{flex:0 0 auto}.takeout-ready-callout{display:grid;gap:8px;margin:17px 0;padding:20px;border-radius:16px;background:#176b3a;color:#fff;text-align:center;box-shadow:0 10px 25px rgba(23,107,58,.2)}.takeout-ready-callout b{font-size:23px}.takeout-ready-callout span{line-height:1.6}.takeout-ready-callout strong{font-size:31px;letter-spacing:.08em}.takeout-order-hero.status-ready{animation:takeoutReadyPulse 1.4s ease-out 1}@keyframes takeoutReadyPulse{0%{transform:scale(.985);box-shadow:0 0 0 0 rgba(23,107,58,.35)}55%{box-shadow:0 0 0 12px rgba(23,107,58,0)}100%{transform:scale(1)}}
@media(max-width:640px){.takeaway-board-controls{position:sticky;top:137px;z-index:3;padding:10px 0;background:var(--bg)}.takeaway-card-head{display:grid}.takeaway-number strong{font-size:31px}.takeout-customer-notification{align-items:stretch;flex-direction:column}.takeout-customer-notification button{width:100%}.takeaway-handover-summary{align-items:flex-start;flex-direction:column}}

/* v0.5.5 商品別テイクアウト設定 */
.product-channel-editor{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2,#f7f8fa)}
.takeaway-product-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.product-card-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.product-card-meta>span:not(.pill){font-size:12px;color:var(--muted)}
.product-channel-pill.both{background:#e8f4ff;color:#145a8d}
.product-channel-pill.dine-in{background:#f3ecff;color:#61439a}
.product-channel-pill.takeaway{background:#e9f8ee;color:#23723e}
.takeaway-fee-note{display:block;font-size:11px;font-weight:600;color:var(--muted);margin-top:3px}
.staff-order-product strong .takeaway-fee-note{white-space:nowrap;text-align:right}
@media(max-width:720px){.takeaway-product-fields{grid-template-columns:1fr}.product-channel-editor{padding:12px}}

/* v0.5.6 テイクアウト商品受付制御 */
.takeaway-product-limits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.takeaway-product-limits label{display:grid;gap:6px;align-content:start}
.takeaway-product-limits small{color:var(--muted);font-size:11px;line-height:1.45}
.quick-soldout-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.takeaway-limit-note{display:block;color:var(--muted)!important;font-size:11px!important;line-height:1.45;font-weight:700}
.takeaway-product-rule{margin-top:10px;padding:9px 11px}
.takeaway-product-rule span{font-size:12px;line-height:1.5}
#takeawayPickupWarning{margin:12px 0}
@media(max-width:900px){.takeaway-product-limits{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.takeaway-product-limits{grid-template-columns:1fr}.quick-soldout-row{align-items:flex-start;flex-direction:column}.quick-soldout-actions{width:100%;justify-content:stretch}.quick-soldout-actions .state-btn{flex:1 1 150px}.takeaway-limit-note{padding-right:0}}

/* v0.5.7 テイクアウト予約ボード・一括進行・印刷 */
.takeaway-date-board{display:grid;gap:12px;margin:14px 0;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff}.takeaway-date-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.takeaway-date-nav input[type=date]{width:auto;min-width:170px}.takeaway-date-nav .state-btn{margin-left:auto}.takeaway-day-summary{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.takeaway-day-summary>span{display:grid;gap:3px;padding:10px;border-radius:12px;background:#f5f5f1;text-align:center;font-size:11px;color:var(--muted);font-weight:800}.takeaway-day-summary b{font-size:18px;color:var(--ink)}.takeaway-day-summary .warning{background:#fff0d8;color:#8a5800}.takeaway-bulk-bar{position:sticky;top:122px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin:12px 0;border:2px solid #6a58b2;border-radius:14px;background:#f5f1ff;box-shadow:0 8px 24px rgba(47,35,99,.12)}.takeaway-bulk-bar>div{display:flex;gap:8px;flex-wrap:wrap}.takeaway-card.is-selected{border:2px solid #6a58b2;box-shadow:0 0 0 4px rgba(106,88,178,.1)}.takeaway-card-title-row{display:flex;align-items:flex-start;gap:10px}.takeaway-select{display:grid;place-items:center;gap:2px;min-width:46px;padding:7px 6px;border:1px solid var(--line);border-radius:10px;background:#fafafa;font-size:10px;font-weight:800;color:var(--muted);cursor:pointer}.takeaway-select input{width:20px;height:20px;margin:0}.takeaway-print-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}.takeaway-print-actions .state-btn{width:100%}
@media(max-width:920px){.takeaway-day-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:640px){.takeaway-date-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.takeaway-date-nav input[type=date]{width:100%;min-width:0;grid-column:1/-1}.takeaway-date-nav .state-btn{margin-left:0;grid-column:1/-1}.takeaway-day-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.takeaway-bulk-bar{position:static;top:auto;align-items:stretch;flex-direction:column}.takeaway-bulk-bar>div{display:grid}.takeaway-print-actions{grid-template-columns:1fr}.takeaway-card-title-row{width:100%}.takeaway-select{min-width:42px}}

/* v0.5.8 テイクアウト最終仕上げ */
.takeout-resume-order{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;border:1px solid rgba(47,111,237,.22);background:linear-gradient(135deg,rgba(47,111,237,.08),rgba(255,255,255,.98))}
.takeout-resume-order>div:first-child{display:grid;gap:4px}.takeout-resume-order>div:first-child b{font-size:16px}.takeout-resume-order>div:first-child span{font-size:13px;color:var(--muted)}
.takeout-resume-order>div:last-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.takeout-connectivity{position:sticky;top:0;z-index:10000;padding:10px 16px;text-align:center;background:#9b1c1c;color:#fff;font-weight:800;font-size:13px;box-shadow:0 4px 14px rgba(0,0,0,.18)}
.takeout-order-result>.btn+.btn{margin-top:10px}
@media(max-width:640px){.takeout-resume-order{align-items:stretch;flex-direction:column}.takeout-resume-order>div:last-child{justify-content:stretch}.takeout-resume-order>div:last-child>*{flex:1}.takeout-connectivity{font-size:12px;padding:9px 12px}}


/* v0.6.0 来店予約台帳 */
.reservation-home-card{background:linear-gradient(145deg,#fff,#f4f7ff);border-color:#cbd8ff}
.reservation-page{padding-bottom:80px}.reservation-date-nav{display:flex;align-items:end;justify-content:center;gap:10px;margin:18px 0}.reservation-date-nav label{display:grid;gap:5px;min-width:190px}.reservation-date-nav label span{font-size:.75rem;font-weight:800;color:var(--muted)}
.reservation-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:14px}.reservation-summary>div{display:grid;gap:4px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff}.reservation-summary span{font-size:.78rem;color:var(--muted);font-weight:800}.reservation-summary b{font-size:1.55rem}.reservation-summary small{font-size:.78rem;margin-left:2px}
.reservation-tools{display:grid;gap:10px;margin-bottom:16px}.reservation-filter-tabs{overflow:auto;justify-content:flex-start}.reservation-filter-tabs .tab{white-space:nowrap}.reservation-date-heading{display:flex;align-items:end;justify-content:space-between;margin:20px 2px 10px}.reservation-date-heading span{font-size:.7rem;letter-spacing:.12em;font-weight:900;color:var(--muted)}.reservation-date-heading h2{margin:3px 0 0}.reservation-date-heading>b{font-size:1rem;color:var(--muted)}
.reservation-list{display:grid;gap:12px}.reservation-card{display:grid;gap:12px;border-left:5px solid #d7a300}.reservation-card.status-arrived{border-left-color:#198754}.reservation-card.status-cancelled{border-left-color:#aaa;opacity:.82}.reservation-card.status-no_show{border-left-color:#b3261e}.reservation-card-head{display:grid;grid-template-columns:92px 1fr auto;align-items:center;gap:14px}.reservation-card-head h3{margin:0 0 4px}.reservation-card-head p{margin:0;color:var(--muted)}.reservation-time{display:grid;gap:2px;padding-right:12px;border-right:1px solid var(--line)}.reservation-time b{font-size:1.45rem}.reservation-time span{font-size:.75rem;color:var(--muted);font-weight:800}
.reservation-contact{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:.9rem}.reservation-contact a{font-weight:800;color:inherit}.reservation-contact span{color:var(--muted)}.reservation-note{display:grid;gap:4px;padding:11px 13px;border-radius:12px;background:#f5f5f3}.reservation-note b{font-size:.75rem}.reservation-note span{white-space:pre-wrap;line-height:1.55}.reservation-note.customer{background:#f2f6ff}.reservation-note.staff{background:#fff8df}.reservation-note.danger{background:#fff0ee;color:#8b1e17}.reservation-linked-visit{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #b8ddc7;border-radius:12px;background:#f2fbf5}.reservation-linked-visit span{font-size:.78rem}.reservation-linked-visit b{font-size:1.2rem}.reservation-linked-visit small{margin-left:auto;color:var(--muted)}.reservation-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;border-top:1px solid var(--line);padding-top:12px}
.reservation-editor{max-width:720px}.reservation-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.reservation-form-grid label{display:grid;gap:6px}.reservation-form-grid label>span{font-size:.8rem;font-weight:800}.reservation-form-grid .wide{grid-column:1/-1}.reservation-field-label{display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap}.reservation-field-badge{display:inline-flex;align-items:center;justify-content:center;min-height:20px;padding:2px 7px;border:1px solid transparent;border-radius:999px;font-size:.64rem;line-height:1;font-weight:900;letter-spacing:.04em}.reservation-field-badge.is-required{border-color:#f0b383;background:#fff0e6;color:#a84b12}.reservation-field-badge.is-optional{border-color:#d8dde3;background:#f3f5f7;color:#5f6872}.reservation-detail{max-width:760px;display:grid;gap:16px}.reservation-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.reservation-detail-heading{display:grid;gap:6px}.reservation-detail-heading h2{margin:0;font-size:2rem;line-height:1.2}.reservation-detail-close{white-space:nowrap}.reservation-detail-hero{display:grid;gap:12px;padding:16px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fcfcfb 0%,#f7f7f4 100%)}.reservation-detail-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reservation-detail-summary-card{display:grid;gap:8px;padding:15px 16px;border:1px solid #dfe3e8;border-radius:16px;background:linear-gradient(180deg,#ffffff 0%,#fafbfc 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}.reservation-detail-summary-card span{font-size:.73rem;font-weight:900;letter-spacing:.06em;color:#6c7785}.reservation-detail-summary-card strong{font-size:1.08rem;line-height:1.45;color:#25303c}.reservation-detail-summary-card.is-primary{border-color:#9fd0b1;background:linear-gradient(180deg,#f4fcf7 0%,#e9f8ee 100%);box-shadow:0 0 0 1px rgba(159,208,177,.18), inset 0 1px 0 rgba(255,255,255,.9)}.reservation-detail-summary-card.is-primary span{color:#2f6c47}.reservation-detail-summary-card.is-primary strong{font-size:1.58rem;line-height:1.35;color:#155d32}.reservation-detail-summary-card:not(.is-primary) strong{font-weight:800}.reservation-detail-summary-card:not(.is-primary) span::before{content:"受付";display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:18px;margin-right:6px;padding:0 6px;border-radius:999px;background:#eef1f5;color:#55606d;font-size:.62rem;letter-spacing:.02em}.reservation-detail-status{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.reservation-detail-source{display:inline-flex;align-items:center;min-height:34px;padding:7px 12px;border:1px solid #d7dde2;border-radius:999px;background:#fff;font-weight:800;color:#3f4a56}.reservation-detail-panel{display:grid;gap:14px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#fff}.reservation-detail-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.reservation-detail-info-card{display:grid;gap:7px;padding:14px 15px;border:1px solid #e1e4e7;border-radius:14px;background:#fafafa}.reservation-detail-info-card span{font-size:.75rem;font-weight:900;letter-spacing:.04em;color:#66707c}.reservation-detail-info-card b,.reservation-detail-info-card a{font-size:1.02rem;line-height:1.45;color:#17251d;text-decoration:none}.reservation-detail-section-head{display:grid;gap:4px}.reservation-detail-section-head h3{margin:0}.reservation-detail-section-head p{margin:0;color:var(--muted);font-size:.85rem;line-height:1.55}.reservation-detail-notes{gap:12px}.reservation-detail-note-grid{display:grid;gap:10px}.reservation-history{margin-top:0;border-top:none;padding-top:0}.reservation-history article{padding:12px 0;border-bottom:1px solid var(--line);font-size:.88rem;line-height:1.55}.reservation-history article:last-child{border-bottom:none}
@media(max-width:680px){.reservation-date-nav{display:grid;grid-template-columns:1fr 1fr}.reservation-date-nav label{grid-column:1/-1;grid-row:1}.reservation-summary{grid-template-columns:1fr 1fr}.reservation-card-head{grid-template-columns:74px 1fr}.reservation-card-head>.pill{grid-column:1/-1;justify-self:start}.reservation-time b{font-size:1.25rem}.reservation-form-grid{grid-template-columns:1fr}.reservation-form-grid .wide{grid-column:auto}.reservation-actions .btn,.reservation-actions .tab{flex:1 1 auto}.reservation-contact{display:grid}.reservation-linked-visit{flex-wrap:wrap}.reservation-linked-visit small{margin-left:0;width:100%}}

/* v0.6.1 お客様用Web予約 */
.reservation-public-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0;padding:16px;border:1px solid #cbd8ff;border-radius:18px;background:linear-gradient(145deg,#fff,#f2f6ff)}.reservation-public-toolbar>div:first-child{display:grid;gap:4px}.reservation-public-toolbar>div:first-child b{font-size:1rem}.reservation-public-toolbar>div:first-child span{font-size:.82rem;color:var(--muted)}.reservation-public-toolbar>div:last-child{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.reservation-public-qr-sheet{max-width:620px;text-align:center}.reservation-public-qr-sheet h2{margin:0}.reservation-public-qr-sheet img{display:block;width:min(520px,100%);margin:18px auto;border:1px solid var(--line);border-radius:18px;background:#fff;padding:12px}.reservation-public-qr-sheet p{line-height:1.65;color:var(--muted)}
.reservation-customer-body{min-height:100vh;background:linear-gradient(180deg,#f1f5ff 0,#f7f7f4 280px,#f5f5f2 100%)}.reservation-public-header{padding:18px max(18px,env(safe-area-inset-left));border-bottom:1px solid rgba(17,17,17,.08);background:rgba(255,255,255,.88);backdrop-filter:blur(14px)}.reservation-public-brand{max-width:760px;margin:auto;display:flex;align-items:center;gap:12px}.reservation-public-brand>span,.reservation-loading-mark{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#111;color:#fff;font-size:22px;font-weight:900}.reservation-public-brand img{width:52px;height:52px;object-fit:contain;border-radius:14px;background:#fff;border:1px solid var(--line)}.reservation-public-brand>div{display:grid;gap:1px}.reservation-public-brand small{font-size:10px;font-weight:900;letter-spacing:.15em;color:#667085}.reservation-public-brand b{font-size:18px}.reservation-public-shell{width:min(760px,100%);margin:auto;padding:22px 18px 60px}.reservation-public-hero{padding:22px 4px 8px}.reservation-public-hero>span{display:inline-block;padding:6px 10px;border-radius:999px;background:#e8eeff;color:#274690;font-size:12px;font-weight:900}.reservation-public-hero h1{margin:12px 0 8px;font-size:clamp(28px,7vw,42px);line-height:1.18}.reservation-public-hero p{margin:0;color:var(--muted);line-height:1.7}.reservation-public-form-card{padding:22px}.reservation-step-title{display:flex;align-items:center;gap:12px;margin:6px 0 14px}.reservation-step-title>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#111;color:#fff;font-weight:900}.reservation-step-title>div{display:grid;gap:2px}.reservation-step-title b{font-size:17px}.reservation-step-title small{color:var(--muted);line-height:1.4}.reservation-step-title:not(:first-child){margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.reservation-public-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.reservation-public-grid label{display:grid;gap:7px}.reservation-public-grid label>span{font-size:.82rem;font-weight:800}.reservation-public-grid label>span>b{color:#9b1c1c;font-size:.72rem}.reservation-public-grid label>span>small{color:var(--muted);font-weight:700}.reservation-public-grid .wide{grid-column:1/-1}.reservation-public-grid textarea{resize:vertical;min-height:110px}.reservation-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.reservation-consents{display:grid;gap:10px;margin:20px 0}.reservation-consents label{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fafafa}.reservation-consents input{width:21px;height:21px;margin:0;flex:0 0 auto}.reservation-consents span{font-size:.88rem;line-height:1.5}.reservation-consents a{font-weight:900;color:inherit}.reservation-public-notice{display:grid;gap:4px}.reservation-public-notice span{font-size:.85rem;line-height:1.55}.reservation-submit-button{margin-top:16px;padding:17px}.reservation-public-footer{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;padding:22px 4px;color:var(--muted);font-size:.75rem}.reservation-public-footer a{color:inherit}.reservation-public-loading,.reservation-public-error,.reservation-public-closed{display:grid;place-items:center;text-align:center;gap:10px;min-height:320px;padding:36px 24px}.reservation-public-loading p,.reservation-public-error p,.reservation-public-closed p{margin:0;color:var(--muted);line-height:1.7}.reservation-public-error>span,.reservation-public-closed>span{display:grid;place-items:center;min-width:52px;height:52px;padding:0 15px;border-radius:16px;background:#ffe5e2;color:#8f1710;font-weight:900}.reservation-public-error h1,.reservation-public-closed h2{margin:4px 0}.reservation-public-closed .btn{margin-top:8px}.reservation-confirm-sheet{max-width:620px}.reservation-confirm-sheet h2{margin:0}.reservation-confirm-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.reservation-confirm-list>div{display:grid;gap:5px;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff}.reservation-confirm-list>div.wide{grid-column:1/-1}.reservation-confirm-list span{font-size:.75rem;font-weight:800;color:var(--muted)}.reservation-confirm-list b{line-height:1.5;white-space:pre-wrap}.reservation-result-hero{text-align:center;padding:28px 20px;border-top:6px solid #d7a300}.reservation-result-hero.status-arrived{border-top-color:#198754}.reservation-result-hero.status-cancelled,.reservation-result-hero.status-no_show{border-top-color:#b3261e}.reservation-result-status{display:flex;justify-content:center}.reservation-result-number{display:grid;gap:2px;margin:22px 0}.reservation-result-number small{color:var(--muted);font-weight:800}.reservation-result-number b{font-size:64px;line-height:1;letter-spacing:.08em}.reservation-result-hero h1{font-size:24px;margin:0 0 9px}.reservation-result-hero p{margin:0;color:var(--muted);line-height:1.7}.reservation-result-detail h2{margin-top:0}.reservation-result-detail>.btn+.btn{margin-top:10px}.reservation-cancel-notice{display:grid;gap:5px;background:#fff0ee;color:#8b1e17}.reservation-new-link{display:block;margin:18px auto}.reservation-public-loading .reservation-loading-mark{animation:reservationPulse 1.4s ease-in-out infinite}@keyframes reservationPulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.92);opacity:.6}}
@media(max-width:680px){.reservation-public-toolbar{align-items:stretch;flex-direction:column}.reservation-public-toolbar>div:last-child{display:grid;grid-template-columns:1fr 1fr;justify-content:stretch}.reservation-public-toolbar>div:last-child .state-btn:first-child{grid-column:1/-1}.reservation-public-grid{grid-template-columns:1fr}.reservation-public-grid .wide{grid-column:auto}.reservation-confirm-list{grid-template-columns:1fr}.reservation-confirm-list>div.wide{grid-column:auto}.reservation-public-form-card{padding:18px}.reservation-result-number b{font-size:54px}.reservation-public-shell{padding-left:14px;padding-right:14px}}

/* v0.6.2 来店予約受付設定・枠上限 */
.reservation-public-toolbar>div:first-child small{font-size:.74rem;color:var(--muted);line-height:1.5}
.reservation-settings-sheet{width:min(940px,calc(100vw - 28px));max-width:940px;max-height:calc(100vh - 28px);overflow:auto}
.reservation-master-switch{margin:20px 0;padding:16px;border:1px solid #cbd8ff;border-radius:14px;background:#f2f6ff}
.reservation-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.reservation-settings-grid label,.reservation-setting-message,.reservation-hour-setting-grid label{display:grid;gap:7px}
.reservation-settings-grid label>span,.reservation-setting-message>span,.reservation-hour-setting-grid label>span{font-size:.82rem;font-weight:900}
.reservation-settings-grid small,.reservation-setting-message small,.reservation-hour-setting-grid small{color:var(--muted);line-height:1.45}
.reservation-setting-message{margin-top:16px}
.reservation-hour-settings{display:grid;gap:12px;margin:24px 0;padding-top:22px;border-top:1px solid var(--line)}
.reservation-settings-section-title h3{margin:0 0 5px}.reservation-settings-section-title p{margin:0;color:var(--muted);font-size:.85rem;line-height:1.55}
.reservation-hour-setting{display:grid;gap:14px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fff}
.reservation-hour-setting.business-disabled{background:#f5f5f3;opacity:.72}
.reservation-hour-setting-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.reservation-hour-setting-head>div{display:grid;gap:4px}.reservation-hour-setting-head>div span{font-size:.8rem;color:var(--muted)}
.reservation-hour-setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.reservation-slot-capacity{display:block;margin-top:3px;color:var(--muted);font-size:.76rem;line-height:1.45}
.reservation-slot-capacity.limited{color:#8b5c00;font-weight:800}
@media(max-width:680px){.reservation-settings-sheet{width:calc(100vw - 18px);max-height:calc(100vh - 18px);padding:18px}.reservation-settings-grid,.reservation-hour-setting-grid{grid-template-columns:1fr}.reservation-hour-setting-head{align-items:flex-start;flex-direction:column}.reservation-hour-setting-head .switch-row{width:100%}.reservation-master-switch{align-items:flex-start}.reservation-public-toolbar>div:first-child small{font-size:.72rem}}

/* v0.6.3 お客様による予約確認・変更・取消・本人確認 */
.reservation-existing-entry{display:grid;gap:16px;margin-top:18px;padding:22px}.reservation-existing-entry>div{display:grid;gap:6px}.reservation-existing-entry>div>span{font-size:.75rem;font-weight:900;letter-spacing:.08em;color:#53658f}.reservation-existing-entry h2{margin:0;font-size:20px}.reservation-existing-entry p{margin:0;color:var(--muted);line-height:1.65}.reservation-lookup-card{padding:22px}.reservation-lookup-card>.btn{margin-top:16px}.reservation-verification-notice{display:grid;gap:5px;margin-top:18px}.reservation-verification-notice span{font-size:.84rem;line-height:1.6}.reservation-manage-notice{display:grid;gap:5px;background:#eef8f0;border-color:#b9dec0;color:#1b5e2a}.reservation-manage-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.reservation-result-links{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:18px 0}.reservation-verification-sheet{max-width:520px}.reservation-verification-sheet h2{margin:0}.reservation-verification-sheet>p{color:var(--muted);line-height:1.65}.reservation-verification-sheet label,.reservation-cancel-sheet label{display:grid;gap:7px}.reservation-verification-sheet label>span,.reservation-cancel-sheet label>span{font-size:.82rem;font-weight:800}.reservation-verification-sheet>.btn,.reservation-cancel-sheet>.btn{margin-top:16px}.reservation-edit-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.reservation-cancel-sheet{max-width:560px}.reservation-cancel-sheet h2{margin:0}.reservation-cancel-sheet textarea{resize:vertical;min-height:100px}.reservation-cancel-warning{display:grid;gap:5px;margin-top:16px;background:#fff0ee;color:#8b1e17}.reservation-cancel-warning span{font-size:.84rem;line-height:1.55}
@media(max-width:680px){.reservation-manage-actions,.reservation-edit-actions{grid-template-columns:1fr}.reservation-existing-entry,.reservation-lookup-card{padding:18px}}

/* v0.6.4 予約通知・リマインド・無断キャンセル対策 */
.reservation-summary{grid-template-columns:repeat(6,minmax(0,1fr))}.reservation-summary>div.danger{border-color:#efb3ad;background:#fff3f1;color:#8b1e17}.reservation-summary>div.danger span{color:#8b1e17}
.reservation-notification-settings{display:grid;gap:16px;margin:24px 0;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.reservation-settings-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.reservation-notification-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.reservation-notification-grid>label{display:grid;gap:7px}.reservation-notification-grid>label>span{font-size:.82rem;font-weight:900}.reservation-notification-grid>label>small{color:var(--muted);line-height:1.45}.reservation-notification-grid .wide{grid-column:1/-1}.reservation-notification-grid textarea{resize:vertical}.reservation-notification-grid .switch-row{display:flex;align-items:flex-start;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fafafa}.reservation-notification-grid .switch-row span{font-size:.86rem;line-height:1.5}.reservation-notification-grid .reminder-toggle{align-self:end}
.reservation-card.is-no-show-candidate{border-color:#e59a93;border-left-color:#b3261e;background:#fff8f7;box-shadow:0 0 0 2px rgba(179,38,30,.08)}.reservation-confirmation-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.reservation-attendance-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 9px;border-radius:999px;background:#eef1f5;color:#44505f;font-size:.72rem;font-weight:900;line-height:1.25}.reservation-attendance-badge.confirmed{background:#e8f7ec;color:#17642a}.reservation-attendance-badge.waiting{background:#fff4d2;color:#785300}.reservation-attendance-badge.danger{background:#ffe5e2;color:#941f17}.reservation-detail-status{flex-wrap:wrap}
.reservation-notification-history{display:grid;gap:10px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.reservation-notification-log{display:grid;grid-template-columns:1fr auto;gap:5px 10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fafafa}.reservation-notification-log>div{display:grid;gap:3px}.reservation-notification-log>div span{font-size:.75rem;color:var(--muted);overflow-wrap:anywhere}.reservation-notification-log>small{grid-column:1/-1;color:var(--muted)}.reservation-notification-log>em{grid-column:1/-1;color:#8b1e17;font-size:.78rem;font-style:normal;overflow-wrap:anywhere}
.reservation-attendance-confirmation{display:grid;gap:8px;margin:16px 0;background:#f5f7ff;border-color:#c9d4f4}.reservation-attendance-confirmation span{font-size:.86rem;line-height:1.6}.reservation-attendance-confirmation .btn{margin-top:3px}.reservation-attendance-confirmation.confirmed{background:#edf9f0;border-color:#b6ddc0;color:#1b5e2a}
@media(max-width:960px){.reservation-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}

@media(max-width:760px){.reservation-detail{max-width:100%}.reservation-detail-head{display:grid}.reservation-detail-close{width:100%}.reservation-detail-summary-grid,.reservation-detail-info-grid{grid-template-columns:1fr}.reservation-detail-heading h2{font-size:1.65rem}.reservation-detail-summary-card strong{font-size:1.02rem}.reservation-detail-summary-card.is-primary strong{font-size:1.34rem}}
@media(max-width:680px){.reservation-summary{grid-template-columns:1fr 1fr}.reservation-notification-grid{grid-template-columns:1fr}.reservation-notification-grid .wide{grid-column:auto}.reservation-settings-section-title{display:grid}.reservation-settings-section-title>.state-btn{width:100%}.reservation-notification-log{grid-template-columns:1fr}.reservation-notification-log>.pill{justify-self:start}}

/* v0.6.5 月間・週間カレンダー／日別予約表／印刷 */
.reservation-calendar-toolbar{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff}.reservation-view-tabs{display:flex;flex-wrap:nowrap}.reservation-view-tabs .tab{min-width:72px}.reservation-date-nav{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.reservation-date-nav label{display:flex;align-items:center;gap:8px}.reservation-date-nav label>span{font-size:.76rem;font-weight:900;color:var(--muted);white-space:nowrap}.reservation-date-nav .input{width:auto;min-width:154px}.reservation-print-button{white-space:nowrap}.reservation-day-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:15px;background:#fff}.reservation-day-table{width:100%;min-width:1100px;border-collapse:collapse}.reservation-day-table th,.reservation-day-table td{padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}.reservation-day-table th{position:sticky;top:0;z-index:1;background:#f4f6fb;color:#45516c;font-size:.76rem;letter-spacing:.04em}.reservation-day-table tbody tr:last-child td{border-bottom:0}.reservation-day-table tbody tr.status-cancelled,.reservation-day-table tbody tr.status-no_show{opacity:.68;background:#fafafa}.reservation-day-table tbody tr.is-no-show-candidate{background:#fff4f2}.reservation-day-table td:nth-child(1){width:78px}.reservation-day-table td:nth-child(2){width:70px}.reservation-day-table td:nth-child(4){width:64px}.reservation-day-table td:nth-child(5){width:92px}.reservation-day-table td:nth-child(6){width:170px}.reservation-day-table td:nth-child(8){width:160px}.reservation-day-table td small{display:block;margin-top:5px;color:var(--muted);line-height:1.45}.reservation-table-name{padding:0;border:0;background:none;color:inherit;font:inherit;font-weight:900;text-align:left;cursor:pointer}.reservation-table-name:hover{text-decoration:underline}.reservation-table-attendance{margin-top:6px}.reservation-table-actions{display:flex;gap:6px;flex-wrap:wrap}.reservation-day-mobile-list{display:none}.reservation-week-calendar{display:grid;grid-template-columns:repeat(7,minmax(180px,1fr));gap:10px;overflow-x:auto;padding-bottom:8px}.reservation-week-day{min-width:180px;border:1px solid var(--line);border-radius:15px;background:#fff;overflow:hidden}.reservation-week-day.is-today{box-shadow:0 0 0 2px #9db4ff}.reservation-week-day>header{border-bottom:1px solid var(--line);background:#f6f8fd}.reservation-week-day>header button{display:grid;width:100%;gap:4px;padding:12px;border:0;background:transparent;text-align:left;cursor:pointer}.reservation-week-day>header span{font-size:.78rem;color:var(--muted);font-weight:800}.reservation-week-day>header b{font-size:.9rem}.reservation-week-events{display:grid;gap:7px;padding:9px}.reservation-week-event{display:grid;grid-template-columns:44px 1fr;gap:8px;width:100%;padding:9px;border:1px solid var(--line);border-left:4px solid #d4a900;border-radius:10px;background:#fff;text-align:left;cursor:pointer}.reservation-week-event.status-arrived{border-left-color:#198754}.reservation-week-event.status-cancelled{border-left-color:#8a8f99;opacity:.65}.reservation-week-event.status-no_show,.reservation-week-event.is-no-show-candidate{border-left-color:#b3261e;background:#fff7f6}.reservation-week-event time{font-weight:900}.reservation-week-event span{display:grid;gap:3px;min-width:0}.reservation-week-event span b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reservation-week-event span small{color:var(--muted)}.reservation-calendar-empty{padding:18px 8px;text-align:center;color:var(--muted);font-size:.78rem}.reservation-month-calendar{overflow:auto;border:1px solid var(--line);border-radius:16px;background:#fff}.reservation-month-weekdays,.reservation-month-grid{display:grid;grid-template-columns:repeat(7,minmax(145px,1fr));min-width:1015px}.reservation-month-weekdays b{padding:9px;text-align:center;background:#eef2fa;border-right:1px solid var(--line);font-size:.78rem}.reservation-month-weekdays b:last-child{border-right:0}.reservation-month-day{min-height:150px;padding:8px;border-top:1px solid var(--line);border-right:1px solid var(--line);background:#fff}.reservation-month-day:nth-child(7n){border-right:0}.reservation-month-day.outside-month{background:#f7f7f5;color:#777}.reservation-month-day.is-today{box-shadow:inset 0 0 0 3px #9db4ff}.reservation-month-day.has-alert{box-shadow:inset 0 0 0 3px #e7a8a1}.reservation-month-day-head{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0 0 7px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;cursor:pointer}.reservation-month-day-head b{font-size:1rem}.reservation-month-day-head span{font-size:.7rem;color:var(--muted);font-weight:800}.reservation-month-day>div{display:grid;gap:5px;padding-top:7px}.reservation-month-event{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:5px;align-items:center;width:100%;padding:6px;border:1px solid var(--line);border-left:4px solid #d4a900;border-radius:8px;background:#fff;font-size:.72rem;text-align:left;cursor:pointer}.reservation-month-event.status-arrived{border-left-color:#198754}.reservation-month-event.status-cancelled{border-left-color:#8a8f99;opacity:.62}.reservation-month-event.status-no_show{border-left-color:#b3261e;background:#fff7f6}.reservation-month-event time{font-weight:900}.reservation-month-event span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reservation-month-event small{color:var(--muted)}.reservation-month-more{padding:4px;border:0;background:transparent;color:#345cbd;font-size:.72rem;font-weight:900;text-align:left;cursor:pointer}.muted{color:var(--muted)}
@media(max-width:980px){.reservation-calendar-toolbar{grid-template-columns:1fr}.reservation-view-tabs{justify-content:center}.reservation-date-nav{order:2}.reservation-print-button{order:3;width:100%}.reservation-week-calendar{grid-template-columns:repeat(7,220px)}}
@media(max-width:760px){.reservation-calendar-toolbar{padding:11px}.reservation-view-tabs{display:grid;grid-template-columns:repeat(3,1fr)}.reservation-view-tabs .tab{min-width:0}.reservation-date-nav{display:grid;grid-template-columns:1fr 1fr}.reservation-date-nav label{grid-column:1/-1;justify-content:center}.reservation-date-nav .tab:nth-of-type(2){grid-column:1/-1}.reservation-date-nav .input{width:100%;min-width:0}.reservation-day-table-wrap{display:none}.reservation-day-mobile-list{display:grid}.reservation-week-calendar{grid-template-columns:repeat(7,200px)}.reservation-month-weekdays,.reservation-month-grid{grid-template-columns:repeat(7,132px);min-width:924px}.reservation-month-day{min-height:138px}.reservation-date-heading{align-items:flex-end}}

/* v0.6.6 顧客履歴・再来店情報・店舗メモ統合 */
.customer-repeat-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#374d91;font-size:.72rem;font-weight:900;line-height:1.25}.customer-repeat-badge.repeat{background:#e7f7ee;color:#17613a}.customer-repeat-badge.first{background:#f0f1f3;color:#56606d}.reservation-day-table .customer-repeat-badge{margin-top:6px}
.customer-common-note{display:grid;gap:5px;padding:12px 14px;border:1px solid #efc96d;border-radius:12px;background:#fff8df;color:#624600}.customer-common-note b{font-size:.76rem}.customer-common-note span{white-space:pre-wrap;line-height:1.55}.reservation-detail-status .customer-repeat-badge{margin-left:auto}
.customer-profile-summary{display:grid;gap:12px;margin:16px 0;padding:16px;border:1px solid #c8d8cd;border-radius:16px;background:linear-gradient(145deg,#fbfffc,#f0f8f3)}.customer-profile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.customer-profile-head h3{margin:3px 0}.customer-profile-head p{margin:0;color:var(--muted);overflow-wrap:anywhere}.customer-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.customer-metric-grid>div{display:grid;gap:4px;padding:11px;border:1px solid rgba(25,135,84,.14);border-radius:11px;background:rgba(255,255,255,.82)}.customer-metric-grid span{font-size:.7rem;font-weight:900;color:var(--muted)}.customer-metric-grid b{font-size:1.15rem}.customer-metric-grid small{font-size:.7rem;margin-left:2px}.customer-metric-grid strong{font-size:.78rem;line-height:1.35}
.customer-ledger-page{padding-bottom:80px}.customer-ledger-toolbar{display:flex;align-items:center;gap:12px;margin:18px 0}.customer-ledger-toolbar .input{flex:1}.customer-ledger-toolbar>b{white-space:nowrap;color:var(--muted)}.customer-ledger-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-ledger-card{display:grid;gap:12px;width:100%;padding:16px;text-align:left;cursor:pointer;appearance:none;color:inherit}.customer-ledger-card:hover{border-color:#8fb5a0;box-shadow:0 8px 24px rgba(27,91,54,.09)}.customer-ledger-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.customer-ledger-card-head h3{margin:0 0 5px}.customer-ledger-card-head p{margin:0;color:var(--muted);font-size:.84rem;line-height:1.5;overflow-wrap:anywhere}.customer-ledger-card-head>span{color:#276341;font-weight:900;white-space:nowrap}.customer-ledger-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.customer-ledger-stats span{display:grid;gap:2px;padding:8px;border-radius:9px;background:#f2f6f3;color:var(--muted);font-size:.68rem;font-weight:800;text-align:center}.customer-ledger-stats b{color:var(--ink);font-size:.92rem}.customer-ledger-note{padding:10px;border-left:4px solid #d9aa35;border-radius:8px;background:#fff7dc;font-size:.82rem;line-height:1.55;white-space:pre-wrap}.customer-ledger-card>small{color:var(--muted);line-height:1.45}
.customer-detail-sheet{max-width:940px}.customer-detail-actions{display:flex;justify-content:flex-end;margin:14px 0}.customer-history-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.customer-history-columns>section{min-width:0;padding:13px;border:1px solid var(--line);border-radius:14px;background:#fafafa}.customer-history-columns h3,.customer-note-history h3{margin:0 0 10px;font-size:.95rem}.customer-history-row{display:grid;width:100%;gap:3px;padding:9px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:inherit;text-align:left}.customer-history-row:last-child{border-bottom:0}.customer-history-row:is(button){cursor:pointer}.customer-history-row:is(button):hover b{text-decoration:underline}.customer-history-row span,.customer-history-row small{font-size:.72rem;color:var(--muted);line-height:1.4}.customer-history-row b{font-size:.82rem}.customer-note-history{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.customer-note-history article{padding:10px 0;border-bottom:1px solid var(--line)}.customer-note-history article span{font-size:.72rem;color:var(--muted)}.customer-note-history article p{margin:5px 0 0;line-height:1.55;white-space:pre-wrap}.customer-editor-sheet{max-width:680px}
.reservation-customer-lookup:empty{display:none}.reservation-customer-lookup{margin-top:-4px}.customer-lookup-result{display:grid;gap:10px;padding:12px;border:1px solid #a8cdb5;border-radius:12px;background:#f0faf4}.customer-lookup-result>div{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.customer-lookup-result>div:first-child{display:grid;gap:4px}.customer-lookup-result span{font-size:.78rem;color:var(--muted)}.customer-lookup-result p{flex:1 1 100%;margin:0;padding:8px;border-radius:8px;background:#fff5cf;line-height:1.5}.customer-lookup-result.new{border-color:var(--line);background:#f7f7f5;color:var(--muted)}.customer-lookup-result.danger{border-color:#e1a6a1;background:#fff3f2;color:#8b1e17}
@media(max-width:900px){.customer-ledger-grid{grid-template-columns:1fr}.customer-history-columns{grid-template-columns:1fr}.customer-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.customer-profile-head{display:grid}.customer-profile-head .state-btn{width:100%}.customer-metric-grid{grid-template-columns:1fr 1fr}.customer-ledger-toolbar{align-items:stretch;flex-direction:column}.customer-ledger-stats{grid-template-columns:1fr 1fr}.reservation-detail-status .customer-repeat-badge{margin-left:0}.customer-lookup-result>div{align-items:stretch;flex-direction:column}.customer-lookup-result button{width:100%}}

/* v0.7.0 本部アカウント・所属店舗・店舗切り替え */
.store-identity-button{appearance:none;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;padding:0}.store-identity-button:hover .brand{text-decoration:underline}.store-switch-indicator{display:inline-flex;align-items:center;margin-left:8px;padding:5px 8px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:.68rem;font-weight:900;white-space:nowrap}.headquarters-home-card{border-color:#aab9dc;background:linear-gradient(145deg,#f8faff,#edf2ff)}
.company-topbar .wrap{align-items:center}.company-dashboard{padding-bottom:80px}.company-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.company-summary-grid article{display:grid;gap:5px;padding:17px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.035)}.company-summary-grid article.attention{border-color:#e4aaa5;background:#fff7f6}.company-summary-grid span{font-size:.76rem;color:var(--muted);font-weight:900}.company-summary-grid b{font-size:1.65rem;line-height:1.15}.company-summary-grid small{color:var(--muted);font-size:.72rem}.company-dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:26px 0 12px}.company-dashboard-heading h2{margin:0 0 4px}.company-dashboard-heading p{margin:0;color:var(--muted);line-height:1.5}.company-dashboard-heading>span{color:var(--muted);font-size:.74rem;white-space:nowrap}
.company-store-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.company-store-grid.compact{grid-template-columns:1fr;max-height:62vh;overflow:auto;padding-right:3px}.company-store-card{display:grid;gap:14px;padding:16px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.035)}.company-store-card.current{border-color:#7792d2;box-shadow:0 0 0 2px rgba(83,111,178,.12)}.company-store-card.disabled{opacity:.65;background:#f5f5f3}.company-store-card-head{display:flex;align-items:flex-start;gap:12px}.company-store-card-head img,.company-store-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:13px;border:1px solid var(--line);object-fit:cover;background:#111;color:#fff}.company-store-avatar{display:grid;place-items:center;font-size:20px;font-weight:900}.company-store-card-head>div{display:grid;gap:2px;min-width:0;flex:1}.company-store-card-head small{color:var(--muted);font-size:.7rem;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-store-card-head h3{margin:0;font-size:1.05rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-store-card-head>div>span{color:var(--muted);font-size:.73rem}.company-store-card-head>.pill{margin-left:auto;white-space:nowrap}.company-store-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.company-store-metrics>div{display:grid;gap:3px;padding:9px;border-radius:10px;background:#f5f6f8;text-align:center}.company-store-metrics span{font-size:.65rem;color:var(--muted);font-weight:800}.company-store-metrics b{font-size:.9rem}.company-store-card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.company-store-card-actions .btn{margin-right:auto}.current-store-label{color:#4865a4;font-size:.74rem;font-weight:900}.company-alert-count{padding:5px 8px;border-radius:999px;background:#fff0e3;color:#8b4f13;font-size:.7rem;font-weight:900}.store-switcher-sheet{max-width:700px}.store-switcher-sheet>.state-btn{margin-top:14px}
@media(max-width:900px){.company-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.company-store-grid{grid-template-columns:1fr}}
@media(max-width:620px){.store-switch-indicator{display:none}.company-topbar .wrap,.company-dashboard-heading{align-items:stretch;flex-direction:column}.company-topbar .top-actions{width:100%}.company-topbar .top-actions>*{flex:1}.company-summary-grid{grid-template-columns:1fr 1fr;gap:8px}.company-summary-grid article{padding:13px}.company-summary-grid b{font-size:1.3rem}.company-store-metrics{grid-template-columns:1fr 1fr}.company-store-card-head{flex-wrap:wrap}.company-store-card-head>.pill{margin-left:60px}.company-dashboard-heading>span{white-space:normal}}


/* v0.7.1 既存契約者による追加店舗申請・自動開設 */
.company-billing-pill{width:max-content;margin-top:4px;font-style:normal}.additional-store-sheet{max-width:850px}.additional-store-title{align-items:flex-start}.additional-store-title h2{margin:3px 0 5px}.additional-store-title p{margin:0}.additional-store-plan{display:grid;grid-template-columns:minmax(190px,.65fr) 1.35fr;gap:16px;align-items:center;margin:18px 0;padding:16px;border:1px solid #c7d4ee;border-radius:16px;background:linear-gradient(145deg,#f9fbff,#eef3ff)}.additional-store-plan>div{display:grid;gap:3px}.additional-store-plan span,.additional-store-plan small{color:var(--muted);font-size:.75rem;font-weight:800}.additional-store-plan b{font-size:1.35rem}.additional-store-plan p{margin:0;line-height:1.65;color:#44506b}.additional-store-form{display:grid;gap:15px}.additional-store-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.additional-store-grid label{display:grid;align-content:start;gap:6px}.additional-store-grid label>span{font-size:.76rem;font-weight:900}.additional-store-grid .wide{grid-column:1/-1}.additional-store-prefix{display:flex;align-items:center;border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}.additional-store-prefix b{padding:0 0 0 12px;color:var(--muted);font-size:.82rem;white-space:nowrap}.additional-store-prefix .input{min-width:0;border:0;border-radius:0;box-shadow:none}.additional-availability{display:block;min-height:1.25em;color:var(--muted);font-size:.72rem}.additional-availability.checking{color:#7a6526}.additional-availability.ok{color:#177142;font-weight:900}.additional-availability.error{color:#a22d25;font-weight:900}.additional-manager-toggle,.additional-billing-ack{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid var(--line);border-radius:13px;background:#fafafa;cursor:pointer}.additional-manager-toggle input,.additional-billing-ack input{width:20px;height:20px;flex:0 0 20px;margin:1px 0 0}.additional-manager-toggle span{display:grid;gap:3px}.additional-manager-toggle b{font-size:.88rem}.additional-manager-toggle small{color:var(--muted);line-height:1.45}.additional-manager-toggle.is-active{border-color:#8bb99a;background:#f2faf4;box-shadow:0 0 0 2px rgba(35,132,78,.08)}.additional-manager-fields{padding:15px;border:1px solid #bcd2c3;border-radius:14px;background:#f4faf6}.additional-manager-fields[hidden]{display:none!important}.additional-billing-ack{border-color:#e0bf68;background:#fff8df;font-weight:800;line-height:1.5}.additional-store-history{margin-top:18px;border-top:1px solid var(--line);padding-top:14px}.additional-store-history summary{cursor:pointer;font-weight:900}.additional-store-history>div{display:grid;gap:8px;margin-top:12px}.additional-store-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fafafa}.additional-store-history-row>div{display:grid;gap:3px;min-width:0}.additional-store-history-row>div:nth-child(2){justify-items:end}.additional-store-history-row span,.additional-store-history-row small{color:var(--muted);font-size:.72rem;overflow-wrap:anywhere}.additional-store-history-row .pill{color:inherit}.additional-store-complete{display:grid;justify-items:center;gap:12px;padding:18px 2px 4px;text-align:center}.additional-store-complete-mark{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#e5f7eb;color:#187242;font-size:2rem;font-weight:900}.additional-store-complete h2{margin:0}.additional-store-complete>p{margin:0;color:var(--muted);line-height:1.6}.additional-store-complete dl{display:grid;width:min(100%,650px);margin:8px 0;border:1px solid var(--line);border-radius:14px;overflow:hidden;text-align:left}.additional-store-complete dl>div{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:11px 13px;border-bottom:1px solid var(--line)}.additional-store-complete dl>div:last-child{border-bottom:0}.additional-store-complete dt{color:var(--muted);font-size:.76rem;font-weight:900}.additional-store-complete dd{margin:0;overflow-wrap:anywhere;font-weight:800}.additional-manager-result{display:grid;width:min(100%,650px);gap:0;padding:14px;border:1px solid #c6d8cb;border-radius:14px;background:#f4faf6;text-align:left}.additional-manager-result h3{margin:0 0 8px}.additional-manager-result>div{display:grid;grid-template-columns:120px 1fr;gap:12px;padding:8px 0;border-bottom:1px solid rgba(30,95,54,.12)}.additional-manager-result>div span{color:var(--muted);font-size:.76rem;font-weight:900}.additional-manager-result>p{margin:10px 0 0;color:#8d4c13;font-size:.76rem;line-height:1.5}.temporary-password{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.04em;overflow-wrap:anywhere}.additional-store-complete-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:6px}
@media(max-width:680px){.additional-store-plan{grid-template-columns:1fr}.additional-store-grid{grid-template-columns:1fr}.additional-store-grid .wide{grid-column:auto}.additional-store-prefix{align-items:stretch;flex-direction:column}.additional-store-prefix b{padding:9px 11px 0;white-space:normal;overflow-wrap:anywhere}.additional-store-history-row{grid-template-columns:1fr}.additional-store-history-row>div:nth-child(2){justify-items:start}.additional-store-history-row .state-btn{width:100%}.additional-store-complete dl>div,.additional-manager-result>div{grid-template-columns:1fr;gap:3px}.additional-store-complete-actions{width:100%;flex-direction:column}.additional-store-complete-actions .btn{width:100%}}

.company-menu-page{padding-bottom:5rem}.company-menu-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin:1rem 0}.company-menu-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:1.2rem}.company-menu-layout h2{margin:.5rem 0}.company-menu-category,.company-menu-option{margin-bottom:1rem}.company-menu-category>.row{justify-content:space-between;align-items:flex-start}.company-menu-category>.row>div:last-child,.company-menu-product>div:last-child{display:flex;gap:.35rem;flex-wrap:wrap}.company-menu-category small,.company-menu-product span,.company-menu-product small,.company-menu-option span{display:block;color:var(--muted);margin-top:.2rem}.company-menu-products{margin-top:.8rem;border-top:1px solid var(--line)}.company-menu-product{display:flex;justify-content:space-between;gap:1rem;padding:.8rem 0;border-bottom:1px solid var(--line)}.company-menu-option>div:nth-child(2){display:flex;gap:.35rem;flex-wrap:wrap;margin:.8rem 0}.company-menu-store-select{display:grid;gap:.6rem;margin:1rem 0}.company-menu-store-select label{display:flex;gap:.7rem;align-items:center;border:1px solid var(--line);border-radius:12px;padding:.8rem}.company-menu-store-select label span{display:flex;flex-direction:column}.company-menu-store-select small{color:var(--muted)}@media(max-width:800px){.company-menu-layout{grid-template-columns:1fr}.company-menu-product{flex-direction:column}.company-menu-category>.row{gap:.7rem}}

/* v0.7.3 店舗固有メニュー上書き */
.menu-source-badges{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:5px}.menu-source-pill{display:inline-flex;align-items:center;width:max-content;padding:3px 7px;border-radius:999px;font-size:.66rem;font-weight:900;line-height:1.2}.menu-source-pill.headquarters{background:#e8eefc;color:#36558d}.menu-source-pill.override{background:#fff0d8;color:#8a5700}.menu-source-pill.local{background:#edf6ef;color:#277142}.menu-source-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0 15px;padding:11px 13px;border:1px solid var(--line);border-radius:13px;background:#fafafa}.menu-source-summary>span{font-size:.75rem;color:var(--muted);font-weight:800}.menu-source-summary b{font-size:.8rem}.menu-source-editor{display:grid;gap:8px;margin:14px 0;padding:13px 14px;border:1px solid #c5d2ee;border-radius:14px;background:linear-gradient(145deg,#f9fbff,#f0f4ff)}.menu-source-editor.override{border-color:#e0bd65;background:linear-gradient(145deg,#fffdf7,#fff6dc)}.menu-source-editor>div{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.menu-source-editor b{font-size:.86rem}.menu-source-editor p{margin:0;color:var(--muted);font-size:.76rem;line-height:1.55}.menu-source-editor .state-btn{white-space:nowrap}.menu-common-delete-note{display:grid;gap:5px;margin-top:16px}.menu-common-delete-note span{font-size:.78rem;line-height:1.5}.option-item-source{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:4px}.option-order-override{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0;padding:10px 12px;border:1px solid #e0bd65;border-radius:12px;background:#fff8df}.option-order-override span{font-size:.76rem;color:#765000;font-weight:800;line-height:1.45}
@media(max-width:640px){.menu-source-editor>div,.option-order-override{align-items:stretch;flex-direction:column}.menu-source-editor .state-btn,.option-order-override .state-btn{width:100%}.menu-source-summary{display:grid;grid-template-columns:1fr 1fr}.menu-source-summary>span{grid-column:1/-1}}

/* v0.7.4 スタッフ複数店舗所属・店舗別権限 */
.staff-membership-pills{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:4px}.staff-store-pill{font-size:.66rem}.staff-directory-card{border-style:dashed}.company-staff-directory>summary{cursor:pointer;font-weight:900}.company-staff-directory .panel-body{display:grid;gap:12px}.staff-multi-create{display:grid;gap:8px;padding:14px;border:1px solid #c5d2ee;border-radius:14px;background:#f5f8ff}.staff-multi-create h3,.staff-membership-editor h3,.staff-membership-summary h3{margin:0}.staff-multi-create p,.staff-membership-editor p{margin:0}.staff-assignment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.staff-store-assignment{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(120px,.55fr);align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}.staff-store-assignment>input{width:21px;height:21px}.staff-store-assignment>span{display:grid;gap:2px;min-width:0}.staff-store-assignment b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-store-assignment small{color:var(--muted);font-size:.69rem}.staff-store-assignment .input{min-width:0}.staff-store-assignment.is-disabled{opacity:.55;background:#f1f1ef}.staff-membership-editor,.staff-membership-summary{display:grid;gap:10px;margin-top:6px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fafafa}.staff-multi-sheet{max-width:860px}.staff-multi-sheet .editor-fields>label{display:grid;gap:6px}.staff-multi-sheet .editor-fields label small{color:var(--muted);line-height:1.45}.staff-main .staff-membership-pills{white-space:normal}.staff-main .staff-membership-pills .pill{max-width:100%;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.staff-assignment-grid{grid-template-columns:1fr}.staff-store-assignment{grid-template-columns:auto minmax(0,1fr)}.staff-store-assignment .input{grid-column:2}.staff-main .staff-membership-pills{display:none}}


/* v0.7.5 本部向け全店舗集計・店舗比較ダッシュボード */
.company-analytics-page{padding-bottom:5rem}.company-analytics-filter{display:grid;gap:12px;margin:18px 0;padding:16px}.company-analytics-filter-grid{display:grid;grid-template-columns:minmax(180px,1fr) repeat(2,minmax(150px,.7fr)) auto;align-items:end;gap:10px}.company-analytics-filter-grid label{display:grid;gap:6px}.company-analytics-filter-grid label>span,.company-sort-select{font-size:.74rem;color:var(--muted);font-weight:900}.company-analytics-filter>small{color:var(--muted);font-size:.74rem}.company-analytics-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.company-analytics-stat{display:grid;gap:5px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.035)}.company-analytics-stat.primary{border-color:#9db2df;background:linear-gradient(145deg,#f8faff,#edf3ff)}.company-analytics-stat.warning{border-color:#e1bb66;background:#fff8df}.company-analytics-stat>span{font-size:.72rem;color:var(--muted);font-weight:900}.company-analytics-stat>b{font-size:1.35rem;line-height:1.2}.company-analytics-stat>small{color:var(--muted);font-size:.7rem;line-height:1.4}.company-analytics-change{display:inline-flex;width:max-content;margin-top:2px;padding:3px 7px;border-radius:999px;font-size:.65rem;font-weight:900}.company-analytics-change.up{background:#e6f6eb;color:#166735}.company-analytics-change.down{background:#fff0ee;color:#96281f}.company-analytics-change.neutral{background:#eef0f3;color:#59616d}.company-analytics-overview{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.8fr);gap:14px;align-items:stretch}.company-trend-card{overflow-x:auto;padding:14px}.company-trend-chart{display:flex;align-items:flex-end;gap:7px;min-width:max(620px,100%);height:235px}.company-trend-column{display:grid;grid-template-rows:30px 175px 22px;align-items:end;justify-items:center;min-width:34px;flex:1}.company-trend-column>span{font-size:.58rem;color:var(--muted);white-space:nowrap;transform:rotate(-35deg);transform-origin:center}.company-trend-column>div{display:flex;align-items:flex-end;width:100%;height:175px;border-bottom:1px solid var(--line)}.company-trend-column i{display:block;width:72%;max-width:28px;margin:0 auto;border-radius:5px 5px 0 0;background:linear-gradient(180deg,#617cc0,#9eb1df)}.company-trend-column>b{font-size:.65rem;color:var(--muted);font-weight:800}.company-channel-card{display:grid;align-content:start;gap:15px;padding:18px}.company-channel-card .company-dashboard-heading{margin:0;align-items:flex-start}.company-channel-card .company-dashboard-heading>b{font-size:1.2rem}.company-channel-bar{display:flex;height:18px;border-radius:999px;background:#eee;overflow:hidden}.company-channel-bar i:first-child{background:#536fb2}.company-channel-bar i:last-child{background:#d2a04e}.company-channel-legend{display:grid;gap:12px}.company-channel-legend>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px}.company-channel-legend span{width:11px;height:11px;border-radius:50%}.company-channel-legend span.dine{background:#536fb2}.company-channel-legend span.takeaway{background:#d2a04e}.company-channel-legend small{color:var(--muted)}.company-sort-select{display:grid;grid-template-columns:auto minmax(130px,170px);align-items:center;gap:8px}.company-comparison-table{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.company-comparison-head,.company-comparison-row{display:grid;grid-template-columns:minmax(220px,1.45fr) minmax(145px,.95fr) minmax(135px,.9fr) minmax(110px,.7fr) minmax(125px,.8fr) minmax(120px,.75fr) 92px;align-items:center;gap:10px}.company-comparison-head{padding:10px 13px;background:#f3f4f6;color:var(--muted);font-size:.66rem;font-weight:900}.company-comparison-row{padding:12px 13px;border-top:1px solid var(--line)}.company-comparison-row.inactive{opacity:.55;background:#f5f5f3}.company-comparison-row>strong{display:grid;gap:3px;font-size:.92rem}.company-comparison-row>span{font-size:.75rem;line-height:1.45}.company-comparison-row>span b{font-size:.84rem}.company-comparison-row small{display:block;color:var(--muted);font-size:.66rem;line-height:1.35}.company-comparison-store{display:grid;grid-template-columns:28px 40px minmax(0,1fr);align-items:center;gap:8px;min-width:0}.company-comparison-store .rank{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#eef1f7;color:#405b98;font-size:.7rem;font-weight:900}.company-comparison-store img,.company-comparison-store>i{width:40px;height:40px;border-radius:10px;border:1px solid var(--line);object-fit:cover}.company-comparison-store>i{display:grid;place-items:center;background:#111;color:#fff;font-style:normal;font-weight:900}.company-comparison-store>span:last-child{display:grid;gap:3px;min-width:0}.company-comparison-store b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-product-ranking{display:grid;padding:0 15px}.company-product-ranking>div{display:grid;grid-template-columns:32px minmax(0,1fr) minmax(100px,.35fr);align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.company-product-ranking>div:last-child{border-bottom:0}.company-product-ranking .rank{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#eef1f7;color:#405b98;font-size:.72rem;font-weight:900}.company-product-ranking>div>span:nth-child(2){display:grid;gap:3px}.company-product-ranking small{display:block;color:var(--muted);font-size:.68rem}.company-product-ranking i{display:block;height:5px;border-radius:999px;background:#eef0f3;overflow:hidden}.company-product-ranking em{display:block;height:100%;border-radius:999px;background:#607cc0}.company-product-ranking strong{text-align:right}.company-product-ranking strong small{margin-top:3px}
@media(max-width:1180px){.company-analytics-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.company-analytics-overview{grid-template-columns:1fr}.company-comparison-table{overflow-x:auto}.company-comparison-head,.company-comparison-row{min-width:930px}}
@media(max-width:760px){.company-analytics-filter-grid{grid-template-columns:1fr 1fr}.company-analytics-filter-grid label:first-child{grid-column:1/-1}.company-analytics-filter-grid .btn{grid-column:1/-1}.company-analytics-summary{grid-template-columns:1fr 1fr}.company-sort-select{width:100%;grid-template-columns:auto 1fr}.company-analytics-page>.company-dashboard-heading{align-items:stretch;flex-direction:column}.company-product-ranking>div{grid-template-columns:30px minmax(0,1fr)}.company-product-ranking strong{grid-column:2;text-align:left}.company-trend-chart{min-width:620px}}
@media(max-width:480px){.company-analytics-summary{grid-template-columns:1fr}.company-analytics-filter-grid{grid-template-columns:1fr}.company-analytics-filter-grid label:first-child{grid-column:auto}.company-analytics-stat>b{font-size:1.25rem}}

/* v0.7.6 本部設定配信 */
.company-settings-page{display:grid;gap:20px;padding-bottom:48px}.company-settings-compose{display:grid;gap:20px}.company-settings-compose-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr);gap:16px}.company-settings-compose-grid label,.company-settings-compose-grid label>span{display:grid;gap:7px}.company-settings-sections{display:flex;flex-wrap:wrap;gap:10px 18px;padding:16px;border-radius:14px;background:var(--soft,#f6f7f9)}.company-settings-sections>b{width:100%}.company-settings-sections label{display:flex;align-items:center;gap:8px}.company-settings-target-head{display:flex;align-items:end;justify-content:space-between;gap:16px}.company-settings-target-head>div{display:grid;gap:4px}.company-settings-targets{display:grid;gap:10px}.company-settings-target{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--line,#dfe3e8);border-radius:14px;background:#fff}.company-settings-target>span{display:grid;gap:3px}.company-settings-target small{color:var(--muted,#68707a)}.company-settings-lock-choice{display:flex;align-items:center;gap:7px;padding-left:14px;border-left:1px solid var(--line,#dfe3e8);font-size:.9rem}.company-settings-compose-actions{justify-content:flex-end}.company-settings-history{display:grid;gap:10px;margin-bottom:12px}.company-settings-history .row>div:first-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.company-settings-history-meta{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted,#68707a);font-size:.9rem}.company-settings-result-list{display:grid;gap:5px;padding:10px 12px;border-radius:10px;background:var(--soft,#f6f7f9);font-size:.88rem}.company-settings-result-list .error{color:#b42318}.company-settings-preview-sheet{width:min(960px,94vw);max-height:92vh;overflow:auto}.company-settings-diff-list{display:grid;gap:12px;margin:18px 0}.company-settings-diff-list article{padding:14px;border:1px solid var(--line,#dfe3e8);border-radius:14px}.company-settings-diff-list article>div:last-child{display:grid;gap:7px;margin-top:10px}.company-settings-diff-list p{display:grid;grid-template-columns:minmax(180px,1fr) minmax(120px,1fr) minmax(120px,1fr);gap:10px;align-items:center;margin:0;padding:7px 0;border-top:1px dashed var(--line,#dfe3e8);font-size:.88rem}.company-settings-diff-list del{color:var(--muted,#68707a)}.company-settings-policy-sheet{width:min(1080px,96vw);max-height:92vh;overflow:auto}.company-settings-policy-table{min-width:820px;display:grid;margin:18px 0;border:1px solid var(--line,#dfe3e8);border-radius:14px;overflow:hidden}.company-settings-policy-table>div{display:grid;grid-template-columns:minmax(180px,1.3fr) repeat(4,minmax(130px,1fr));align-items:center}.company-settings-policy-table>div>*{padding:12px;border-right:1px solid var(--line,#dfe3e8);border-bottom:1px solid var(--line,#dfe3e8)}.company-settings-policy-table>div>*:last-child{border-right:0}.company-settings-policy-table>div:last-child>*{border-bottom:0}.company-settings-policy-table .head{background:var(--soft,#f6f7f9)}.company-settings-policy-table label{display:flex;align-items:center;gap:7px}.company-settings-policy-table span{display:grid;gap:3px}.company-setting-lock-notice{display:flex;align-items:center;gap:12px;margin-bottom:14px;padding:14px 16px;border:1px solid #f5c451;border-radius:14px;background:#fff8df}.company-setting-lock-notice b{white-space:nowrap;color:#8a5b00}.company-setting-lock-notice span{font-size:.92rem}.settings-page>.company-setting-lock-notice{margin-bottom:0}.reservation-settings-sheet>.company-setting-lock-notice{margin:0 0 16px}
@media(max-width:760px){.company-settings-compose-grid{grid-template-columns:1fr}.company-settings-target-head{align-items:stretch;flex-direction:column}.company-settings-target{grid-template-columns:auto minmax(0,1fr)}.company-settings-lock-choice{grid-column:2;border-left:0;padding:4px 0 0}.company-settings-compose-actions{justify-content:stretch}.company-settings-compose-actions .btn{flex:1}.company-settings-diff-list p{grid-template-columns:1fr}.company-settings-diff-list p span{font-weight:700}.company-settings-policy-sheet{overflow:auto}.company-setting-lock-notice{align-items:flex-start;flex-direction:column;gap:4px}}

/* v0.7.7 本部監査・データ分離 */
.company-security-page{padding-bottom:80px}.company-security-error{background:#fff0f0;color:#8f1d24;border:1px solid #efb4b8}.company-security-findings{display:grid;gap:12px}.company-security-findings article{position:relative;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:start;border-left:5px solid var(--border,#ddd)}.company-security-findings article.critical{border-left-color:#d9363e}.company-security-findings article.warning{border-left-color:#d09a00}.company-security-findings article.info{border-left-color:#26805b}.company-security-findings article h3{margin:10px 0 4px}.company-security-findings article p{margin:0;color:var(--muted,#666)}.company-security-findings article>b{font-size:1.8rem}.company-security-findings article>small{grid-column:1/-1;color:var(--muted,#777);font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.company-security-filter{margin-top:24px}.company-security-filter-grid{display:grid;grid-template-columns:150px 150px minmax(160px,220px) minmax(240px,1fr) auto;gap:12px;align-items:end}.company-security-filter-grid label{display:grid;gap:6px}.company-security-filter-grid label>span{font-size:.82rem;font-weight:700;color:var(--muted,#666)}.company-security-audit-list{display:grid;gap:10px}.company-security-audit-row{padding:16px}.company-security-audit-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center}.company-security-audit-main div{display:grid;gap:2px}.company-security-audit-main time{font-size:.86rem;color:var(--muted,#666)}.company-security-audit-meta{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0 0;font-size:.82rem;color:var(--muted,#666)}.company-security-audit-row details{margin-top:10px;border-top:1px solid var(--border,#e5e5e5);padding-top:10px}.company-security-audit-row summary{cursor:pointer;font-weight:700}.company-security-audit-row pre{white-space:pre-wrap;word-break:break-word;background:#f7f7f7;border-radius:10px;padding:12px;max-height:300px;overflow:auto;font-size:.78rem}.company-security-history{margin-top:28px}.company-security-history-list{display:flex;flex-wrap:wrap;gap:8px}.company-security-history-list button{display:grid;justify-items:start;gap:2px;text-align:left}.company-security-history-list button span,.company-security-history-list button small{font-size:.75rem}.company-security-scan-sheet{max-width:900px}.company-security-scan-sheet .company-security-findings{margin-top:18px}
@media(max-width:900px){.company-security-filter-grid{grid-template-columns:1fr 1fr}.company-security-filter-grid label:nth-child(4){grid-column:1/-1}.company-security-filter-grid .btn{grid-column:1/-1}.company-security-audit-main{grid-template-columns:auto 1fr}.company-security-audit-main time{grid-column:2}.company-security-findings article{grid-template-columns:1fr auto}}
@media(max-width:560px){.company-security-filter-grid{grid-template-columns:1fr}.company-security-filter-grid label:nth-child(4),.company-security-filter-grid .btn{grid-column:auto}.company-security-audit-meta{display:grid;gap:4px}.company-security-audit-main{align-items:start}.company-security-findings article>b{font-size:1.45rem}}

/* v0.8.0 inventory */
.inventory-home-card{border-color:#b8d7ca;background:linear-gradient(145deg,#fff,#eef8f3)}
.inventory-page{padding-bottom:64px}.inventory-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.inventory-summary-grid article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:0 2px 8px rgba(0,0,0,.035)}.inventory-summary-grid article span,.inventory-summary-grid article small{display:block;color:var(--muted)}.inventory-summary-grid article b{display:block;font-size:28px;margin:5px 0}.inventory-summary-grid article.attention{border-color:#e6b36d;background:#fffaf1}.inventory-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:12px;align-items:center;margin-bottom:16px}.inventory-toolbar .tabs{margin:0;display:flex;flex-wrap:wrap}.inventory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.inventory-item-card{border-left:5px solid #77aa92}.inventory-item-card.low{border-left-color:#e3a641}.inventory-item-card.out{border-left-color:#d65a5a}.inventory-item-card.archived{opacity:.72;border-left-color:#999}.inventory-item-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.inventory-item-head h3{margin:8px 0 4px}.inventory-item-head small{color:var(--muted)}.inventory-current{text-align:right;white-space:nowrap}.inventory-current b{font-size:32px;line-height:1}.inventory-current span{display:block;color:var(--muted);margin-top:5px}.inventory-item-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:16px 0}.inventory-item-metrics span{padding:9px 10px;background:#f5f5f2;border-radius:10px;color:var(--muted)}.inventory-item-metrics b{display:block;color:var(--ink);margin-top:3px}.inventory-note{white-space:pre-wrap;padding:10px;border-left:3px solid var(--line);color:var(--muted)}.inventory-item-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.inventory-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.inventory-form-grid label{display:grid;gap:5px}.inventory-form-grid .wide{grid-column:1/-1}.inventory-form-grid small,.inventory-movement-sheet small{color:var(--muted)}.inventory-editor-sheet,.inventory-movement-sheet{max-width:720px}.inventory-history-sheet{max-width:820px}.inventory-history-list{display:grid;gap:8px;max-height:68vh;overflow:auto}.inventory-history-list article{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px;border:1px solid var(--line);border-radius:12px}.inventory-history-list article>div{display:grid;gap:4px}.inventory-history-list article>div:last-child{text-align:right}.inventory-history-list p{margin:4px 0 0;white-space:pre-wrap;color:var(--muted)}
@media(max-width:800px){.inventory-summary-grid{grid-template-columns:repeat(2,1fr)}.inventory-grid{grid-template-columns:1fr}.inventory-toolbar{grid-template-columns:1fr}.inventory-form-grid{grid-template-columns:1fr}.inventory-form-grid .wide{grid-column:auto}.inventory-history-list article{grid-template-columns:1fr}.inventory-history-list article>div:last-child{text-align:left}}

/* v0.8.1 商品レシピ・注文連動在庫 */
.recipe-count-pill{background:#e8f4ee;color:#246447}.recipe-count-pill.empty{background:#f1f1ed;color:#777}.product-recipe-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0;padding:16px;border:1px solid #b8d7ca;border-radius:16px;background:#f2faf6}.product-recipe-summary h3{margin:0 0 5px}.product-recipe-sheet{max-width:900px}.recipe-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.recipe-summary-grid>div{display:grid;gap:5px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#f6f7f4}.recipe-summary-grid span{color:var(--muted)}.recipe-summary-grid b{font-size:22px}.recipe-list{display:grid;gap:12px;margin:16px 0}.recipe-row{display:grid;grid-template-columns:minmax(230px,1.5fr) minmax(180px,1fr) minmax(180px,.8fr) auto;gap:12px;align-items:end;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.recipe-row label{display:grid;gap:6px}.recipe-quantity-input{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.recipe-quantity-input>span{min-width:40px;font-weight:900}.recipe-row-meta{display:grid;gap:6px;color:var(--muted);font-size:13px}.recipe-row-meta b{color:var(--ink)}.recipe-actions{justify-content:flex-end;margin:16px 0}.notice.warning{border-color:#e6b36d;background:#fffaf1}
@media(max-width:800px){.product-recipe-summary{align-items:flex-start;flex-direction:column}.product-recipe-summary .btn{width:100%}.recipe-summary-grid{grid-template-columns:1fr}.recipe-row{grid-template-columns:1fr}.recipe-row .tab{width:100%}.recipe-actions{display:grid;grid-template-columns:1fr}.recipe-actions .btn{width:100%}}

/* v0.8.2 仕入先・発注・入荷・仕入履歴 */
.procurement-home-card{background:linear-gradient(145deg,#fff8e8,#fff);border-color:#e4bf6a}.procurement-home-card b{color:#725011}
.procurement-page{padding-bottom:80px}.procurement-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}.procurement-summary-grid article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;display:grid;gap:5px}.procurement-summary-grid article.attention{border-color:#df9d32;background:#fff8e6}.procurement-summary-grid span,.procurement-summary-grid small{color:var(--muted)}.procurement-summary-grid b{font-size:1.45rem}.procurement-view-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.procurement-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.procurement-toolbar>.input{min-width:260px;flex:1}.procurement-toolbar .tabs{display:flex;gap:6px;flex-wrap:wrap}
.procurement-order-grid{display:grid;gap:12px}.procurement-order-card{display:grid;gap:14px}.procurement-order-card.overdue{border-color:#d76464;box-shadow:0 0 0 1px rgba(190,55,55,.1)}.procurement-order-head,.procurement-supplier-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.procurement-order-head h3,.procurement-supplier-head h3{margin:7px 0 2px}.procurement-order-head>div>span+span{margin-left:5px}.procurement-order-head>b{font-size:1.3rem;white-space:nowrap}.procurement-order-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.procurement-order-metrics span{background:var(--soft);border-radius:10px;padding:10px;display:grid;gap:4px;color:var(--muted)}.procurement-order-metrics b{color:var(--text)}.procurement-note{margin:0;padding:10px 12px;background:#faf7ef;border-radius:10px;white-space:pre-wrap}.procurement-order-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.state-btn.danger{color:#a32626;border-color:#d8a4a4}
.procurement-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin:12px 0}.procurement-section-heading h2{margin:0}.procurement-section-heading p{margin:.3rem 0 0;color:var(--muted)}.procurement-supplier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.procurement-supplier-card{display:grid;gap:12px}.procurement-supplier-card.archived{opacity:.72}.procurement-supplier-head>b{display:grid;text-align:right;font-size:1.35rem}.procurement-supplier-head>b small{font-size:.72rem;color:var(--muted)}.procurement-supplier-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.procurement-supplier-card dl div{background:var(--soft);padding:9px;border-radius:9px}.procurement-supplier-card dt{font-size:.72rem;color:var(--muted)}.procurement-supplier-card dd{margin:2px 0 0;font-weight:600;overflow-wrap:anywhere}.procurement-supplier-card p{margin:0;white-space:pre-wrap}.procurement-receipt-list{display:grid;gap:9px}.procurement-receipt-row{width:100%;text-align:left;display:flex;justify-content:space-between;align-items:center;gap:18px;cursor:pointer}.procurement-receipt-row:hover{border-color:#c69a42}.procurement-receipt-row>div{display:grid;gap:3px}.procurement-receipt-row>div:last-child{text-align:right}.procurement-receipt-row span,.procurement-receipt-row small{color:var(--muted)}
.procurement-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.procurement-form-grid label{display:grid;gap:5px}.procurement-form-grid label>span,.purchase-item-row label>span{font-size:.78rem;color:var(--muted);font-weight:700}.procurement-form-grid .wide{grid-column:1/-1}.procurement-supplier-sheet{max-width:760px}.purchase-order-editor-sheet{max-width:1120px}.purchase-order-meta{margin:14px 0}.purchase-items-section{margin-top:20px}.purchase-items-section>.row{align-items:flex-end}.purchase-items-list{display:grid;gap:9px;margin-top:10px}.purchase-item-row{display:grid;grid-template-columns:minmax(250px,2fr) minmax(110px,.7fr) minmax(110px,.7fr) minmax(180px,1.1fr) auto;gap:8px;align-items:end;padding:11px;background:var(--soft);border-radius:12px}.purchase-item-row label{display:grid;gap:5px}.purchase-item-name small{font-size:.72rem;color:var(--muted)}.purchase-remove{margin-bottom:1px}.purchase-editor-total{margin:16px 0 12px;text-align:right;font-size:1.05rem}.purchase-editor-total b{font-size:1.4rem;margin-left:8px}
.purchase-order-detail-sheet{max-width:1150px}.purchase-detail-title p{margin:5px 0;color:var(--muted)}.purchase-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:16px 0}.purchase-detail-summary article{background:var(--soft);padding:12px;border-radius:10px;display:grid;gap:4px}.purchase-detail-summary span{font-size:.75rem;color:var(--muted)}.purchase-detail-summary b{font-size:1.2rem}.purchase-order-detail-sheet section>h3{margin:22px 0 9px}.purchase-detail-items{display:grid;border:1px solid var(--line);border-radius:12px;overflow:hidden}.purchase-detail-item{display:grid;grid-template-columns:minmax(210px,2fr) repeat(5,minmax(90px,.8fr));gap:8px;align-items:center;padding:10px 12px;border-top:1px solid var(--line)}.purchase-detail-item:first-child{border-top:0}.purchase-detail-item.head{background:var(--soft);font-size:.75rem;color:var(--muted)}.purchase-detail-item>span:first-child{display:grid;gap:3px}.purchase-detail-item small{color:var(--muted)}.purchase-detail-item.complete{background:#f4fbf5}.purchase-receipt-history{display:grid;gap:10px}.purchase-receipt-history article{display:grid;gap:10px}.purchase-receipt-history dl{display:flex;gap:18px;margin:0}.purchase-receipt-history dl div{display:grid}.purchase-receipt-history dt{font-size:.72rem;color:var(--muted)}.purchase-receipt-history dd{margin:2px 0}.purchase-receipt-item{display:grid;grid-template-columns:minmax(180px,1.5fr) repeat(3,minmax(80px,.7fr));gap:8px;padding:7px 0;border-top:1px dashed var(--line)}.purchase-detail-actions{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin-top:18px}
.purchase-receipt-sheet{max-width:1000px}.purchase-receive-list{display:grid;gap:9px;margin-top:15px}.purchase-receive-row{display:grid;grid-template-columns:auto minmax(240px,1.6fr) minmax(130px,.8fr) minmax(130px,.8fr) minmax(90px,.6fr);gap:10px;align-items:center;padding:12px;background:var(--soft);border-radius:12px}.purchase-receive-row>span{display:grid;gap:4px}.purchase-receive-row small{color:var(--muted)}.purchase-receive-row strong{text-align:right}.purchase-receive-row.disabled{opacity:.5}.purchase-receive-row.disabled input:not([type=checkbox]){pointer-events:none}.danger-notice{border-color:#dda3a3;background:#fff1f1}
@media(max-width:900px){.procurement-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-summary-grid article:last-child{grid-column:1/-1}.procurement-supplier-grid{grid-template-columns:1fr}.procurement-order-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-item-row{grid-template-columns:1fr 1fr}.purchase-item-name,.purchase-item-note{grid-column:1/-1}.purchase-remove{justify-self:end}.purchase-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-detail-items{overflow-x:auto}.purchase-detail-item{min-width:820px}.purchase-receive-row{grid-template-columns:auto 1fr 1fr}.purchase-receive-row>span:first-of-type{grid-column:2/-1}.purchase-receive-row strong{grid-column:2/-1}}
@media(max-width:600px){.procurement-summary-grid{grid-template-columns:1fr 1fr}.procurement-summary-grid b{font-size:1.15rem}.procurement-toolbar{align-items:stretch}.procurement-toolbar>.input,.procurement-toolbar>.btn{width:100%}.procurement-order-head,.procurement-supplier-head,.procurement-receipt-row{align-items:flex-start}.procurement-order-head{display:grid}.procurement-order-head>b{justify-self:end}.procurement-order-metrics{grid-template-columns:1fr 1fr}.procurement-receipt-row{display:grid}.procurement-receipt-row>div:last-child{text-align:left}.procurement-form-grid{grid-template-columns:1fr}.procurement-form-grid .wide{grid-column:auto}.purchase-item-row{grid-template-columns:1fr}.purchase-item-name,.purchase-item-note{grid-column:auto}.purchase-detail-summary{grid-template-columns:1fr 1fr}.purchase-receive-row{grid-template-columns:auto 1fr}.purchase-receive-row>span{grid-column:2}.purchase-receive-row strong{grid-column:2;text-align:left}.purchase-detail-actions>*{width:100%}}

/* v0.8.3 棚卸・在庫差異・廃棄分析 */
.stocktake-home-card{background:linear-gradient(145deg,#eef8f3,#fff);border-color:#8fc3aa}.stocktake-home-card b{color:#225d42}
.stocktake-page{padding-bottom:80px}.stocktake-summary-grid,.inventory-analysis-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.stocktake-summary-grid article,.inventory-analysis-summary article{display:grid;gap:5px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff}.stocktake-summary-grid article.attention,.inventory-analysis-summary article.attention{border-color:#dda55a;background:#fff8eb}.stocktake-summary-grid span,.stocktake-summary-grid small,.inventory-analysis-summary span,.inventory-analysis-summary small{color:var(--muted)}.stocktake-summary-grid b,.inventory-analysis-summary b{font-size:1.4rem}.stocktake-main-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 16px}.stocktake-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.stocktake-toolbar>.input{min-width:260px;flex:1}.stocktake-toolbar .tabs{display:flex;gap:6px;flex-wrap:wrap}.stocktake-grid{display:grid;gap:12px}.stocktake-card{display:grid;gap:13px}.stocktake-card.cancelled{opacity:.7}.stocktake-card-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.stocktake-card-head h3{margin:7px 0 2px}.stocktake-progress{display:grid;text-align:right}.stocktake-progress b{font-size:1.3rem}.stocktake-progress span{color:var(--muted)}.stocktake-progress-bar{height:7px;border-radius:999px;background:#e9ece9;overflow:hidden}.stocktake-progress-bar i{display:block;height:100%;border-radius:inherit;background:#27744e}.stocktake-card-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.stocktake-card-metrics span{display:grid;gap:4px;padding:10px;border-radius:10px;background:var(--soft);color:var(--muted)}.stocktake-card-metrics b{color:var(--text)}.stocktake-card>p{margin:0;white-space:pre-wrap}.stocktake-card-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.stocktake-create-sheet{max-width:720px}.stocktake-create-sheet label{display:grid;gap:6px;margin-top:12px}.stocktake-detail-sheet{max-width:1250px}.stocktake-detail-head p{margin:5px 0;color:var(--muted)}.stocktake-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:16px 0}.stocktake-detail-summary article{display:grid;gap:4px;padding:12px;border-radius:11px;background:var(--soft)}.stocktake-detail-summary span{font-size:.75rem;color:var(--muted)}.stocktake-detail-summary b{font-size:1.2rem}.stocktake-detail-toolbar{display:flex;gap:12px;align-items:center;margin:12px 0}.stocktake-detail-toolbar .input{flex:1}.stocktake-detail-toolbar label{display:flex;gap:7px;align-items:center;white-space:nowrap}.stocktake-count-list{display:grid;gap:8px;max-height:58vh;overflow:auto;padding-right:3px}.stocktake-count-row{display:grid;grid-template-columns:minmax(220px,1.6fr) minmax(130px,.8fr) minmax(120px,.65fr) minmax(180px,1fr) minmax(180px,1fr);gap:9px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:13px;background:#fff}.stocktake-count-row.shortage{border-color:#d79393;background:#fff7f7}.stocktake-count-row.overage{border-color:#8fbda5;background:#f6fcf8}.stocktake-count-row.uncounted{background:#fafaf7}.stocktake-count-name{display:grid;gap:3px;align-self:center}.stocktake-count-name small{color:var(--muted)}.stocktake-count-row label{display:grid;gap:5px}.stocktake-count-row label>span,.stocktake-count-difference>span{font-size:.72rem;color:var(--muted);font-weight:700}.stocktake-count-row label>small{color:var(--muted)}.stocktake-count-difference{display:grid;gap:5px;align-self:center}.stocktake-count-difference b{font-size:1.05rem}.stocktake-count-difference small{color:var(--muted)}.stocktake-count-reason.required>span::after{content:' 必須';color:#a32626}.stocktake-detail-actions{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin:18px 0}.stocktake-finalized-meta{display:flex;gap:18px;flex-wrap:wrap;margin-top:18px;padding:13px;border-radius:12px;background:var(--soft)}.stocktake-finalized-meta span{display:grid;gap:3px;color:var(--muted)}.stocktake-finalized-meta b{color:var(--text)}
.inventory-analysis-period{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:14px}.inventory-analysis-period label{display:grid;gap:5px}.inventory-analysis-period label>span{font-size:.75rem;color:var(--muted);font-weight:700}.inventory-analysis-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:14px 0}.inventory-analysis-columns h2,.stocktake-page>section.card>h2{margin-top:0}.inventory-analysis-breakdown{display:grid;gap:8px}.inventory-analysis-breakdown article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:11px;border-radius:11px;background:var(--soft)}.inventory-analysis-breakdown article>div{display:grid;gap:2px}.inventory-analysis-breakdown small,.inventory-analysis-breakdown span{color:var(--muted)}.inventory-analysis-breakdown article>span{grid-column:1/-1}.inventory-analysis-table{display:grid;border:1px solid var(--line);border-radius:12px;overflow:hidden}.inventory-analysis-row{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(100px,.8fr) minmax(70px,.5fr) minmax(100px,.7fr);gap:8px;align-items:center;padding:10px 12px;border-top:1px solid var(--line)}.inventory-analysis-row:first-child{border-top:0}.inventory-analysis-row.head{background:var(--soft);font-size:.75rem;color:var(--muted)}.inventory-analysis-row>span:first-child{display:grid;gap:2px}.inventory-analysis-row small{color:var(--muted)}.inventory-analysis-table.daily .inventory-analysis-row{grid-template-columns:minmax(180px,1fr) minmax(80px,.5fr) minmax(100px,.6fr)}.stocktake-recent-list{display:grid;gap:7px}.stocktake-recent-list button{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(150px,1fr) minmax(100px,.6fr);gap:8px;align-items:center;width:100%;padding:11px;border:1px solid var(--line);border-radius:11px;background:#fff;text-align:left;color:var(--text);cursor:pointer}.stocktake-recent-list button:hover{background:var(--soft)}.stocktake-recent-list button>span{display:grid;gap:2px}.stocktake-recent-list small{color:var(--muted)}.stocktake-recent-list button>small{grid-column:1/-1}.stocktake-recent-list strong{text-align:right}.stocktake-recent-list strong.negative{color:#a32626}.stocktake-recent-list strong.positive{color:#247049}.warning-notice{border-color:#e2b56f;background:#fff9ed}
@media(max-width:950px){.stocktake-count-row{grid-template-columns:1fr 1fr}.stocktake-count-name{grid-column:1/-1}.stocktake-count-note{grid-column:1/-1}.inventory-analysis-columns{grid-template-columns:1fr}}
@media(max-width:720px){.stocktake-summary-grid,.inventory-analysis-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.stocktake-card-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.stocktake-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.stocktake-detail-toolbar{align-items:stretch;flex-direction:column}.stocktake-detail-toolbar .input{width:100%}.stocktake-count-row{grid-template-columns:1fr}.stocktake-count-name,.stocktake-count-note{grid-column:auto}.stocktake-detail-actions>*{width:100%}.inventory-analysis-period{align-items:stretch}.inventory-analysis-period label,.inventory-analysis-period .btn,.inventory-analysis-period .state-btn{width:100%}.inventory-analysis-row{min-width:620px}.inventory-analysis-table{overflow-x:auto}.stocktake-recent-list button{grid-template-columns:1fr}.stocktake-recent-list strong{text-align:left}.stocktake-recent-list button>small{grid-column:auto}}
@media(max-width:480px){.stocktake-summary-grid,.inventory-analysis-summary{grid-template-columns:1fr 1fr}.stocktake-card-head{display:grid}.stocktake-progress{text-align:left}.stocktake-toolbar{align-items:stretch}.stocktake-toolbar>.input,.stocktake-toolbar>.btn{width:100%}.stocktake-card-metrics{grid-template-columns:1fr 1fr}}

/* v0.8.4 商品原価・原価率・粗利分析 */
.cost-analysis-home-card{background:linear-gradient(145deg,#fff7ed,#ffffff);border-color:#fdba74}.cost-analysis-home-card b{color:#9a3412}
.cost-analysis-page{padding-bottom:48px}.cost-analysis-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:14px}.cost-analysis-toolbar label{display:grid;gap:5px;min-width:160px}.cost-analysis-toolbar label span{font-size:12px;color:var(--muted)}
.cost-analysis-tabs{display:flex;gap:8px;margin:0 0 14px}.cost-analysis-definition{display:flex;gap:8px 16px;align-items:center;margin-bottom:16px}.cost-analysis-definition span{font-size:13px;color:var(--muted)}
.cost-analysis-good-notice{border-color:#86efac;background:#f0fdf4}.cost-analysis-good-notice b{color:#166534}.cost-analysis-good-notice span{color:#166534}.warning-notice{border-color:#fde68a;background:#fffbeb}.warning-notice b,.warning-notice span{color:#92400e}
.cost-summary-grid,.cost-catalog-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:14px 0}.cost-summary-grid article,.cost-catalog-summary article{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;display:grid;gap:5px;min-width:0}.cost-summary-grid article.primary{border-color:#93c5fd;background:#eff6ff}.cost-summary-grid article.profit,.cost-catalog-summary article.good{border-color:#86efac;background:#f0fdf4}.cost-summary-grid article.attention,.cost-catalog-summary article.attention{border-color:#fdba74;background:#fff7ed}.cost-summary-grid span,.cost-catalog-summary span{font-size:12px;color:var(--muted)}.cost-summary-grid b,.cost-catalog-summary b{font-size:23px;line-height:1.15}.cost-summary-grid small,.cost-catalog-summary small{font-size:11px;color:var(--muted);line-height:1.4}.cost-change{font-size:11px;font-weight:700}.cost-change.up{color:#15803d}.cost-change.down{color:#b91c1c}.cost-change.neutral{color:var(--muted)}
.cost-analysis-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin-bottom:14px}.cost-analysis-columns .card,.cost-analysis-page>.card{padding:18px}.report-section-title,.cost-analysis-list-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}.report-section-title h2,.cost-analysis-list-head h2{margin:0 0 3px;font-size:18px}.cost-analysis-list-head p{margin:0}.cost-analysis-list-tools{display:flex;gap:8px;flex-wrap:wrap}.cost-analysis-list-tools .input{min-width:180px}
.cost-daily-list{display:grid;gap:9px}.cost-daily-list article{display:grid;grid-template-columns:110px minmax(70px,1fr) minmax(260px,auto);align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.cost-daily-list article:last-child{border-bottom:0}.cost-daily-date{display:grid;gap:2px}.cost-daily-date small{font-size:11px;color:var(--muted)}.cost-daily-bar{height:10px;background:#f1f5f9;border-radius:99px;overflow:hidden}.cost-daily-bar i{display:block;height:100%;background:linear-gradient(90deg,#fb923c,#f97316);border-radius:inherit}.cost-daily-metrics{display:flex;gap:12px;justify-content:flex-end;font-size:12px;white-space:nowrap}.cost-daily-metrics b{font-size:13px}.negative{color:#b91c1c!important}.warning-text{color:#b45309!important}
.cost-table-wrap{overflow-x:auto}.cost-table,.cost-catalog-table{min-width:760px}.cost-table-row{display:grid;grid-template-columns:minmax(210px,1.8fr) 90px 120px 120px 100px 120px;align-items:center;gap:10px;padding:11px 8px;border-bottom:1px solid var(--line);font-size:13px}.cost-table-row.head{position:sticky;top:0;background:#f8fafc;color:var(--muted);font-size:11px;text-transform:none;z-index:1}.cost-table-row>span:first-child{display:grid;gap:2px}.cost-table-row small,.cost-catalog-row small{display:block;color:var(--muted);font-size:11px;line-height:1.35}.cost-table-row.untracked{background:#fffbeb}.cost-table-row strong.danger,.cost-catalog-row strong.danger{color:#b91c1c}.cost-table-row strong.warning,.cost-catalog-row strong.warning{color:#b45309}.cost-table-row strong.good,.cost-catalog-row strong.good{color:#15803d}
.cost-catalog-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.cost-catalog-row{display:grid;grid-template-columns:minmax(220px,1.6fr) 115px minmax(170px,1fr) minmax(170px,1fr) 145px;align-items:center;gap:12px;padding:12px 8px;border-bottom:1px solid var(--line);font-size:13px}.cost-catalog-row.head{background:#f8fafc;color:var(--muted);font-size:11px}.cost-catalog-row>span{display:grid;gap:3px}.cost-catalog-row .pill{display:inline-flex;width:max-content}.cost-analysis-generated{text-align:right;margin-top:14px}
@media(max-width:1100px){.cost-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cost-analysis-columns{grid-template-columns:1fr}.cost-catalog-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.cost-analysis-toolbar{align-items:stretch}.cost-analysis-toolbar label,.cost-analysis-toolbar .btn,.cost-analysis-toolbar .state-btn{width:100%}.cost-analysis-definition{display:grid}.cost-summary-grid,.cost-catalog-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cost-summary-grid article,.cost-catalog-summary article{padding:12px}.cost-summary-grid b,.cost-catalog-summary b{font-size:19px}.cost-analysis-list-head{display:grid}.cost-analysis-list-tools{display:grid}.cost-analysis-list-tools .input{width:100%;min-width:0}.cost-daily-list article{grid-template-columns:1fr;gap:6px}.cost-daily-metrics{justify-content:space-between;white-space:normal}.cost-table-row,.cost-catalog-row{min-width:760px}.cost-analysis-generated{text-align:left}}

/* v0.8.5 headquarters inventory */
.company-inventory-page{padding-bottom:80px}.company-inventory-summary{grid-template-columns:repeat(6,minmax(0,1fr))}.company-inventory-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 22px}.company-inventory-store-grid article{display:grid;gap:12px}.company-inventory-store-grid h3{margin:0}.company-inventory-store-grid article>div:last-child{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:.82rem}.company-inventory-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.company-inventory-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 180px auto;gap:10px;margin-bottom:14px}.company-inventory-comparison-wrap{overflow-x:auto;padding-bottom:8px}.company-inventory-comparison{min-width:max(900px,calc(280px + var(--store-count)*190px));display:grid;gap:6px}.company-inventory-comparison-head,.company-inventory-comparison-row{display:grid;grid-template-columns:280px repeat(var(--store-count),minmax(180px,1fr));gap:6px}.company-inventory-comparison-head>span{background:#27352f;color:#fff;padding:12px;border-radius:10px;display:grid;gap:2px;position:sticky;top:0;z-index:2}.company-inventory-comparison-head>span:first-child{left:0;z-index:3}.company-inventory-comparison-head small{opacity:.7}.company-inventory-comparison-row>div:first-child{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px;display:grid;gap:3px;position:sticky;left:0;z-index:1}.company-inventory-comparison-row>div:first-child small,.company-inventory-comparison-row>div:first-child span{color:var(--muted)}.company-inventory-cell,.company-inventory-unpublished{border:1px solid var(--line);border-radius:10px;padding:11px;background:#fff;display:grid;gap:3px;align-content:center}.company-inventory-cell small,.company-inventory-cell span{color:var(--muted)}.company-inventory-cell.low{background:#fff8e8;border-color:#e0b052}.company-inventory-cell.out{background:#fff0f0;border-color:#d87575}.company-inventory-cell.archived{opacity:.65}.company-inventory-unpublished{place-items:center;color:var(--muted);border-style:dashed}.company-inventory-master-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.company-inventory-master-card{display:grid;gap:13px}.company-inventory-master-card.archived{opacity:.68}.company-inventory-master-card h3{margin:7px 0 2px}.company-inventory-master-card .row>div:last-child,.company-inventory-master-card .row>b{display:grid;text-align:right}.company-inventory-master-card .row>b small{font-size:.72rem;color:var(--muted)}.company-inventory-master-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px}.company-inventory-master-metrics span{background:var(--soft);padding:10px;border-radius:9px;color:var(--muted)}.company-inventory-master-metrics b{display:block;color:var(--text);margin-top:3px}.company-inventory-master-card p{margin:0;white-space:pre-wrap;color:var(--muted)}.company-inventory-master-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.company-inventory-editor-sheet{max-width:760px}.company-inventory-publish-sheet{max-width:900px}.company-inventory-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 20px;max-height:280px;overflow:auto}.company-inventory-check-grid label{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--line);border-radius:10px}.company-inventory-check-grid label>span{display:grid}.company-inventory-check-grid small{color:var(--muted)}.company-inventory-transfer-list{display:grid;gap:12px}.company-inventory-transfer-card{display:grid;gap:12px}.company-inventory-transfer-card h3{margin:7px 0 2px}.company-inventory-transfer-value{display:grid;text-align:right}.company-inventory-transfer-value small{color:var(--muted)}.company-inventory-transfer-meta{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-size:.82rem}.company-inventory-transfer-editor-sheet,.company-inventory-transfer-detail-sheet{max-width:920px}.company-inventory-transfer-stores{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:12px;margin:14px 0 20px}.company-inventory-transfer-stores label{display:grid;gap:5px}.company-inventory-transfer-stores>span{font-size:1.5rem;padding-bottom:9px}.company-inventory-transfer-items{display:grid;gap:8px;max-height:45vh;overflow:auto;margin-bottom:14px}.company-inventory-transfer-item{display:grid;grid-template-columns:auto minmax(220px,1fr) 150px;gap:10px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:10px}.company-inventory-transfer-item>span{display:grid}.company-inventory-transfer-item small{color:var(--muted)}.company-inventory-transfer-detail-meta{display:grid;gap:4px;color:var(--muted);margin:14px 0}.company-inventory-transfer-detail-items{display:grid;gap:7px;margin:12px 0}.company-inventory-transfer-detail-items article{display:grid;grid-template-columns:minmax(220px,1fr) 150px 180px;gap:10px;align-items:center;padding:11px;background:var(--soft);border-radius:10px}.company-inventory-transfer-detail-items article>span:first-child{display:grid}.company-inventory-transfer-detail-items small{color:var(--muted)}.warning-text{color:#a76400!important;font-weight:700}.compact-select{min-width:160px;max-width:220px}
@media(max-width:1050px){.company-inventory-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.company-inventory-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.company-inventory-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.company-inventory-store-grid,.company-inventory-master-grid,.company-inventory-check-grid{grid-template-columns:1fr}.company-inventory-toolbar{grid-template-columns:1fr}.company-inventory-transfer-stores{grid-template-columns:1fr}.company-inventory-transfer-stores>span{display:none}.company-inventory-transfer-item{grid-template-columns:auto 1fr}.company-inventory-transfer-item>.input{grid-column:2}.company-inventory-transfer-detail-items article{grid-template-columns:1fr}.company-inventory-transfer-value{text-align:left}}

/* v0.8.6 inventory audit and reports */
.inventory-audit-home-card{background:linear-gradient(145deg,#f5f3ff,#ede9fe);border-color:#c4b5fd}.inventory-audit-page{padding-bottom:80px}.inventory-audit-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:18px 0}.inventory-audit-summary article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;display:grid;gap:4px}.inventory-audit-summary article>span{font-size:.76rem;color:var(--muted)}.inventory-audit-summary article>b{font-size:1.35rem}.inventory-audit-summary article>small{font-size:.72rem;color:var(--muted)}.inventory-audit-summary .danger-card{background:#fff1f2;border-color:#fda4af}.inventory-audit-summary .attention{background:#fff8e8;border-color:#e0b052}.inventory-audit-summary .hash-value{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:1rem;word-break:break-all}.inventory-audit-tabs{margin:0 0 16px}.inventory-audit-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:12px}.inventory-audit-actions h2,.inventory-audit-result-head h2,.inventory-report-note h2{margin:0 0 5px}.inventory-audit-actions p,.inventory-report-note p{margin:0}.inventory-audit-alert-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}.inventory-audit-alert-grid article{display:flex;justify-content:space-between;align-items:center}.inventory-audit-alert-grid span{color:var(--muted)}.inventory-audit-alert-grid b{font-size:1.35rem}.inventory-audit-result-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}.inventory-audit-result-head h2{margin-top:7px}.inventory-audit-result-counts{display:grid;grid-template-columns:repeat(4,minmax(90px,1fr));gap:8px}.inventory-audit-result-counts span{display:grid;gap:2px;background:var(--soft);border-radius:9px;padding:10px;color:var(--muted);font-size:.76rem}.inventory-audit-result-counts b{font-size:1.15rem;color:var(--text)}.inventory-audit-issues{display:grid;gap:9px;margin-bottom:14px}.inventory-audit-issue{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-left-width:5px;border-radius:11px;padding:13px 14px}.inventory-audit-issue.critical{border-left-color:#dc2626;background:#fff7f7}.inventory-audit-issue.warning{border-left-color:#d97706;background:#fffaf0}.inventory-audit-issue.info{border-left-color:#2563eb}.inventory-audit-issue h3{margin:5px 0 4px;font-size:1rem}.inventory-audit-issue p{margin:5px 0 0;color:var(--muted);font-size:.82rem}.inventory-audit-history{display:grid;gap:7px;margin-top:12px}.inventory-audit-history button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 12px;display:grid;grid-template-columns:minmax(220px,1fr) auto 150px;align-items:center;gap:12px;text-align:left}.inventory-audit-history button:hover{background:var(--soft)}.inventory-audit-history button>span:first-child{display:grid}.inventory-audit-history small{color:var(--muted)}.inventory-audit-history code{font-size:.72rem;color:var(--muted)}.inventory-audit-detail-sheet{max-width:980px}.inventory-audit-detail-sheet .notice code{display:block;margin-top:6px;word-break:break-all}.modal-counts{margin:14px 0}.inventory-audit-period{display:grid;grid-template-columns:160px 160px minmax(220px,1fr) auto;gap:10px;align-items:end;margin-bottom:12px}.inventory-audit-period label{display:grid;gap:4px}.inventory-audit-period label>span{font-size:.76rem;color:var(--muted)}.inventory-report-note{margin-bottom:12px}.inventory-report-table{background:#fff;border:1px solid var(--line);border-radius:12px;overflow-x:auto}.inventory-report-row{display:grid;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line);min-width:850px;font-size:.82rem}.inventory-report-row:last-child{border-bottom:0}.inventory-report-row.head{background:#f8fafc;color:var(--muted);font-size:.73rem;position:sticky;top:0;z-index:1}.inventory-report-row>span:first-child{display:grid;gap:2px}.inventory-report-row small{color:var(--muted);font-size:.7rem}.inventory-report-table.current .inventory-report-row{grid-template-columns:minmax(210px,1.6fr) 115px 90px 90px 100px 110px minmax(140px,1fr)}.inventory-report-table.reorder .inventory-report-row{grid-template-columns:minmax(230px,1.7fr) 120px 90px 90px 120px 110px}.inventory-report-table.ledger .inventory-report-row{grid-template-columns:minmax(220px,1.5fr) 130px 120px 90px 90px 100px minmax(220px,1.5fr)}.inventory-report-row .positive{color:#15803d}.inventory-count-sheet{background:#fff;border:1px solid var(--line);border-radius:12px;overflow-x:auto}.inventory-count-row{display:grid;grid-template-columns:minmax(210px,1.5fr) 120px 140px 90px 140px minmax(220px,1.4fr);min-width:900px;gap:8px;align-items:stretch;border-bottom:1px solid var(--line);padding:7px 10px;font-size:.82rem}.inventory-count-row.head{background:#f8fafc;color:var(--muted);font-size:.73rem}.inventory-count-row>span{display:flex;align-items:center}.inventory-count-row>span:first-child{display:grid;align-content:center}.inventory-count-row small{color:var(--muted)}.inventory-count-row .write-cell{min-height:32px;border:1px dashed #94a3b8;border-radius:5px}.inventory-count-row .write-cell.wide{min-width:180px}.inventory-audit-limit-note,.inventory-audit-generated{margin-top:10px}.inventory-audit-generated{text-align:right}.good-state{background:#f0fdf4!important;border-color:#86efac!important}.pill.blue{background:#dbeafe;color:#1d4ed8}
@media(max-width:1100px){.inventory-audit-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-audit-result-head{display:grid}.inventory-audit-result-counts{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.inventory-audit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-audit-actions,.inventory-audit-issue{display:grid}.inventory-audit-alert-grid{grid-template-columns:1fr}.inventory-audit-result-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-audit-history button{grid-template-columns:1fr}.inventory-audit-period{grid-template-columns:1fr}.inventory-audit-tabs{overflow-x:auto;flex-wrap:nowrap}.inventory-audit-tabs .tab{white-space:nowrap}.inventory-audit-generated{text-align:left}}

/* v0.9 company menu publish selection safety */
.company-menu-publish-summary{grid-template-columns:repeat(4,1fr)}.company-menu-store-heading{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;margin-top:18px}.company-menu-store-heading h3{margin:0}.company-menu-store-heading>strong{white-space:nowrap}.company-menu-store-heading>div{display:flex;gap:6px}.company-menu-store-select label{min-height:52px;cursor:pointer}.company-menu-store-select input{width:20px;height:20px;flex:0 0 auto}
@media(max-width:720px){.company-menu-store-heading{grid-template-columns:1fr}.company-menu-store-heading>div{flex-wrap:wrap}.company-menu-store-select label{min-height:60px}}

/* v0.9 company menu archive and restore */
.company-menu-archive-switch{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 14px}.company-menu-archive-switch>span{color:var(--muted);font-size:.82rem}.company-menu-archive-sheet{max-width:900px}.company-menu-archived-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.company-menu-archived-card{display:grid;gap:12px}.company-menu-archived-card h3{margin:8px 0 4px}.company-menu-archived-card p{margin:4px 0;color:var(--muted);overflow-wrap:anywhere}.company-menu-archived-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0}.company-menu-archived-card dl>div{padding:9px;background:var(--soft);border-radius:9px}.company-menu-archived-card dt{font-size:.7rem;color:var(--muted)}.company-menu-archived-card dd{margin:3px 0 0;font-weight:800}.company-menu-archived-card>.btn{justify-self:end;min-width:150px}
@media(max-width:720px){.company-menu-archived-grid{grid-template-columns:1fr}.company-menu-archive-switch{align-items:stretch;display:grid;grid-template-columns:1fr 1fr}.company-menu-archive-switch>span{grid-column:1/-1}.company-menu-archived-card dl{grid-template-columns:1fr}.company-menu-archived-card>.btn{justify-self:stretch;min-height:48px;width:100%}}

/* v0.9 company menu bundled product restore */
.company-menu-restore-sheet{max-width:680px}.company-menu-restore-list{display:grid;gap:9px;margin:18px 0}.company-menu-restore-list section{display:grid;gap:5px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}.company-menu-restore-list section>b{color:var(--muted);font-size:.78rem}.company-menu-restore-complete{max-width:620px;text-align:center}.company-menu-restore-complete .success-mark{display:grid;place-items:center;width:56px;height:56px;margin:0 auto;border-radius:50%;background:#dcfce7;color:#15803d;font-size:1.8rem}.company-menu-restore-complete p{color:var(--muted)}
@media(max-width:720px){.company-menu-restore-sheet .company-menu-form-actions,.company-menu-restore-complete .company-menu-form-actions{display:grid;grid-template-columns:1fr}.company-menu-restore-sheet .btn,.company-menu-restore-complete .btn{min-height:48px;width:100%}}

/* v0.9 company common menu guided flow */
.company-menu-page{padding-bottom:80px}.company-menu-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.company-menu-flow button{display:flex;align-items:center;gap:10px;min-height:58px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--muted);text-align:left}.company-menu-flow button b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--soft);color:var(--text)}.company-menu-flow button.active{border-color:var(--primary);background:#f0fdf4;color:var(--text)}.company-menu-flow button.active b{background:var(--primary);color:#fff}.company-menu-tabs{display:flex;gap:8px;margin:18px 0}.company-menu-section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px}.company-menu-section-head h2,.company-menu-section-head p{margin:0}.company-menu-section-head p{margin-top:4px;color:var(--muted)}.company-menu-product-grid,.company-menu-option-grid,.company-menu-manage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.company-menu-product-card{display:grid;gap:14px}.company-menu-product-main{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.company-menu-product-main h3{margin:9px 0 4px}.company-menu-product-main p,.company-menu-product-main small{margin:0;color:var(--muted)}.company-menu-product-options{display:grid;gap:5px;padding:12px;background:var(--soft);border-radius:10px}.company-menu-product-options span{font-size:.82rem;overflow-wrap:anywhere}.company-menu-card-foot{display:flex;justify-content:space-between;align-items:center;gap:10px}.company-menu-card-foot>small{color:var(--muted)}.company-menu-card-foot details{position:relative}.company-menu-card-foot summary{cursor:pointer;color:var(--primary);font-weight:700}.company-menu-card-foot details>div{position:absolute;right:0;z-index:3;display:grid;gap:6px;min-width:180px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 25px #0002}.company-menu-option-card,.company-menu-category-card{display:grid;gap:12px}.company-menu-option-card h3,.company-menu-category-card h3{margin:0 0 4px}.company-menu-option-card p{margin:5px 0;color:var(--muted);overflow-wrap:anywhere}.company-menu-choice-list{display:flex;flex-wrap:wrap;gap:6px}.company-menu-category-card{grid-template-columns:1fr auto;align-items:center}.company-menu-category-card>div:last-child{display:flex;gap:7px;flex-wrap:wrap}.company-menu-empty{text-align:center;padding:38px 20px}.company-menu-empty p{color:var(--muted)}.company-menu-product-sheet{max-width:840px}.company-menu-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.company-menu-form-grid label{display:grid;gap:5px;align-content:start}.company-menu-form-grid label>span{font-size:.8rem;color:var(--muted)}.company-menu-form-grid .wide{grid-column:1/-1}.company-menu-form-grid textarea{min-height:78px;resize:vertical}.text-button{width:max-content;border:0;background:transparent;color:var(--primary);font-weight:700;padding:6px 0;cursor:pointer}.company-menu-switches{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.company-menu-switches label{padding:10px 13px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.company-menu-form-options{display:grid;gap:8px;border-top:1px solid var(--line);padding-top:16px}.company-menu-form-options>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.company-menu-form-options h3{margin:0}.company-menu-form-options>label{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:10px}.company-menu-form-options>label>span{display:grid}.company-menu-form-options small{color:var(--muted)}.company-menu-form-actions{justify-content:flex-end;margin-top:18px}.company-menu-review{display:grid;gap:14px}.company-menu-review-counts,.company-menu-publish-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.company-menu-review-counts span,.company-menu-publish-summary span{display:grid;gap:3px;padding:12px;background:var(--soft);border-radius:10px;color:var(--muted)}.company-menu-review-counts b,.company-menu-publish-summary b{font-size:1.35rem;color:var(--text)}.company-menu-review-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.company-menu-review-product{display:grid;gap:14px}.company-menu-review-product-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.company-menu-review-product-head h3{margin:8px 0 3px}.company-menu-review-product-head p{margin:0;color:var(--muted)}.company-menu-review-product-head>strong{font-size:1.25rem}.company-menu-review-product dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.company-menu-review-product dl>div{padding:10px;background:var(--soft);border-radius:9px}.company-menu-review-product dt{font-size:.72rem;color:var(--muted)}.company-menu-review-product dd{margin:3px 0 0;font-weight:700}.company-menu-review-product>section{display:grid;gap:8px}.company-menu-review-option{padding:10px;border:1px solid var(--line);border-radius:9px}.company-menu-review-option>div{display:flex;justify-content:space-between;gap:10px}.company-menu-review-option>div span{color:var(--muted);font-size:.8rem}.company-menu-review-option ul{list-style:none;padding:0;margin:8px 0 0}.company-menu-review-option li{display:flex;justify-content:space-between;gap:10px;padding-top:6px;font-size:.82rem}.company-menu-review-next{justify-self:end;min-width:240px}.company-menu-publish-sheet{max-width:760px}.company-menu-publish-sheet h3{margin:20px 0 8px}.company-menu-publish-summary{grid-template-columns:repeat(3,1fr)}.company-menu-publish-result{text-align:center;display:grid;gap:12px}.company-menu-publish-result .success-mark{display:grid;place-items:center;margin:auto;width:54px;height:54px;border-radius:50%;background:#dcfce7;color:#15803d;font-size:1.8rem}.company-menu-publish-result article{display:flex;justify-content:space-between;gap:12px;padding:10px;border:1px solid var(--line);border-radius:9px;text-align:left}.company-menu-publish-result article span{color:var(--muted)}
@media(max-width:720px){.company-menu-flow{grid-template-columns:1fr}.company-menu-flow button{min-height:50px}.company-menu-tabs{overflow-x:auto;flex-wrap:nowrap}.company-menu-tabs .tab{white-space:nowrap}.company-menu-section-head,.company-menu-product-main,.company-menu-card-foot{align-items:stretch;display:grid}.company-menu-product-grid,.company-menu-option-grid,.company-menu-manage-grid,.company-menu-form-grid,.company-menu-review-products{grid-template-columns:1fr}.company-menu-form-grid .wide{grid-column:auto}.company-menu-category-card{grid-template-columns:1fr}.company-menu-form-options>div{align-items:stretch;display:grid}.company-menu-form-actions .btn,.company-menu-review-next{width:100%;min-height:48px}.company-menu-review-counts,.company-menu-publish-summary,.company-menu-review-product dl{grid-template-columns:repeat(2,1fr)}.company-menu-review-option>div{display:grid}.company-menu-publish-result article{display:grid}.company-menu-topbar .wrap{align-items:flex-start}}

.takeout-product-card.acceptance-stopped{cursor:default;opacity:.62}.takeout-product-card.acceptance-stopped::after{content:'受付停止中';position:absolute;top:12px;right:12px;padding:5px 8px;border-radius:999px;background:#fff0dc;color:#744600;font-size:11px;font-weight:900}

/* v1.0.2-fix04: safe store / group deletion */
.platform-deletion-sheet{max-width:860px}.platform-deletion-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:20px 0}.platform-deletion-summary>div{display:grid;gap:5px;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff}.platform-deletion-summary span,.platform-company-row span{color:var(--muted);font-size:10px;font-weight:900}.platform-deletion-summary b{font-size:13px;overflow-wrap:anywhere}.platform-deletion-blockers,.platform-deletion-ready,.platform-deletion-warning{display:grid;gap:6px;margin:14px 0;padding:15px;border-radius:14px}.platform-deletion-blockers{border:1px solid #e5aaa5;background:#fff1ef;color:#8f1710}.platform-deletion-ready{border:1px solid #acd2b7;background:#f0faf3;color:#195c31}.platform-deletion-warning{border:1px solid #e7d08e;background:#fffaf0;color:#6f5200}.platform-deletion-blockers b,.platform-deletion-ready b,.platform-deletion-warning b{font-size:14px}.platform-deletion-blockers p,.platform-deletion-ready p,.platform-deletion-warning p{margin:0;font-size:12px;line-height:1.65}.platform-deletion-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.platform-deletion-counts article{display:grid;gap:4px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff}.platform-deletion-counts span{color:var(--muted);font-size:10px;font-weight:900}.platform-deletion-counts b{font-size:15px}.platform-deletion-confirm{display:grid;gap:13px;margin-top:18px;padding:17px;border:2px solid #d78d87;border-radius:16px;background:#fff8f7}.platform-deletion-confirm>label:first-child{display:grid;gap:7px;font-size:12px;font-weight:900}.platform-deletion-checkbox{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.6}.platform-deletion-checkbox input{flex:0 0 auto;width:20px;height:20px;margin-top:1px}.platform-company-list{display:grid}.platform-company-row{display:grid;grid-template-columns:minmax(220px,1.35fr) repeat(3,minmax(120px,.65fr)) auto;gap:14px;align-items:center;padding:17px 22px;border-top:1px solid var(--line)}.platform-company-row:first-child{border-top:0}.platform-company-row>div{display:grid;gap:4px;min-width:0}.platform-company-row>div:first-child>b{font-size:17px}.platform-company-row b{font-size:14px}.platform-company-row small{color:var(--muted);font-size:10px;overflow-wrap:anywhere}.platform-company-row>.tab{white-space:nowrap}
@media(max-width:900px){.platform-company-row{grid-template-columns:1fr 1fr}.platform-company-row>div:first-child{grid-column:1/-1}.platform-company-row>.tab{grid-column:1/-1}.platform-deletion-counts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.platform-deletion-summary{grid-template-columns:1fr 1fr}.platform-deletion-counts{grid-template-columns:1fr 1fr}.platform-company-row{grid-template-columns:1fr;padding:16px}.platform-company-row>div:first-child,.platform-company-row>.tab{grid-column:1}.platform-deletion-sheet{padding:17px}}

/* v1.0.2-fix05: live Stripe existence verification and safe legacy reference detach */
.platform-stripe-reference-help{margin:0 0 14px;line-height:1.65}.platform-stripe-probe-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.platform-stripe-probe-grid article{display:grid;gap:7px;padding:15px;border:1px solid var(--line);border-radius:14px;background:#fff}.platform-stripe-probe-grid span{color:var(--muted);font-size:10px;font-weight:900}.platform-stripe-probe-grid code{font-size:11px;font-weight:800;overflow-wrap:anywhere}.platform-stripe-probe-grid b{font-size:15px}.platform-stripe-probe-grid small{font-size:11px;line-height:1.6;color:var(--muted)}.platform-stripe-probe-grid .is-missing{border-color:#acd2b7;background:#f0faf3}.platform-stripe-probe-grid .is-missing b{color:#195c31}.platform-stripe-probe-grid .is-found,.platform-stripe-probe-grid .is-invalid{border-color:#e5aaa5;background:#fff1ef}.platform-stripe-probe-grid .is-found b,.platform-stripe-probe-grid .is-invalid b{color:#8f1710}.platform-stripe-probe-grid .is-pending{border-color:#e7d08e;background:#fffaf0}.platform-legacy-stripe-confirm{border-color:#bb4b43}
@media(max-width:650px){.platform-stripe-probe-grid{grid-template-columns:1fr}.platform-section-title-row .top-actions{justify-content:flex-start}}

/* v1.0.2-fix06 ブランド反映・最高管理者UI刷新 */
:root{--misemaru-orange:#ff7800;--misemaru-orange-dark:#df6100;--misemaru-green:#42a915;--misemaru-green-dark:#2d8610;--misemaru-brown:#28170f;--misemaru-warm:#f8f6f1}
.platform-body{background:linear-gradient(180deg,#faf9f6 0,#f2f0eb 100%);color:var(--misemaru-brown)}
.platform-shell{width:min(1480px,calc(100% - 48px))}
.platform-icon{display:inline-grid;place-items:center;flex:0 0 auto;width:1.15em;height:1.15em;line-height:1}
.platform-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.platform-topbar{background:rgba(5,5,5,.98);border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 5px 20px rgba(0,0,0,.16);backdrop-filter:blur(16px)}
.platform-header-inner{min-height:92px;grid-template-columns:270px minmax(0,1fr) auto;gap:28px}
.platform-brand{display:flex;align-items:center;width:270px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;text-align:left}
.platform-brand img{display:block;width:100%;height:72px;object-fit:contain;object-position:left center}
.platform-menu-toggle{display:none;align-items:center;justify-content:center;gap:7px;border:1px solid #343434;border-radius:12px;padding:10px 12px;background:#151515;color:#fff;font-size:12px;font-weight:900;cursor:pointer}
.platform-nav{height:100%;justify-content:center;gap:8px}
.platform-nav button{position:relative;display:flex;align-items:center;gap:7px;min-height:54px;border-radius:0;padding:10px 9px;background:transparent;color:#d2d2ce;font-size:12px;font-weight:900;white-space:nowrap}
.platform-nav button .platform-icon{font-size:18px;color:#aaa}
.platform-nav button::after{content:"";position:absolute;left:9px;right:9px;bottom:-19px;height:3px;border-radius:999px;background:transparent;transform:scaleX(.35);transition:.18s ease}
.platform-nav button:hover{background:transparent;color:#fff}
.platform-nav button:hover .platform-icon{color:#fff}
.platform-nav button.active{background:transparent;color:var(--misemaru-orange)}
.platform-nav button.active .platform-icon{color:var(--misemaru-orange)}
.platform-nav button.active::after{background:var(--misemaru-orange);transform:scaleX(1)}
.platform-account{gap:9px}
.platform-account-chip{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid #3e3e3e;border-radius:999px;background:#111;color:#fff;white-space:nowrap}
.platform-account-chip .platform-icon{color:var(--misemaru-green);font-size:18px}
.platform-account-chip b{max-width:125px;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.platform-logout-button{border:0;background:transparent;color:#aaa;font-size:11px;font-weight:800;cursor:pointer}
.platform-logout-button:hover{color:#fff}

.platform-main{padding:34px 0 90px}
.platform-primary-button,.platform-body .btn:not(.secondary):not(.danger):not(.ok){background:linear-gradient(135deg,var(--misemaru-orange),#ff9000);color:#fff;box-shadow:0 9px 20px rgba(255,120,0,.2)}
.platform-primary-button:hover,.platform-body .btn:not(.secondary):not(.danger):not(.ok):hover{background:linear-gradient(135deg,#ff870d,var(--misemaru-orange));transform:translateY(-1px)}
.platform-body .btn,.platform-body .tab{transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease}
.platform-body .tab:hover{border-color:#bbb;background:#faf9f6}

.platform-login-wrap{background:radial-gradient(circle at 50% 0,#fff 0,#faf6ee 36%,#eeeae1 100%)}
.platform-login-card{width:min(470px,100%);gap:20px;padding:38px;border:1px solid #e6e0d6;border-radius:28px;box-shadow:0 30px 90px rgba(52,32,15,.13)}
.platform-login-logo{display:block;width:min(330px,92%);height:auto;margin:0 auto 2px}
.platform-login-heading{text-align:center}
.platform-login-heading h1{margin:5px 0 8px;font-size:29px;line-height:1.2}
.platform-login-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}
.platform-login-card .input{border-color:#d8d1c7;background:#fffdf9}
.platform-login-card .input:focus{outline:3px solid rgba(255,120,0,.14);border-color:var(--misemaru-orange)}
.platform-mfa-input{text-align:center;font-size:25px;font-weight:900;letter-spacing:.28em}

.platform-dashboard-main{padding-top:30px}
.platform-dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}
.platform-dashboard-title{display:flex;align-items:center;gap:16px}
.platform-title-icon{display:grid;place-items:center;width:58px;height:58px;border:2px solid rgba(255,120,0,.38);border-radius:50%;background:#fff;color:var(--misemaru-orange);box-shadow:0 7px 24px rgba(255,120,0,.09)}
.platform-title-icon .platform-icon{font-size:29px}
.platform-dashboard-title h1{margin:2px 0 6px;font-size:40px;line-height:1.08;letter-spacing:.02em}
.platform-dashboard-title p{margin:0;color:#716b65;font-size:14px}
.platform-dashboard-title .platform-kicker{color:var(--misemaru-green-dark)}
.platform-refresh-button{display:flex;align-items:center;gap:7px;border:1px solid #ddd8cf;border-radius:999px;padding:10px 14px;background:#fff;color:#625e58;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 5px 18px rgba(35,23,12,.045)}
.platform-refresh-button:hover{border-color:#c8c1b7;color:#222}

.platform-dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 14px}
.platform-dashboard-metrics article{display:flex;align-items:center;gap:15px;min-height:132px;padding:21px;background:#fff;border:1px solid #e3ded5;border-radius:20px;box-shadow:0 7px 24px rgba(45,27,10,.055);overflow:hidden}
.platform-dashboard-metrics .metric-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;font-size:25px}
.platform-dashboard-metrics article>div{display:grid;gap:3px;min-width:0}
.platform-dashboard-metrics small{font-size:12px;font-weight:900;color:#5f5b56}
.platform-dashboard-metrics b{font-size:31px;line-height:1.1;white-space:nowrap}
.platform-dashboard-metrics b em{margin-left:4px;font-size:12px;font-style:normal}
.platform-dashboard-metrics article>div>span{color:#918a82;font-size:10px;font-weight:800}
.metric-store .metric-icon,.metric-sales .metric-icon{background:#edf8e8;color:var(--misemaru-green-dark)}
.metric-group .metric-icon,.metric-alert .metric-icon{background:#fff0e1;color:var(--misemaru-orange)}
.platform-dashboard-context{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.platform-dashboard-context>span{display:inline-flex;gap:5px;padding:7px 11px;border:1px solid #e2ddd4;border-radius:999px;background:rgba(255,255,255,.78);color:#777069;font-size:10px;font-weight:800}
.platform-dashboard-context b{color:#30271f}

.platform-dashboard-layout{display:grid;grid-template-columns:350px minmax(460px,1fr) 290px;gap:18px;align-items:stretch}
.platform-onboarding-card,.platform-quick-card,.platform-recent-card{background:#fff;border:1px solid #e2ddd5;border-radius:22px;box-shadow:0 8px 28px rgba(45,27,10,.055)}
.platform-onboarding-card{display:grid;align-content:start;overflow:hidden}
.platform-card-heading{display:flex;align-items:flex-start;gap:11px;padding:21px 20px 15px}
.platform-card-heading.compact{padding-bottom:13px}
.platform-card-heading h2{margin:0 0 4px;font-size:19px}
.platform-card-heading p{margin:0;color:#8b847c;font-size:10px;line-height:1.55}
.heading-dot{width:10px;height:10px;margin-top:6px;border-radius:50%;box-shadow:0 0 0 5px rgba(0,0,0,.035)}
.heading-dot.orange{background:var(--misemaru-orange)}
.heading-dot.green{background:var(--misemaru-green)}
.platform-onboarding-list{display:grid;padding:0 16px 5px}
.platform-onboarding-step{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;width:100%;min-height:70px;border:0;border-top:1px solid #eee9e2;background:#fff;color:inherit;text-align:left;cursor:pointer}
.platform-onboarding-step:first-child{border-top:0}
.platform-onboarding-step:hover{background:#fffaf3}
.platform-onboarding-step .step-number{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,var(--misemaru-orange),#ff9c14);color:#fff;font-size:14px;font-weight:1000;box-shadow:0 5px 14px rgba(255,120,0,.18)}
.platform-onboarding-step:nth-child(odd) .step-number{background:linear-gradient(135deg,var(--misemaru-green),#61bd2d);box-shadow:0 5px 14px rgba(66,169,21,.16)}
.platform-onboarding-step.is-done .step-number{background:#e7f6df;color:var(--misemaru-green-dark);box-shadow:none}
.platform-onboarding-step .step-copy{display:grid;gap:4px;min-width:0}
.platform-onboarding-step .step-copy b{font-size:14px}
.platform-onboarding-step .step-copy small{color:#8a837b;font-size:10px;line-height:1.45}
.platform-onboarding-step>.platform-icon{color:#aaa;font-size:19px}
.platform-onboarding-note{display:flex;align-items:center;gap:8px;margin:10px 15px 16px;padding:10px 11px;border-radius:14px;background:linear-gradient(135deg,#fff9ef,#f5faef);color:#72685e;font-size:10px;font-weight:800;line-height:1.5}
.platform-onboarding-note img{width:58px;height:58px;object-fit:contain;flex:0 0 auto}
.platform-dashboard-center{min-width:0}
.platform-store-panel{height:100%;border-color:#e2ddd5;box-shadow:0 8px 28px rgba(45,27,10,.055)}
.platform-store-panel .platform-panel-head{align-items:center;padding:20px 22px}
.platform-store-panel .platform-panel-head h2{margin:5px 0 4px;font-size:20px}
.platform-section-eyebrow{display:flex;align-items:center;gap:7px;color:var(--misemaru-green-dark);font-size:11px;font-weight:1000}
.platform-section-eyebrow .platform-icon{font-size:16px}
.platform-store-panel .platform-filter-row{grid-template-columns:minmax(180px,1fr) 165px 165px;width:min(660px,100%)}
.platform-store-empty-state{min-height:470px;display:grid;place-items:center;align-content:center;gap:8px;padding:34px;text-align:center;background:radial-gradient(circle at 50% 40%,#fff 0,#fff 32%,#fbfaf7 100%)}
.platform-store-empty-state img{width:145px;height:145px;object-fit:contain;filter:drop-shadow(0 12px 18px rgba(66,169,21,.09));opacity:.92}
.platform-store-empty-state>div{display:grid;justify-items:center;gap:9px;max-width:500px}
.platform-store-empty-state h3{margin:2px 0 0;font-size:22px}
.platform-store-empty-state p{margin:0 0 8px;color:#827b73;font-size:12px;line-height:1.7}
.platform-store-empty-state .btn{display:flex;align-items:center;justify-content:center;gap:8px;min-width:250px;font-size:14px}
.platform-store-row:hover{background:#fffaf3}
.platform-search-empty{display:grid;justify-items:center;gap:7px;padding:56px 20px;color:#8b847d;text-align:center}
.platform-search-empty>.platform-icon{width:50px;height:50px;padding:12px;border-radius:50%;background:#f1eee9;color:#aaa;font-size:25px}
.platform-search-empty b{color:#514b45}
.platform-search-empty span{font-size:11px}

.platform-dashboard-side{display:grid;grid-template-rows:auto 1fr;gap:16px}
.platform-quick-card,.platform-recent-card{overflow:hidden}
.platform-quick-card>button,.platform-quick-card>a{display:grid;grid-template-columns:42px minmax(0,1fr) 18px;align-items:center;gap:11px;width:calc(100% - 28px);min-height:75px;margin:0 14px;border:0;border-top:1px solid #eee9e2;background:#fff;color:inherit;text-align:left;text-decoration:none;cursor:pointer}
.platform-quick-card>button:first-of-type{border-top:0}
.platform-quick-card>button:hover,.platform-quick-card>a:hover{background:#fffaf3}
.quick-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;font-size:19px}
.quick-icon.green{background:#e9f6e3;color:var(--misemaru-green-dark)}
.quick-icon.orange{background:#fff0e2;color:var(--misemaru-orange)}
.platform-quick-card>button>span:nth-child(2),.platform-quick-card>a>span:nth-child(2){display:grid;gap:3px;min-width:0}
.platform-quick-card b{font-size:13px}
.platform-quick-card small{color:#8c857d;font-size:9px;line-height:1.4}
.platform-quick-card>button>.platform-icon,.platform-quick-card>a>.platform-icon{color:#aaa}
.platform-recent-card{display:grid;align-content:start}
.platform-recent-empty{display:grid;justify-items:center;gap:8px;margin:0 14px 15px;padding:25px 14px;border:1px solid #eee9e2;border-radius:16px;background:#fcfbf8;text-align:center}
.platform-recent-empty>.platform-icon{width:52px;height:52px;padding:12px;border-radius:50%;background:#f0ede8;color:#bbb;font-size:28px}
.platform-recent-empty b{font-size:13px}
.platform-recent-empty small{color:#928b83;font-size:9px;line-height:1.5}
.platform-recent-empty .tab{margin-top:3px;font-size:10px}
.platform-mobile-sticky-action{display:none}

.application-brand{min-width:0}
.application-brand>span,.application-brand>b{display:none!important}
.application-brand-logo{display:block;width:190px;height:66px;object-fit:contain;object-position:left center}
.verification-shell>.application-brand .application-brand-logo,.store-portal-shell>.application-brand .application-brand-logo{width:240px;height:auto}
.legal-header .application-brand-logo{width:200px;height:58px}
.maintenance-brand-logo{display:block;width:min(310px,88%);height:auto;margin:0 auto 18px}
.store-portal-symbol{display:block;width:110px;height:110px;object-fit:contain;margin:0 auto 16px}
.reservation-public-brand .misemaru-fallback-symbol{width:48px;height:48px;object-fit:contain;border-radius:12px;background:#fff}
.reservation-loading-logo{display:block;width:95px;height:95px;object-fit:contain;margin:0 auto 12px}

@media(max-width:1300px){
  .platform-header-inner{grid-template-columns:230px minmax(0,1fr) auto;gap:18px}.platform-brand{width:230px}.platform-brand img{height:65px}.platform-nav{gap:3px}.platform-nav button{padding-left:7px;padding-right:7px;font-size:11px}.platform-account-chip{padding:0 10px}.platform-account-chip b{max-width:90px}
  .platform-dashboard-layout{grid-template-columns:315px minmax(430px,1fr) 270px;gap:14px}
}
@media(max-width:1120px){
  .platform-header-inner{grid-template-columns:215px minmax(0,1fr) auto}.platform-brand{width:215px}.platform-nav button span:not(.platform-icon){display:none}.platform-nav button{padding:10px 11px}.platform-nav button .platform-icon{font-size:20px}.platform-nav button::after{bottom:-19px}
  .platform-dashboard-layout{grid-template-columns:310px minmax(0,1fr)}.platform-dashboard-side{grid-column:1/-1;grid-template-columns:1fr 1fr;grid-template-rows:auto}.platform-recent-card{min-height:100%}
}
@media(max-width:900px){
  .platform-shell{width:calc(100% - 28px)}
  .platform-header-inner{position:relative;min-height:76px;grid-template-columns:minmax(0,1fr) auto;gap:12px}.platform-brand{display:flex;width:220px}.platform-brand img{height:62px}.platform-menu-toggle{display:flex}.platform-nav{position:absolute;left:0;right:0;top:76px;display:none;height:auto;grid-template-columns:1fr 1fr;gap:5px;padding:12px;border:1px solid #2c2c2c;border-top:0;border-radius:0 0 18px 18px;background:#090909;box-shadow:0 18px 32px rgba(0,0,0,.32)}.platform-topbar.nav-open .platform-nav{display:grid}.platform-nav button{justify-content:flex-start;min-height:48px;border-radius:11px;padding:10px 12px}.platform-nav button span:not(.platform-icon){display:inline}.platform-nav button::after{display:none}.platform-nav button.active{background:#24170c;color:var(--misemaru-orange)}.platform-account{position:absolute;left:0;right:0;top:calc(76px + 300px);display:none;align-items:center;justify-content:space-between;padding:11px 12px;border-radius:0 0 18px 18px;background:#090909}.platform-topbar.nav-open .platform-account{display:flex}.platform-account-chip{border:0;background:transparent;padding:0}.platform-logout-button{padding:8px 10px;border:1px solid #444;border-radius:999px;color:#ddd}.platform-topbar.nav-open{margin-bottom:53px}
  .platform-dashboard-metrics{grid-template-columns:1fr 1fr}.platform-dashboard-layout{grid-template-columns:1fr}.platform-dashboard-side{grid-column:auto;grid-template-columns:1fr 1fr}.platform-onboarding-card{order:1}.platform-dashboard-center{order:2}.platform-dashboard-side{order:3}.platform-store-empty-state{min-height:380px}
}
@media(max-width:650px){
  .platform-shell{width:calc(100% - 20px)}.platform-header-inner{min-height:70px}.platform-brand{width:185px}.platform-brand img{height:54px}.platform-menu-toggle{padding:9px 10px}.platform-menu-toggle span{display:none}.platform-nav{top:70px;grid-template-columns:1fr;padding:10px}.platform-nav button{min-height:44px}.platform-account{top:calc(70px + 350px)}.platform-topbar.nav-open{margin-bottom:50px}
  .platform-dashboard-main{padding-top:23px;padding-bottom:110px}.platform-dashboard-hero{align-items:flex-start}.platform-dashboard-title{align-items:flex-start;gap:11px}.platform-title-icon{width:44px;height:44px}.platform-title-icon .platform-icon{font-size:23px}.platform-dashboard-title h1{font-size:31px}.platform-dashboard-title p{font-size:12px;line-height:1.6}.platform-dashboard-title .platform-kicker{font-size:9px}.platform-refresh-button{width:42px;height:42px;justify-content:center;padding:0}.platform-refresh-button span{display:none}
  .platform-dashboard-metrics{gap:9px}.platform-dashboard-metrics article{min-height:112px;display:grid;grid-template-columns:auto 1fr;gap:10px;padding:15px 13px;border-radius:17px}.platform-dashboard-metrics .metric-icon{width:40px;height:40px;font-size:20px}.platform-dashboard-metrics b{font-size:24px}.platform-dashboard-metrics small{font-size:10px}.platform-dashboard-metrics article>div>span{font-size:8px}.platform-dashboard-context{gap:5px;margin-bottom:14px}.platform-dashboard-context>span{padding:6px 8px;font-size:9px}
  .platform-dashboard-layout{gap:13px}.platform-card-heading{padding:18px 16px 12px}.platform-onboarding-list{padding:0 12px 4px}.platform-onboarding-step{grid-template-columns:35px minmax(0,1fr) 18px;min-height:67px}.platform-onboarding-step .step-copy b{font-size:14px}.platform-onboarding-step .step-copy small{font-size:9px}.platform-onboarding-note{margin:8px 12px 13px}.platform-onboarding-note img{width:46px;height:46px}
  .platform-store-panel .platform-panel-head{padding:18px 16px}.platform-store-panel .platform-filter-row{grid-template-columns:1fr}.platform-store-empty-state{min-height:330px;padding:24px 16px}.platform-store-empty-state img{width:105px;height:105px}.platform-store-empty-state h3{font-size:19px}.platform-store-empty-state p{font-size:11px}.platform-store-empty-state .btn{min-width:0;width:100%}
  .platform-dashboard-side{grid-template-columns:1fr}.platform-quick-card>button,.platform-quick-card>a{min-height:68px}.platform-recent-card{display:none}
  .platform-mobile-sticky-action{position:fixed;left:0;right:0;bottom:0;z-index:25;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(110px,.7fr);gap:8px;padding:10px max(10px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));border-top:1px solid #e0d9cf;background:rgba(255,255,255,.96);box-shadow:0 -10px 30px rgba(51,31,14,.12);backdrop-filter:blur(14px)}.platform-mobile-sticky-action .btn,.platform-mobile-sticky-action .tab{display:flex;align-items:center;justify-content:center;gap:6px;min-height:52px;padding:10px;font-size:12px}.platform-mobile-sticky-action .tab{border-radius:14px;font-weight:900}
  .platform-login-card{padding:28px 20px}.platform-login-logo{width:min(300px,95%)}.platform-login-heading h1{font-size:25px}
  .application-brand-logo{width:155px;height:56px}.legal-header .application-brand-logo{width:170px;height:52px}
}
@media(max-width:650px){.platform-menu-toggle .platform-icon,.platform-refresh-button .platform-icon{display:inline-grid!important;width:22px;height:22px;font-size:22px}.platform-menu-toggle .platform-icon{color:#fff}.platform-refresh-button .platform-icon{color:#625e58}}

/* platform admin unified side layout */
.platform-page-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.platform-page-main{display:grid;gap:18px}.platform-page-aside{display:grid;gap:18px;position:sticky;top:108px}.platform-side-card{display:grid;gap:14px;padding:18px;border:1px solid var(--line,#ddd);border-radius:20px;background:linear-gradient(180deg,#fff 0,#faf8f2 100%);box-shadow:0 10px 30px rgba(0,0,0,.05)}.platform-side-card-head{display:flex;align-items:center;gap:10px}.platform-side-card-head h3{margin:0;font-size:17px}.platform-side-dot{width:12px;height:12px;border-radius:999px;display:inline-block;flex:0 0 auto}.platform-side-dot.green{background:#3f8f5d}.platform-side-dot.orange{background:#d67d1f}.platform-side-list,.platform-side-link-list{display:grid;gap:10px}.platform-side-list article{display:grid;gap:4px;padding:12px 13px;border:1px solid #ece7dc;border-radius:14px;background:#fff}.platform-side-list b{font-size:13px}.platform-side-list small{color:var(--muted,#677);line-height:1.65}.platform-side-link-list .tab,.platform-side-link-list .btn{justify-content:center;text-align:center;text-decoration:none}.platform-side-link-list .tab.full{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;padding:10px 14px;border-radius:12px;border:1px solid var(--line,#ddd);background:#fff;color:inherit;font-size:12px;font-weight:900}.platform-step-list{display:grid;gap:10px;margin:0;padding-left:20px}.platform-step-list li{display:grid;gap:3px;padding-left:2px}.platform-step-list b{font-size:13px}.platform-step-list small{color:var(--muted,#677);line-height:1.6}.platform-company-row span{font-size:11px;font-weight:900;color:var(--muted,#677)}.platform-company-row b+small{display:block}.platform-log-list article{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,.7fr);gap:16px;align-items:start;padding:16px 18px;border-top:1px solid var(--line,#eceae3)}.platform-log-list article:first-child{border-top:0}.platform-log-list article>div{display:grid;gap:4px}.platform-log-list span{font-weight:800}.platform-log-list small{color:var(--muted,#677);font-size:11px;line-height:1.6}
@media(max-width:1100px){.platform-page-grid{grid-template-columns:1fr}.platform-page-aside{position:static;grid-template-columns:1fr 1fr}.platform-log-list article{grid-template-columns:1fr}}
@media(max-width:760px){.platform-page-aside{grid-template-columns:1fr}.platform-side-card{padding:16px;border-radius:18px}.platform-log-list article{padding:14px 15px}}


.login-brand-block{display:grid;justify-items:center;gap:8px;margin-bottom:12px;text-align:center}.login-brand-logo{display:block;width:min(270px,92%);height:auto;margin:0 auto}.login-brand-subtitle{margin:0;color:var(--muted);font-size:13px;font-weight:800}.account-brand-block{display:grid;gap:14px;justify-items:center;text-align:center;margin-bottom:4px}.account-brand-block .brand{font-size:26px;letter-spacing:.02em}@media(max-width:600px){.login-brand-logo{width:min(230px,94%)}}


/* fix09 admin polish */
.platform-metrics{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}
.platform-metrics article{min-height:118px;padding:19px 20px;border-color:#e4e1d8;border-radius:20px;background:linear-gradient(180deg,#fff 0,#fbfaf7 100%);box-shadow:0 10px 26px rgba(0,0,0,.04)}
.platform-metrics b{letter-spacing:-.02em}
.platform-panel-head{align-items:flex-start}
.platform-page-grid{grid-template-columns:minmax(0,1fr) 340px;gap:22px}
.platform-side-card{padding:20px;border-color:#e8dfcf;border-radius:22px;background:linear-gradient(180deg,#fff 0,#fcf8ef 100%);box-shadow:0 14px 34px rgba(0,0,0,.05)}
.platform-side-card-head{align-items:flex-start}.platform-side-card-head h3{line-height:1.35}
.platform-side-list article{padding:13px 14px;border-color:#ece4d5;border-radius:15px;background:rgba(255,255,255,.96)}
.platform-side-link-list .tab.full{min-height:46px;border-radius:13px;font-size:13px;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.platform-side-link-list .tab.full:hover{background:#fff9ef;border-color:#dfceb1;transform:translateY(-1px)}
.platform-empty{padding:30px 20px;min-height:110px;line-height:1.7}
.platform-stripe-warning{margin:8px 24px 20px;padding:14px 16px;border-radius:14px;border:1px solid #ead89a;background:#fff6d8}
.platform-application-dl>div{grid-template-columns:145px 1fr;gap:18px;padding:12px 4px}
.platform-application-dl dd{line-height:1.65}
.platform-stripe-settings{padding:0 24px 24px}
.platform-stripe-event-list article{padding:16px 24px}
.platform-stripe-event-list article:nth-child(odd){background:#fcfcfa}
.platform-stripe-event-list article p{padding:10px 12px;border-radius:10px}
.operations-settings-form,.operations-announcement-form{padding:22px 24px 24px;gap:20px}
.operations-settings-form .platform-form-grid label,.operations-announcement-form .platform-form-grid label{padding:12px 14px;border:1px solid #ece7dd;border-radius:15px;background:#fcfcfa}
.operations-settings-form .platform-form-grid label small,.operations-announcement-form .platform-form-grid label small{line-height:1.65;color:#78736a}
.operations-settings-form .platform-grid-wide,.operations-announcement-form .platform-grid-wide{padding:0!important;border:0!important;background:transparent!important}
.operations-legal-links{padding-top:2px}
.operations-announcement-list,.operations-backup-list,.operations-error-list,.operations-lifecycle-list{padding:0 24px 24px;gap:14px;margin-top:0}
.operations-announcement{padding:18px;border-color:#e6e0d8;border-radius:18px;background:linear-gradient(180deg,#fff 0,#fcfbf8 100%)}
.operations-backup-list article,.operations-lifecycle-list article{padding:16px 18px;border:1px solid #e8e2d7;border-radius:18px;background:linear-gradient(180deg,#fff 0,#fcfbf8 100%)}
.operations-backup-list article>span:last-child,.operations-lifecycle-list article>span:last-child{align-items:flex-end}
.operations-scan-result{margin:0 24px 24px;padding:20px;border-radius:18px}
.operations-error-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;padding:18px;border:1px solid #efd4d4;border-radius:18px;background:linear-gradient(180deg,#fff 0,#fff9f9 100%)}
.operations-error-list article.resolved{opacity:1;border-color:#d4e8d8;background:linear-gradient(180deg,#fbfefc 0,#f4fbf6 100%)}
.operations-error-list article>div{gap:6px}
.operations-error-list b{font-size:15px;line-height:1.35}
.operations-error-list small{line-height:1.65;color:#6d6d68}
.operations-error-list p{margin:2px 0 0;line-height:1.75;color:#352f2d}
.operations-error-list code{display:inline-block;margin-top:2px;padding:8px 10px;border:1px solid #ebe5dd;border-radius:10px;background:#fff;font-size:11px;color:#5d5650}
.operations-error-list .tab,.operations-error-list .pill{align-self:start}
@media(max-width:1100px){.platform-page-grid{grid-template-columns:1fr}.platform-page-aside{position:static;grid-template-columns:1fr 1fr}}
@media(max-width:760px){.platform-page-aside{grid-template-columns:1fr}.platform-side-card{padding:16px;border-radius:18px}.platform-stripe-warning{margin:8px 16px 16px}.operations-settings-form,.operations-announcement-form{padding:18px}.operations-announcement-list,.operations-backup-list,.operations-error-list,.operations-lifecycle-list{padding:0 18px 18px}.operations-scan-result{margin:0 18px 18px}.operations-error-list article{grid-template-columns:1fr}}
@media(max-width:650px){.platform-metrics{grid-template-columns:1fr 1fr}.platform-metrics article{min-height:108px;padding:15px}.platform-application-dl>div{grid-template-columns:1fr;gap:4px}.platform-stripe-settings{padding:0 16px 16px}.platform-stripe-event-list article{padding:15px 16px}}
@media(max-width:520px){.platform-metrics{grid-template-columns:1fr}.operations-backup-list article,.operations-lifecycle-list article{padding:14px 15px}}

/* fix10 compact application error history */
.operations-errors-panel{scroll-margin-top:100px}
.operations-error-counts{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.operations-error-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 24px;border-bottom:1px solid #eee8dd;background:#fcfbf8}
.operations-error-filters{display:flex;gap:8px;flex-wrap:wrap}
.operations-error-filters .tab{min-height:38px;padding:8px 14px;background:#fff}
.operations-error-filters .tab.active{border-color:#222;background:#222;color:#fff}
.operations-error-range{color:var(--muted);font-size:11px;font-weight:900;white-space:nowrap}
.operations-errors-panel .operations-error-list{display:grid;gap:10px;margin:0;padding:16px 24px 8px}
.operations-errors-panel .operations-error-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;align-items:stretch;padding:0;overflow:hidden;border:1px solid #efd6d3;border-radius:16px;background:linear-gradient(180deg,#fff 0,#fff9f8 100%)}
.operations-errors-panel .operations-error-list article.resolved{border-color:#d7e8db;background:linear-gradient(180deg,#fff 0,#f6fbf7 100%)}
.operations-error-details{min-width:0}
.operations-error-details>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;min-height:76px;padding:14px 16px;cursor:pointer;list-style:none}
.operations-error-details>summary::-webkit-details-marker{display:none}
.operations-error-details>summary>span{display:grid;gap:4px;min-width:0}
.operations-error-details>summary b{font-size:14px;line-height:1.35}
.operations-error-details>summary small{color:#77726b;font-size:10px;line-height:1.55;overflow-wrap:anywhere}
.operations-error-details>summary i{font-style:normal;color:#7c746a;font-size:11px;font-weight:900;white-space:nowrap}
.operations-error-details[open]>summary i{color:#b35b3d}
.operations-error-preview{display:block;min-width:0;color:#4f4944;font-size:11px;font-style:normal;line-height:1.55;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.operations-error-details[open] .operations-error-preview{display:none}
.operations-error-expanded{display:grid;gap:10px;padding:13px 16px 16px;border-top:1px solid rgba(0,0,0,.07);background:rgba(255,255,255,.72)}
.operations-error-expanded p{margin:0;color:#302c29;font-size:12px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.operations-error-expanded code{display:block;padding:9px 11px;border:1px solid #ece6dc;border-radius:10px;background:#fff;color:#5f5851;font-size:10px;line-height:1.55;overflow-wrap:anywhere}
.operations-error-action{display:flex;align-items:center;justify-content:center;padding:12px 14px;border-left:1px solid rgba(0,0,0,.07)}
.operations-error-action .tab{min-width:112px;min-height:38px;background:#fff;font-size:11px;font-weight:900}
.operations-error-action .pill{white-space:nowrap}
.operations-error-pager{display:flex;align-items:center;justify-content:center;gap:12px;min-height:58px;padding:10px 24px 18px}
.operations-error-pager:empty{display:none}
.operations-error-pager span{color:#716b63;font-size:11px;font-weight:900}
.operations-error-pager .tab{min-width:78px;background:#fff}
.operations-error-pager .tab:disabled{opacity:.35;cursor:default}
.operations-error-empty{min-height:140px;display:grid;place-items:center}
@media(max-width:760px){
  .operations-error-counts{justify-content:flex-start}
  .operations-error-toolbar{align-items:flex-start;flex-direction:column;padding:13px 18px}
  .operations-errors-panel .operations-error-list{padding:14px 18px 6px}
  .operations-errors-panel .operations-error-list article{grid-template-columns:1fr}
  .operations-error-details>summary{min-height:0;padding:14px}
  .operations-error-action{justify-content:flex-start;padding:10px 14px 14px;border-top:1px solid rgba(0,0,0,.07);border-left:0}
  .operations-error-action .tab{width:100%}
}
@media(max-width:520px){
  .operations-error-filters{display:grid;grid-template-columns:repeat(3,1fr);width:100%}
  .operations-error-filters .tab{padding-inline:8px}
  .operations-error-details>summary{grid-template-columns:1fr}
  .operations-error-details>summary i{justify-self:start}
  .operations-error-pager{padding-inline:14px}
}

/* fix11 compact searchable audit log */
.platform-audit-panel{scroll-margin-top:100px}
.platform-audit-counts{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.platform-audit-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 24px;border-bottom:1px solid #eee8dd;background:#fcfbf8}
.platform-audit-controls{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
.platform-audit-filters{display:flex;gap:8px;flex-wrap:wrap;flex:0 0 auto}
.platform-audit-filters .tab{min-height:38px;padding:8px 14px;background:#fff}
.platform-audit-filters .tab.active{border-color:#222;background:#222;color:#fff}
.platform-audit-search{max-width:390px;min-height:40px;background:#fff}
.platform-audit-range{color:var(--muted);font-size:11px;font-weight:900;white-space:nowrap}
.platform-audit-list{display:grid;gap:10px;padding:16px 24px 8px}
.platform-audit-list>article{overflow:hidden;border:1px solid #e5e0d6;border-radius:16px;background:linear-gradient(180deg,#fff 0,#fcfbf8 100%)}
.platform-audit-details>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;min-height:82px;padding:15px 17px;cursor:pointer;list-style:none}
.platform-audit-details>summary::-webkit-details-marker{display:none}
.platform-audit-main{display:grid;gap:4px;min-width:0}
.platform-audit-main b{font-size:14px;line-height:1.4}
.platform-audit-main small{color:#77726b;font-size:10px;line-height:1.55;overflow-wrap:anywhere}
.platform-audit-main em{display:block;min-width:0;color:#4f4944;font-size:11px;font-style:normal;font-weight:800;line-height:1.55;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.platform-audit-summary-side{display:grid;justify-items:end;gap:8px}
.platform-audit-summary-side strong{color:#746d65;font-size:11px;white-space:nowrap}
.platform-audit-details[open] .platform-audit-summary-side strong{color:#b35b3d}
.platform-audit-expanded{display:grid;gap:14px;padding:16px 17px 18px;border-top:1px solid rgba(0,0,0,.07);background:rgba(255,255,255,.76)}
.platform-audit-expanded dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
.platform-audit-expanded dl>div{display:grid;gap:4px;padding:11px 12px;border:1px solid #ebe5dc;border-radius:11px;background:#fff}
.platform-audit-expanded dl>div.wide{grid-column:1/-1}
.platform-audit-expanded dt{color:#7b746c;font-size:10px;font-weight:900}
.platform-audit-expanded dd{margin:0;color:#332f2b;font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.platform-audit-json{display:grid;gap:7px}
.platform-audit-json>b{font-size:11px}
.platform-audit-json pre{max-height:320px;margin:0;padding:12px 13px;overflow:auto;border:1px solid #e7e1d8;border-radius:11px;background:#171717;color:#f5f3ed;font:11px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.platform-audit-no-data{padding:12px 13px;border-radius:11px;background:#f3f1ec;color:#746e66;font-size:11px}
.platform-audit-pager{display:flex;align-items:center;justify-content:center;gap:12px;min-height:60px;padding:10px 24px 18px}
.platform-audit-pager:empty{display:none}
.platform-audit-pager span{color:#716b63;font-size:11px;font-weight:900}
.platform-audit-pager .tab{min-width:78px;background:#fff}
.platform-audit-pager .tab:disabled{opacity:.35;cursor:default}
.platform-audit-empty{min-height:150px;display:grid;place-items:center}
@media(max-width:760px){
  .platform-audit-counts{justify-content:flex-start}
  .platform-audit-toolbar{align-items:flex-start;flex-direction:column;padding:13px 18px}
  .platform-audit-controls{align-items:stretch;flex-direction:column;width:100%}
  .platform-audit-search{max-width:none}
  .platform-audit-list{padding:14px 18px 6px}
  .platform-audit-expanded dl{grid-template-columns:1fr}
  .platform-audit-expanded dl>div.wide{grid-column:auto}
}
@media(max-width:520px){
  .platform-audit-filters{display:grid;grid-template-columns:repeat(3,1fr);width:100%}
  .platform-audit-filters .tab{padding-inline:7px}
  .platform-audit-details>summary{grid-template-columns:1fr;gap:10px;min-height:0;padding:14px}
  .platform-audit-summary-side{display:flex;align-items:center;justify-content:space-between}
  .platform-audit-expanded{padding:14px}
  .platform-audit-pager{padding-inline:14px}
}


/* fix12 contract/demo create card polish */
.platform-demo-create-card{padding-bottom:0}
.platform-demo-create-card .platform-panel-head{align-items:center}
.platform-demo-create-body{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:28px;align-items:center;padding:26px 28px 28px;background:linear-gradient(135deg,#fff 0,#fffaf2 100%)}
.platform-demo-create-intro{display:grid;grid-template-columns:82px minmax(0,1fr);gap:20px;align-items:center;min-width:0}
.platform-demo-create-symbol{display:grid;place-items:center;width:82px;height:82px;border:1px solid #f0d7b5;border-radius:24px;background:linear-gradient(145deg,#fff7e9,#fff);box-shadow:0 12px 26px rgba(157,92,14,.09)}
.platform-demo-create-symbol img{display:block;width:66px;height:66px;object-fit:contain}
.platform-demo-create-intro h3{margin:0 0 7px;font-size:20px;line-height:1.35}
.platform-demo-create-intro p{max-width:620px;margin:0;color:var(--muted);font-size:13px;line-height:1.75}
.platform-demo-feature-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.platform-demo-feature-list span{display:inline-flex;align-items:center;min-height:30px;padding:6px 11px;border:1px solid #eadbc7;border-radius:999px;background:#fff;color:#66594a;font-size:11px;font-weight:900}
.platform-demo-create-action{display:grid;gap:12px;align-content:center;padding:18px;border:1px solid #eadbc8;border-radius:18px;background:rgba(255,255,255,.88);box-shadow:0 10px 24px rgba(50,35,18,.045)}
.platform-demo-create-action small{color:#786f65;font-size:11px;line-height:1.7}
.platform-demo-create-action .btn{width:100%;min-height:52px;padding:14px 18px;border-radius:15px;font-size:15px}
@media(max-width:900px){.platform-demo-create-body{grid-template-columns:1fr}.platform-demo-create-action{grid-template-columns:minmax(0,1fr) auto;align-items:center}.platform-demo-create-action .btn{width:auto;min-width:220px}}
@media(max-width:650px){.platform-demo-create-body{gap:20px;padding:20px 18px 22px}.platform-demo-create-intro{grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:start}.platform-demo-create-symbol{width:64px;height:64px;border-radius:19px}.platform-demo-create-symbol img{width:52px;height:52px}.platform-demo-create-intro h3{font-size:17px}.platform-demo-create-intro p{font-size:12px}.platform-demo-create-action{grid-template-columns:1fr;padding:15px}.platform-demo-create-action .btn{width:100%;min-width:0}.platform-demo-feature-list{gap:6px}.platform-demo-feature-list span{font-size:10px}}

/* fix13 store admin unified design */
.store-admin-body{--misemaru-orange:#ff7a00;--misemaru-orange-dark:#d85d00;--misemaru-green:#55a765;--store-warm:#f4f1ea;--store-card:#fff;min-height:100vh;background:radial-gradient(circle at 50% 0,#fff 0,#f7f4ed 35%,#efede6 100%)}
.store-admin-body .wrap{max-width:1180px}
.store-admin-body .topbar{z-index:25;background:rgba(7,7,7,.98);color:#fff;border-bottom:1px solid rgba(255,255,255,.1);box-shadow:0 6px 22px rgba(0,0,0,.15);backdrop-filter:blur(16px)}
.store-admin-body .topbar .wrap{display:flex;align-items:center;gap:18px;min-height:82px;padding-top:10px;padding-bottom:10px}
.store-admin-body .topbar .wrap::before{content:"";display:block;width:185px;height:58px;flex:0 0 185px;background:url('/assets/brand/misemaru-header-logo.webp') left center/contain no-repeat}
.store-admin-body .topbar .wrap>*:first-child:not(.top-actions){min-width:0;flex:1}
.store-admin-body .topbar .brand{color:#fff;font-size:20px;letter-spacing:.02em}
.store-admin-body .topbar .sub{color:#aaa79f;font-size:11px}
.store-admin-body .topbar .top-actions{margin-left:auto;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end}
.store-admin-body .topbar .tab,.store-admin-body .topbar .state-btn{border-color:#444;background:#171717;color:#e8e6df}
.store-admin-body .topbar .tab:hover,.store-admin-body .topbar .state-btn:hover{border-color:#666;background:#242424}
.store-admin-body .topbar .btn{background:var(--misemaru-orange)}
.store-admin-body .topbar .btn.secondary{background:#262626;color:#fff}
.store-admin-body .store-identity{gap:10px;color:#fff}
.store-admin-body .store-identity-copy{display:grid;gap:2px;min-width:0}
.store-admin-body .store-identity-copy .brand{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.store-admin-body .store-logo-small{width:46px;height:46px;border-color:#414141;background:#fff}
.store-admin-body .store-switch-indicator{border-color:#515151;background:#191919;color:#ddd}
.store-admin-body .store-identity-button:hover .brand{text-decoration:none;color:#ffad5f}
.store-admin-body main.wrap{padding-top:26px;padding-bottom:70px}
.store-admin-body .card{border-color:#e1ded6;border-radius:20px;box-shadow:0 10px 30px rgba(0,0,0,.045)}
.store-admin-body .btn{background:var(--misemaru-orange);box-shadow:0 7px 18px rgba(255,122,0,.18)}
.store-admin-body .btn:hover{background:var(--misemaru-orange-dark)}
.store-admin-body .btn.secondary{background:#ecebe6;color:#171717;box-shadow:none}
.store-admin-body .btn.ok{background:var(--misemaru-green)}
.store-admin-body .btn.danger{background:var(--danger)}
.store-admin-body .input:focus{outline:3px solid rgba(255,122,0,.12);border-color:#e59a58}
.store-admin-body .state-btn,.store-admin-body .tab{transition:background .18s ease,border-color .18s ease,transform .18s ease}
.store-admin-body .state-btn:hover,.store-admin-body .tab:hover{transform:translateY(-1px)}
.store-admin-body .ops-tabs{top:92px;background:rgba(244,241,234,.94);backdrop-filter:blur(12px)}

.store-home-page{display:grid;gap:20px}
.store-home-hero{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:end;padding:18px 2px 6px}
.store-home-kicker{display:inline-block;color:#6f6a62;font-size:11px;font-weight:1000;letter-spacing:.18em}
.store-home-hero h1{margin:7px 0 9px;font-size:clamp(34px,4.4vw,54px);line-height:1.04;letter-spacing:-.04em}
.store-home-hero p{max-width:720px;margin:0;color:#716d66;line-height:1.75}
.store-home-hero-status{display:grid;gap:6px;padding:20px;border:1px solid #e6dac8;border-radius:22px;background:linear-gradient(145deg,#fff8ec,#fff);box-shadow:0 14px 36px rgba(0,0,0,.055)}
.store-home-hero-status span{width:max-content;padding:5px 10px;border-radius:999px;background:#e9f7ed;color:#26723d;font-size:11px;font-weight:1000}
.store-home-hero-status b{font-size:19px}.store-home-hero-status small{color:#77716a;line-height:1.6}
.store-home-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.store-home-metrics article{display:grid;gap:5px;min-height:118px;padding:18px 19px;border:1px solid #e3dfd6;border-radius:20px;background:linear-gradient(180deg,#fff 0,#fbfaf7 100%);box-shadow:0 9px 25px rgba(0,0,0,.04)}
.store-home-metrics span{color:#79756e;font-size:11px;font-weight:900}.store-home-metrics b{font-size:24px;line-height:1.25}.store-home-metrics small{margin-top:auto;color:#969087;font-size:10px;line-height:1.55}
.store-home-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}
.store-home-main{display:grid;gap:18px}.store-home-aside{display:grid;gap:16px;position:sticky;top:106px}
.store-home-business{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:23px 25px;border:0;border-radius:22px;background:linear-gradient(135deg,#151515,#28231e);color:#fff;text-align:left;cursor:pointer;box-shadow:0 18px 42px rgba(0,0,0,.14)}
.store-home-business:hover{transform:translateY(-1px);box-shadow:0 22px 48px rgba(0,0,0,.18)}
.store-home-business.is-disabled{opacity:.58;cursor:default}
.store-home-business-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:var(--misemaru-orange);color:#fff}
.store-home-business-copy{display:grid;gap:3px}.store-home-business-copy small{color:#ffb877;font-size:10px;font-weight:1000;letter-spacing:.14em}.store-home-business-copy b{font-size:23px}.store-home-business-copy em{color:#cbc5bc;font-size:12px;font-style:normal;line-height:1.6}
.store-home-business-state{padding:7px 11px;border:1px solid #4b463f;border-radius:999px;background:#24211e;color:#f2d8bd;font-size:11px;font-weight:900}.store-home-business-arrow{font-size:34px;color:#ff9a3c}
.store-ui-icon{display:block;width:25px;height:25px}
.store-home-section{overflow:hidden;border:1px solid #dfdcd4;border-radius:22px;background:#fff;box-shadow:0 12px 32px rgba(0,0,0,.045)}
.store-home-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:21px 23px;border-bottom:1px solid #ece8df;background:#fff}
.store-home-section-head>div{display:grid;gap:3px}.store-home-section-head span{color:#9b6b3f;font-size:10px;font-weight:1000;letter-spacing:.15em}.store-home-section-head h2{margin:0;font-size:21px}.store-home-section-head p{margin:0;color:#827d75;font-size:11px;line-height:1.6}.store-home-section-head>b{color:#8d877f;font-size:11px}
.store-home-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;background:#fff}
.store-home-action{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:center;min-height:96px;padding:17px 18px;border:1px solid #e5e1d8;border-radius:15px;background:#fff;color:#171717;text-align:left;text-decoration:none;cursor:pointer}
.store-home-action:hover{background:#fff8ee}.store-home-action.emphasis{background:#f6f8ff}.store-home-action.emphasis:hover{background:#edf1ff}
.store-home-action-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:#fff2e4;color:#c75e00}.store-home-action.emphasis .store-home-action-icon{background:#eaf0ff;color:#3155a5}
.store-home-action-copy{display:grid;gap:4px}.store-home-action-copy b{font-size:15px}.store-home-action-copy small{color:#77726a;font-size:11px;line-height:1.5}.store-home-action-arrow{color:#aaa39a;font-size:25px}
.store-home-side-card{display:grid;gap:14px;padding:18px;border:1px solid #e7ddce;border-radius:21px;background:linear-gradient(180deg,#fff 0,#fbf7ef 100%);box-shadow:0 12px 30px rgba(0,0,0,.045)}
.store-home-side-head{display:flex;align-items:center;gap:9px}.store-home-side-head span{width:11px;height:11px;border-radius:999px}.store-home-side-head span.green{background:var(--misemaru-green)}.store-home-side-head span.orange{background:var(--misemaru-orange)}.store-home-side-head h2{margin:0;font-size:17px}
.store-home-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.store-home-quick-grid button{display:grid;justify-items:center;gap:7px;min-height:82px;padding:12px 8px;border:1px solid #e3ded4;border-radius:14px;background:#fff;color:#222;font-size:11px;font-weight:900;cursor:pointer}.store-home-quick-grid button:hover{border-color:#efc08f;background:#fff9f1}.store-home-quick-grid .store-ui-icon{width:22px;height:22px;color:#d06405}
.store-home-next{display:grid;gap:8px;padding:14px;border:1px solid #eadfce;border-radius:15px;background:#fff}.store-home-next b{font-size:15px}.store-home-next p{margin:0;color:#766f67;font-size:12px;line-height:1.7}.store-home-next .btn{margin-top:3px}
/* v1.2.0-fix202 store-home help guide link */
.store-home-help-list{display:grid;gap:8px}.store-home-help-list button,.store-home-help-list .store-home-help-link{min-height:42px;padding:10px 12px;border:1px solid #e2ddd3;border-radius:12px;background:#fff;color:#222;font-size:12px;font-weight:900;cursor:pointer;display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;box-sizing:border-box;font-family:inherit;line-height:1.35}.store-home-help-list button:hover,.store-home-help-list .store-home-help-link:hover{background:#fff8ef;border-color:#e8bb88}.store-home-help-list .store-home-help-link span{margin-left:4px;font-size:11px}
.store-home-alert{display:grid;gap:5px;border:1px solid #edc98b;background:#fff7e2}.store-home-alert span{font-size:12px;line-height:1.65}

@media(max-width:1040px){.store-admin-body .topbar .wrap::before{width:155px;flex-basis:155px}.store-home-layout{grid-template-columns:1fr}.store-home-aside{position:static;grid-template-columns:repeat(3,minmax(0,1fr))}.store-home-hero{grid-template-columns:1fr 280px}.store-home-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.store-admin-body .topbar .wrap{min-height:72px;gap:10px}.store-admin-body .topbar .wrap::before{width:48px;height:48px;flex-basis:48px;background-image:url('/assets/brand/misemaru-symbol.webp')}.store-admin-body .topbar .top-actions{gap:5px}.store-admin-body .topbar .tab,.store-admin-body .topbar .state-btn{padding:8px 10px;font-size:11px}.store-admin-body .store-identity .store-logo-small{display:none}.store-admin-body .store-identity-copy .brand{font-size:17px}.store-admin-body .store-identity-copy .sub{font-size:9px}.store-admin-body main.wrap{padding-top:18px}.store-home-hero{grid-template-columns:1fr}.store-home-hero h1{font-size:35px}.store-home-hero-status{padding:16px}.store-home-aside{grid-template-columns:1fr}.store-home-action-grid{grid-template-columns:1fr}.store-home-business{grid-template-columns:auto minmax(0,1fr) auto;padding:19px}.store-home-business-state{grid-column:2;justify-self:start}.store-home-business-arrow{grid-column:3;grid-row:1/3}.store-home-section-head{align-items:flex-start;padding:18px}.store-home-metrics{gap:8px}.store-home-metrics article{min-height:104px;padding:15px}.store-admin-body .ops-tabs{top:81px}}
@media(max-width:480px){.store-admin-body .topbar .wrap::before{width:42px;height:42px;flex-basis:42px}.store-admin-body .topbar .wrap{padding-left:10px;padding-right:10px}.store-admin-body .store-switch-indicator{display:none}.store-home-metrics{grid-template-columns:1fr 1fr}.store-home-metrics b{font-size:19px}.store-home-business-icon{width:48px;height:48px}.store-home-business-copy b{font-size:19px}.store-home-quick-grid{grid-template-columns:1fr 1fr}}

/* fix14 application history cleanup */
.platform-application-history-note{margin:18px 0 0;padding:14px 16px;border:1px solid #dedbd3;border-radius:14px;background:#f6f5f1;color:#5f5b54;line-height:1.7}.platform-application-history-note b{color:#2f2d29}

/* fix15 group-first store provisioning */
.platform-group-flow-box{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.75fr);gap:18px;align-items:center;margin-bottom:18px;padding:17px 18px;border:1px solid #dfceb1;border-radius:17px;background:linear-gradient(135deg,#fffaf0 0,#fff 100%)}
.platform-group-flow-box>div{display:grid;gap:5px}.platform-group-flow-box b{font-size:15px}.platform-group-flow-box small{color:var(--muted);font-size:11px;line-height:1.65}
.platform-company-mode-fields{margin-bottom:4px;padding:17px 18px;border:1px solid #e7e2d8;border-radius:17px;background:#fcfcfa}
.platform-company-mode-fields>label{display:grid;gap:7px;font-size:12px;font-weight:800}.platform-company-mode-fields small{color:var(--muted);font-size:10px;line-height:1.65}
.platform-form-divider{display:flex;align-items:center;gap:12px;margin:22px 0 16px;color:#77736a;font-size:11px;font-weight:1000;letter-spacing:.12em}.platform-form-divider::before,.platform-form-divider::after{content:"";height:1px;flex:1;background:#e4e0d7}
.platform-company-actions{display:flex!important;flex-direction:row;justify-content:flex-end;gap:7px!important;flex-wrap:wrap}.platform-company-actions .tab{padding:8px 11px;font-size:11px}
.platform-company-edit-sheet{max-width:760px}.platform-company-edit-sheet .platform-contract-editor{margin-bottom:0}
.application-grid label>small{line-height:1.65}
@media(max-width:900px){.platform-company-actions{grid-column:1/-1;justify-content:flex-start}.platform-group-flow-box{grid-template-columns:1fr}}
@media(max-width:650px){.platform-company-mode-fields{padding:14px}.platform-company-actions{grid-column:1}.platform-company-actions .tab{flex:1}.platform-group-flow-box{padding:15px}.platform-form-divider{margin-top:18px}}

/* fix16 corporate/store information split and free stores */
.application-name-group{display:grid;gap:7px}.application-name-group>span{font-size:12px;font-weight:900}.application-name-group>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.application-name-group label{display:grid;gap:6px}.application-name-group label>small{color:var(--muted);font-size:10px;font-weight:900}
.application-postal-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.application-postal-button{white-space:nowrap}.application-copy-line{display:flex;align-items:flex-start;gap:10px;margin:0 0 16px;padding:13px 14px;border:1px solid #e4dfd5;border-radius:14px;background:#faf9f5;font-size:13px;font-weight:900}.application-copy-line input{width:20px;height:20px;flex:0 0 auto;margin-top:1px}.application-auto-password{display:grid;gap:5px;padding:15px 16px;border:1px solid #d8e6d8;border-radius:15px;background:#f3faf3}.application-auto-password b{font-size:13px}.application-auto-password p{margin:0;color:#657064;font-size:11px;line-height:1.7}.application-contract-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-bottom:18px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--line)}.application-contract-summary>div{display:grid;gap:6px;padding:16px;background:#fafaf7}.application-contract-summary span{color:var(--muted);font-size:10px;font-weight:900}.application-contract-summary b{font-size:14px}.application-trial-notice p{margin:8px 0;line-height:1.75}
.platform-create-store-form{display:grid;gap:18px}.platform-create-section{padding:20px;border:1px solid #e3ded4;border-radius:19px;background:#fff}.platform-create-section-head{display:flex;align-items:flex-start;gap:13px;margin-bottom:17px}.platform-create-section-head>span{display:grid;place-items:center;width:34px;height:34px;flex:0 0 auto;border-radius:11px;background:#171717;color:#fff;font-weight:1000}.platform-create-section-head h3{margin:1px 0 4px;font-size:19px}.platform-create-section-head p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}.platform-name-field{display:grid;gap:7px}.platform-name-field>span{font-size:11px;font-weight:900;color:var(--muted)}.platform-name-field>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.platform-name-field label{display:grid;gap:6px}.platform-name-field label small{color:var(--muted);font-size:10px;font-weight:900}.platform-postal-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.platform-postal-row .tab{white-space:nowrap}.platform-postal-row+small{min-height:16px}.platform-postal-row+small.is-ok{color:var(--ok);font-weight:900}.platform-postal-row+small.is-error{color:var(--danger);font-weight:900}.platform-existing-company-summary{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin-top:14px;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--line)}.platform-existing-company-summary>div{display:grid;gap:4px;padding:12px;background:#fff}.platform-existing-company-summary span{color:var(--muted);font-size:10px;font-weight:900}.platform-existing-company-summary b{font-size:12px;overflow-wrap:anywhere}.platform-copy-checkbox{margin:0 0 14px;background:#f8f8f4}.platform-store-type-notice{display:grid;gap:5px;margin-top:14px;padding:14px 15px;border:1px solid #ead9bd;border-radius:14px;background:#fff9ed}.platform-store-type-notice b{font-size:13px}.platform-store-type-notice span{color:#71675a;font-size:11px;line-height:1.65}.platform-free-store-notice{display:grid;gap:5px;margin:18px 0;border:1px solid #b9dfc1;background:#eef9f0;color:#245a2e}.platform-free-store-notice span{font-size:12px;line-height:1.65}.platform-application-party h3{display:flex;align-items:center;gap:8px}.platform-application-party h3::before{content:"";width:9px;height:9px;border-radius:99px;background:var(--misemaru-green)}.platform-application-party+ .platform-application-party h3::before{background:var(--misemaru-orange)}
@media(max-width:760px){.application-contract-summary{grid-template-columns:1fr 1fr}.platform-create-section{padding:16px}.platform-existing-company-summary{grid-template-columns:1fr}.platform-postal-row{grid-template-columns:1fr}.platform-postal-row .tab{width:100%}}
@media(max-width:650px){.application-name-group>div{grid-template-columns:1fr 1fr}.application-postal-row{grid-template-columns:1fr}.application-postal-button{width:100%}.application-contract-summary{grid-template-columns:1fr 1fr}.platform-name-field>div{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.application-name-group>div,.platform-name-field>div,.application-contract-summary{grid-template-columns:1fr}}

/* fix17 automatic store credentials */
.platform-auto-credentials{display:grid;gap:5px;padding:15px 16px;border:1px solid #d8e6d8;border-radius:15px;background:#f3faf3}.platform-auto-credentials b{font-size:13px}.platform-auto-credentials span{color:#405340;font-size:12px;font-weight:800;overflow-wrap:anywhere}.platform-auto-credentials small{color:#657064;font-size:11px;line-height:1.6}


/* fix18 clear group creation choice */
.platform-group-flow-box.has-options{display:grid;grid-template-columns:minmax(190px,.72fr) minmax(0,1.45fr);gap:18px;align-items:stretch}
.platform-group-flow-intro{align-content:center}
.platform-company-flow-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.platform-company-flow-option{position:relative;display:block;min-width:0;cursor:pointer}
.platform-company-flow-option>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.platform-company-flow-option>span{display:grid;align-content:center;gap:5px;height:100%;min-height:82px;padding:14px 15px;border:1px solid #ddd8cf;border-radius:14px;background:#fff;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
.platform-company-flow-option>span b{font-size:13px;line-height:1.45}
.platform-company-flow-option>span small{color:var(--muted);font-size:10px;line-height:1.55}
.platform-company-flow-option>input:checked+span{border-color:var(--misemaru-orange);background:#fff8ed;box-shadow:0 0 0 2px rgba(255,126,0,.10)}
.platform-company-flow-option>input:checked+span b{color:#b95500}
.platform-company-flow-option>input:focus-visible+span{outline:3px solid rgba(255,126,0,.25);outline-offset:2px}
.platform-group-flow-box.is-fixed{display:block;padding:16px 18px}
.platform-group-flow-fixed{display:flex!important;align-items:center;gap:13px}
.platform-group-flow-fixed>span{display:inline-flex;align-items:center;justify-content:center;min-width:82px;padding:7px 10px;border-radius:999px;background:#eaf7e8;color:#267c20;font-size:10px;font-weight:1000;white-space:nowrap}
.platform-group-flow-fixed>div{display:grid;gap:4px;min-width:0}
.platform-group-flow-fixed>div>b{font-size:14px}
.platform-group-flow-fixed>div>small{color:var(--muted);font-size:11px;line-height:1.6}
@media(max-width:760px){.platform-group-flow-box.has-options{grid-template-columns:1fr}.platform-company-flow-options{grid-template-columns:1fr}.platform-company-flow-option>span{min-height:72px}.platform-group-flow-fixed{align-items:flex-start;flex-direction:column;gap:9px}}


/* fix19 first-login guided setup and unified no-photo presentation */
.misemaru-no-photo{display:grid;place-items:center;align-content:center;gap:2px;overflow:hidden;background:linear-gradient(145deg,#fff8ed,#f1f5ed);border:1px solid #eadfce;color:#9b5d24;text-align:center}
.misemaru-no-photo img{width:42%;height:42%;max-width:74px;max-height:74px;object-fit:contain;opacity:.92}.misemaru-no-photo b{font-size:10px;letter-spacing:.08em;line-height:1}.misemaru-no-photo small{color:#81766a;font-size:8px;font-weight:800;line-height:1.1}
.misemaru-no-photo.product-thumb{width:76px;height:76px;flex:0 0 76px;border-radius:14px}.misemaru-no-photo.image-preview{width:100%;height:230px;border-radius:16px}.misemaru-no-photo.customer-thumb{width:76px;height:76px}.misemaru-no-photo.takeout-product-placeholder{width:100%;height:180px;border-radius:0}.misemaru-no-photo.takeout-product-placeholder img{max-width:84px;max-height:84px}
.onboarding-hero-simple{align-items:center}.onboarding-next-button{margin-top:18px;max-width:420px}.onboarding-reassurance{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0 20px}.onboarding-reassurance>div{display:grid;gap:5px;padding:15px 17px;border:1px solid #dfe6d9;border-radius:15px;background:#f7fbf5}.onboarding-reassurance b{font-size:13px}.onboarding-reassurance span{color:#687065;font-size:11px;line-height:1.65}
.onboarding-step.is-next{border:2px solid var(--misemaru-orange);background:linear-gradient(135deg,#fff8ec,#fff);box-shadow:0 12px 28px rgba(255,126,0,.12)}.onboarding-step-label{display:inline-block;margin-bottom:4px;color:#9a6b3d;font-size:9px;font-weight:1000;letter-spacing:.12em}.onboarding-step.is-next .onboarding-step-label{color:#c45f00}.onboarding-inline-note{margin-top:10px;padding:10px 12px;border-radius:11px;background:#f3f8f0;color:#53614d;font-size:11px;line-height:1.6}
.settings-onboarding-guide{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:center;margin-bottom:15px;padding:15px 17px;border:1px solid #f0c389;border-radius:16px;background:#fff8e9}.settings-onboarding-guide>span{padding:6px 9px;border-radius:999px;background:var(--misemaru-orange);color:#fff;font-size:10px;font-weight:1000}.settings-onboarding-guide>div{display:grid;gap:3px}.settings-onboarding-guide b{font-size:14px}.settings-onboarding-guide p{margin:0;color:#756858;font-size:11px;line-height:1.55}
.store-info-settings{gap:18px}.store-basic-fields{display:grid;gap:14px}.store-address-grid{display:grid;grid-template-columns:190px minmax(0,1fr);gap:12px}.store-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.store-info-settings .label b{color:#b34c16;font-size:9px}.store-logo-optional{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:12px 18px;align-items:center;padding:17px;border:1px solid #e8e3d9;border-radius:16px;background:#fafaf7}.store-logo-optional>div:first-child{display:grid;gap:4px}.store-logo-optional h3,.store-logo-optional p{margin:0}.store-logo-optional h3 small{color:#777;font-size:10px}.store-logo-optional p{color:#777;font-size:11px;line-height:1.55}.store-logo-optional .store-logo-box{grid-row:1/3;grid-column:2;min-height:100px}.store-logo-optional .image-picker{grid-column:1}.store-logo-optional>button{grid-column:1;justify-self:start}.receipt-settings-box{padding:0;overflow:hidden}.receipt-settings-box>summary{padding:15px 17px;cursor:pointer;font-weight:900}.receipt-settings-box>div{padding:0 17px 17px}.setup-confirm-box,.setup-confirmed-box{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px;border:1px solid #f0c383;border-radius:16px;background:#fff8e8}.setup-confirm-box>div{display:grid;gap:4px}.setup-confirm-box span{color:#756858;font-size:11px;line-height:1.55}.setup-confirmed-box{border-color:#bcdcc1;background:#f2faf3}.setup-confirmed-box b{color:#2d6937}
.takeaway-first-choice{padding:25px}.settings-step-kicker{color:#b55a00;font-size:10px;font-weight:1000;letter-spacing:.1em}.takeaway-use-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.takeaway-use-choice{display:grid;justify-items:start;gap:6px;min-height:132px;padding:18px;border:2px solid #e4dfd5;border-radius:17px;background:#fff;color:#1e1e1e;text-align:left;cursor:pointer}.takeaway-use-choice:hover{border-color:#efb46f;background:#fffaf2}.takeaway-use-choice.selected{border-color:var(--misemaru-orange);background:#fff6e8;box-shadow:0 0 0 3px rgba(255,126,0,.10)}.takeaway-choice-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f1f1ec;color:#6d6962;font-size:18px;font-weight:1000}.takeaway-use-choice:first-child .takeaway-choice-icon{background:#e9f7e9;color:#2a7a35}.takeaway-use-choice b{font-size:16px}.takeaway-use-choice small{color:#77716a;font-size:11px;line-height:1.55}.takeaway-advanced-settings{padding:0;border:1px solid #e6e1d7;border-radius:15px}.takeaway-advanced-settings>summary{padding:15px 16px;cursor:pointer;font-weight:900}.takeaway-advanced-settings>div{padding:0 16px 16px}.takeaway-disabled-explanation{display:grid;gap:5px;padding:15px;border-radius:14px;background:#f4f4f0}.takeaway-disabled-explanation span{color:#73716a;font-size:11px;line-height:1.6}
.onboarding-product-panel[open]{border:2px solid #efb66f}.onboarding-product-tip{display:grid;gap:4px;padding:14px 15px;border:1px solid #cfe2cc;border-radius:14px;background:#f3faf1}.onboarding-product-tip b{font-size:13px}.onboarding-product-tip span{color:#61705e;font-size:11px;line-height:1.6}
@media(max-width:760px){.onboarding-reassurance,.takeaway-use-choices,.store-contact-grid{grid-template-columns:1fr}.settings-onboarding-guide{grid-template-columns:auto 1fr}.settings-onboarding-guide .tab{grid-column:1/-1;width:100%}.store-address-grid{grid-template-columns:1fr}.store-logo-optional{grid-template-columns:1fr}.store-logo-optional .store-logo-box,.store-logo-optional .image-picker,.store-logo-optional>button{grid-column:1;grid-row:auto}.setup-confirm-box,.setup-confirmed-box{align-items:stretch;flex-direction:column}.setup-confirm-box .btn,.setup-confirmed-box .btn{width:100%}.misemaru-no-photo.takeout-product-placeholder{height:145px}}
@media(max-width:480px){.misemaru-no-photo.product-thumb,.misemaru-no-photo.customer-thumb{width:64px;height:64px;flex-basis:64px}.misemaru-no-photo b{font-size:8px}.misemaru-no-photo small{font-size:7px}.onboarding-step.is-next{border-width:2px}.takeaway-first-choice{padding:18px}}

/* fix20 bulk business-hours setup */
.hours-bulk-card{display:grid;gap:17px;margin-bottom:16px;border:2px solid #efb469;background:linear-gradient(145deg,#fff9ef,#fff);box-shadow:0 14px 34px rgba(174,103,22,.10)}
.hours-bulk-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.hours-bulk-head>div{display:grid;gap:5px}.hours-bulk-head h2,.hours-bulk-head p{margin:0}.hours-bulk-head p{color:var(--muted);font-size:12px;line-height:1.65}
.bulk-hour-presets{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:2px}.bulk-hour-presets>span{font-size:12px;font-weight:1000}.bulk-hour-presets>div{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.bulk-hour-days{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.bulk-hour-day-option{position:relative;display:block;cursor:pointer}.bulk-hour-day-option>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.bulk-hour-day-option>span{display:grid;place-items:center;min-height:48px;border:1px solid #ded9cf;border-radius:13px;background:#fff;color:#5f5a53;font-size:13px;font-weight:1000;transition:border-color .15s ease,background .15s ease,color .15s ease,box-shadow .15s ease}.bulk-hour-day-option>input:checked+span{border-color:var(--misemaru-orange);background:#fff1dc;color:#a84f00;box-shadow:0 0 0 2px rgba(255,126,0,.09)}.bulk-hour-day-option>input:focus-visible+span{outline:3px solid rgba(255,126,0,.25);outline-offset:2px}
.bulk-hour-form{display:grid;grid-template-columns:minmax(190px,.72fr) minmax(0,1.7fr);gap:12px;align-items:end}.bulk-hour-name{display:grid;gap:6px}.bulk-hour-form .hour-fields{margin:0}
.bulk-hour-help{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:13px;background:#f2f7ef;color:#52614c}.bulk-hour-help b{flex:0 0 auto;font-size:11px}.bulk-hour-help span{font-size:11px;line-height:1.65}
.bulk-hour-actions{display:grid;grid-template-columns:1.35fr 1fr;gap:10px}.bulk-hour-actions .btn{width:100%;min-height:48px}.hours-bulk-card>.autosave-status{position:static;margin:0}
@media(max-width:760px){.hours-bulk-head{align-items:flex-start}.bulk-hour-presets{align-items:flex-start;flex-direction:column}.bulk-hour-presets>div{justify-content:flex-start}.bulk-hour-days{grid-template-columns:repeat(4,1fr)}.bulk-hour-form{grid-template-columns:1fr}.bulk-hour-actions{grid-template-columns:1fr}.bulk-hour-help{display:grid;gap:4px}}
@media(max-width:420px){.bulk-hour-days{grid-template-columns:repeat(3,1fr)}.bulk-hour-day-option>span{min-height:45px}.bulk-hour-presets .tab{padding-left:11px;padding-right:11px}}

/* v1.0.2-fix21 初期設定の商品カテゴリ・3階層管理 */
.onboarding-category-guide{display:grid;gap:9px;margin-bottom:14px;padding:20px 22px;border-color:#efb66c;background:linear-gradient(135deg,#fff8ec 0,#fff 72%)}
.onboarding-category-guide h2{margin:0;font-size:22px;line-height:1.35}.onboarding-category-guide p{margin:0;color:var(--muted);font-size:13px;line-height:1.8}
.category-example{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:4px;padding:12px 14px;border-radius:13px;background:#fff;border:1px solid #eadfce}
.category-example span{padding:7px 10px;border-radius:9px;background:#f5f2ec;font-size:12px;font-weight:900}.category-example b{color:var(--misemaru-orange);font-size:20px}
.category-add-panel{margin-bottom:14px;border-color:#d9d5cc}.category-add-panel>summary{font-size:16px}.category-add-panel .panel-body label{display:grid;gap:7px}.category-add-panel .panel-body small{color:var(--muted);font-size:11px;line-height:1.7}
.category-list{display:grid;gap:10px}.category-card{margin-left:calc((var(--category-depth,1) - 1) * 28px);border-left:4px solid #e3ded4}.category-card.category-depth-1{border-left-color:var(--misemaru-orange)}.category-card.category-depth-2{border-left-color:var(--misemaru-green);background:#fcfefb}.category-card.category-depth-3{border-left-color:#a982c9;background:#fdfbff}
.category-level-badge{display:inline-flex;width:max-content;align-items:center;min-height:23px;padding:3px 8px;border-radius:999px;background:#f2eee7;color:#655d53;font-size:10px;font-weight:1000;letter-spacing:.04em}.category-depth-1 .category-level-badge{background:#fff0df;color:#9e4b00}.category-depth-2 .category-level-badge{background:#e8f5ea;color:#286838}.category-depth-3 .category-level-badge{background:#f0e9f8;color:#69478a}
.category-path-preview{color:#766f67;font-size:11px;line-height:1.55;overflow-wrap:anywhere}.category-card .category-summary>span:first-child{min-width:0}.category-card .category-summary strong{overflow-wrap:anywhere}
.onboarding-category-complete{position:sticky;bottom:12px;z-index:5;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;margin:16px 0;padding:17px 18px;border:1px solid #b8dabf;border-radius:17px;background:rgba(244,251,245,.97);box-shadow:0 10px 30px rgba(34,75,42,.14);backdrop-filter:blur(8px)}
.onboarding-category-complete>div{display:grid;gap:4px}.onboarding-category-complete b{font-size:15px}.onboarding-category-complete span{color:#687468;font-size:11px;line-height:1.65}.onboarding-category-complete .btn{min-width:190px}
.category-editor .category-parent-field{display:grid;gap:7px}.category-editor .category-parent-field small{color:var(--muted);font-size:11px;line-height:1.65}
@media(max-width:620px){.onboarding-category-guide{padding:17px}.onboarding-category-guide h2{font-size:19px}.category-example{display:grid;grid-template-columns:1fr}.category-example b{display:none}.category-card{margin-left:calc((var(--category-depth,1) - 1) * 12px)}.category-summary{align-items:flex-start}.onboarding-category-complete{position:static;grid-template-columns:1fr;gap:12px}.onboarding-category-complete .btn{width:100%;min-width:0}.category-add-panel .panel-body .btn{min-height:48px}}


/* v1.0.2-fix22 初期設定からカテゴリ画面へ入った際の先頭表示 */
.category-setup-focus{scroll-margin-top:16px;border:2px solid var(--misemaru-orange);box-shadow:0 12px 30px rgba(171,89,12,.12)}
.category-setup-focus.is-guided{animation:categorySetupGuide 1.8s ease both}
@keyframes categorySetupGuide{0%,100%{box-shadow:0 12px 30px rgba(171,89,12,.12)}35%{box-shadow:0 0 0 6px rgba(255,126,0,.18),0 16px 36px rgba(171,89,12,.18)}}
@media (prefers-reduced-motion:reduce){.category-setup-focus.is-guided{animation:none}}

/* v1.0.2-fix23 商品登録フォームの案内・テイクアウト設定整理 */
.product-create-form{gap:16px}.product-form-section{display:grid;gap:14px;padding:17px;border:1px solid #e2ddd3;border-radius:16px;background:#fff}.product-basic-settings{border-color:#efc17f;background:linear-gradient(145deg,#fffaf1,#fff)}.product-form-section-head{display:flex;align-items:flex-start;gap:11px}.product-form-section-head>div{display:grid;gap:3px}.product-form-section-head b{font-size:15px}.product-form-section-head>div>span{color:var(--muted);font-size:11px;line-height:1.55}.product-form-step{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:10px;background:var(--misemaru-orange);color:#fff;font-size:13px;font-weight:1000}.product-form-field,.product-create-form label,.editor-fields>label{display:grid;gap:7px}.product-form-field small,.product-create-form label small,.editor-fields>label small{color:var(--muted);font-size:11px;line-height:1.55}.product-category-first{padding:13px;border:1px solid #f0c37f;border-radius:13px;background:#fff8ea}.product-category-first>.label{color:#9c4b00}.takeaway-product-settings{padding:0;border:1px solid #dcd8cf;border-radius:16px;background:#f8f8f5;overflow:hidden}.takeaway-product-settings>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 16px;cursor:pointer;list-style:none}.takeaway-product-settings>summary::-webkit-details-marker{display:none}.takeaway-product-settings>summary>div{display:grid;flex:1;gap:3px}.takeaway-product-settings>summary b{font-size:14px}.takeaway-product-settings>summary span:not(.pill){color:var(--muted);font-size:11px;line-height:1.5}.takeaway-product-settings>summary::after{content:'＋';order:3;color:#777;font-size:19px;font-weight:900}.takeaway-product-settings[open]>summary::after{content:'−'}.takeaway-product-settings>summary>.pill{order:2;margin-left:4px}.takeaway-product-settings-body{display:grid;gap:15px;padding:0 16px 16px}.takeaway-product-fields label,.takeaway-time-fields label,.takeaway-quantity-fields label{display:grid;gap:6px;align-content:start}.takeaway-product-fields small,.takeaway-time-fields small,.takeaway-quantity-fields small{color:var(--muted);font-size:11px;line-height:1.5}.takeaway-product-subsection{display:grid;gap:11px;padding:14px;border:1px solid #e5e1d8;border-radius:14px;background:#fff}.product-subsection-head{display:grid;gap:4px}.product-subsection-head b{font-size:13px}.product-subsection-head span{color:var(--muted);font-size:11px;line-height:1.65}.takeaway-time-fields,.takeaway-quantity-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-channel-disabled-note{display:grid;gap:4px;padding:14px 15px;border:1px solid #cddfca;border-radius:14px;background:#f2f8ef;color:#315f35}.product-channel-disabled-note span{font-size:11px;line-height:1.55}.product-channel-disabled-note[hidden],.takeaway-product-settings[hidden],.takeaway-product-settings-body[hidden]{display:none!important}.product-image-settings{background:#fafaf7}.product-register-button{min-height:50px;font-size:15px}.editor-takeaway-settings{padding:14px;border:1px solid #e2ddd3;border-radius:14px;background:#fff}.product-channel-editor>.product-channel-disabled-note{margin-top:2px}
@media(max-width:720px){.product-form-section{padding:14px}.takeaway-product-settings>summary{align-items:flex-start}.takeaway-product-settings>summary>.pill{flex:0 0 auto}.takeaway-time-fields,.takeaway-quantity-fields{grid-template-columns:1fr}.takeaway-product-settings-body{padding:0 12px 12px}.takeaway-product-subsection{padding:12px}.product-category-first{padding:11px}}


/* v1.0.2-fix25 初期商品登録後の導線・商品編集モーダル */
body:has(> .modal){overflow:hidden}
.store-admin-body .modal{z-index:1000;padding:12px;align-items:center;justify-content:center}
.store-admin-body .modal>.sheet{width:min(760px,100%);max-height:calc(100dvh - 24px);border-radius:22px;overscroll-behavior:contain;box-shadow:0 28px 90px rgba(0,0,0,.32)}
.product-editor{position:relative;padding-top:0}
.product-editor-head{position:sticky;top:0;z-index:6;margin:0 -18px 14px;padding:16px 18px 13px;border-bottom:1px solid #e4dfd6;background:rgba(247,244,237,.97);backdrop-filter:blur(12px)}
.product-editor-onboarding-guide{display:grid;grid-template-columns:auto minmax(0,1fr);gap:11px;align-items:start;margin:12px 0 18px;padding:14px 15px;border:1px solid #efc17f;border-radius:15px;background:#fff8ea}
.product-editor-onboarding-guide>div{display:grid;gap:4px}.product-editor-onboarding-guide span:not(.pill){color:var(--muted);font-size:11px;line-height:1.6}
.product-option-editor-section{scroll-margin-top:78px}.product-option-editor-section.option-setup-focus{border:2px solid var(--misemaru-orange);border-radius:17px;padding:18px;background:#fffaf2;box-shadow:0 12px 32px rgba(171,89,12,.12)}
.product-option-editor-section.option-setup-focus.is-guided{animation:categorySetupGuide 1.8s ease both}
.product-option-onboarding-actions{display:grid;gap:9px;margin-top:17px;padding-top:16px;border-top:1px solid #e2ddd3}
.onboarding-product-guide{display:grid;gap:8px;border-color:#efc17f;background:#fffaf2}.onboarding-product-guide h2,.onboarding-product-guide p{margin:0}.onboarding-product-guide p{color:var(--muted);font-size:12px;line-height:1.7}
.product-setup-focus{border:2px solid var(--misemaru-orange);box-shadow:0 12px 30px rgba(171,89,12,.12)}.product-setup-focus.is-guided{animation:categorySetupGuide 1.8s ease both}
.onboarding-product-created-modal{background:rgba(0,0,0,.62)}
.onboarding-product-created-sheet{display:grid;gap:13px;max-width:620px!important;text-align:center;padding:28px!important}
.onboarding-product-created-mark{display:grid;place-items:center;width:62px;height:62px;margin:0 auto;border-radius:50%;background:#dff4e6;color:#176b3a;font-size:32px;font-weight:1000}
.onboarding-product-created-sheet h2,.onboarding-product-created-sheet p{margin:0}.onboarding-product-created-sheet p{color:var(--muted);line-height:1.7}
.onboarding-product-next{display:grid;gap:12px;margin-top:5px;padding:17px;border:1px solid #efc17f;border-radius:16px;background:#fff8ea;text-align:left}.onboarding-product-next>div{display:grid;gap:4px}.onboarding-product-next span{color:var(--muted);font-size:11px;line-height:1.55}
.onboarding-product-created-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.onboarding-product-back{justify-self:center}
.staff-onboarding-guide{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;border-color:#efc17f;background:#fffaf2}.staff-onboarding-guide h2,.staff-onboarding-guide p{margin:0}.staff-onboarding-guide p{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.6}
.staff-onboarding-complete{position:sticky;bottom:12px;z-index:5;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;margin:18px 0;padding:17px;border:1px solid #b8dabf;border-radius:17px;background:rgba(244,251,245,.97);box-shadow:0 10px 30px rgba(34,75,42,.14);backdrop-filter:blur(8px)}
.staff-onboarding-complete>div{display:grid;gap:4px}.staff-onboarding-complete span{color:var(--muted);font-size:11px;line-height:1.55}
@media(max-width:700px){.store-admin-body .modal{padding:8px;align-items:flex-end}.store-admin-body .modal>.sheet{max-height:calc(100dvh - 16px);border-radius:20px 20px 0 0}.product-editor-head{margin-left:-18px;margin-right:-18px}.onboarding-product-created-sheet{padding:22px 17px!important}.onboarding-product-created-actions,.staff-onboarding-guide,.staff-onboarding-complete{grid-template-columns:1fr}.staff-onboarding-guide .tab,.staff-onboarding-complete .btn{width:100%}}
@media (prefers-reduced-motion:reduce){.product-option-editor-section.option-setup-focus.is-guided,.product-setup-focus.is-guided{animation:none}}

/* v1.0.2-fix26 ホール会計完了・会計調整権限分離 */
.checkout-adjustment-readonly{display:grid;gap:4px;margin-top:12px}.checkout-adjustment-readonly span{font-size:12px;line-height:1.7}

/* v1.0.2-fix28 客席設定・来店グループの客席選択 */
.store-seats-settings{gap:18px}.store-seats-settings .green-notice{display:grid;gap:4px}.store-seats-settings .green-notice span{font-size:11px;line-height:1.65}
.store-seat-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.store-seat-create-card{display:grid;gap:12px;padding:17px;border:1px solid #e3ddd3;border-radius:16px;background:#faf9f5}.store-seat-create-card h3,.store-seat-create-card p{margin:0}.store-seat-create-card label{display:grid;gap:6px}.store-seat-create-card label>span{font-size:11px;font-weight:900}.store-seat-range{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.store-seat-list{display:grid;gap:11px}.store-seat-list>.row{align-items:flex-end}.store-seat-list h3,.store-seat-list p{margin:0}.store-seat-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 15px;border:1px solid #e2ddd3;border-radius:15px;background:#fff}.store-seat-row.is-inactive{background:#f4f3ef;opacity:.76}.store-seat-main{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px;align-items:end}.store-seat-main label{display:grid;gap:6px}.store-seat-main label>span{font-size:10px;font-weight:900;color:#6f6a62}.store-seat-status{display:flex;gap:6px;flex-wrap:wrap;padding-bottom:3px}.store-seat-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
.visit-seat-entry,.visit-location-entry{display:grid;gap:7px;margin-top:15px}.visit-seat-entry>.label,.visit-location-entry>.label{font-size:13px;font-weight:1000}.visit-seat-entry small,.visit-location-entry small{color:var(--muted);font-size:10px;line-height:1.55}.visit-seat-warning{display:grid;gap:3px;margin-top:8px;padding:10px 12px;border:1px solid #cfe1d1;border-radius:12px;background:#f4faf4;color:#35623b}.visit-seat-warning span{font-size:10px;line-height:1.55}.visit-seat-warning.is-used{border-color:#edc27d;background:#fff8e7;color:#80500b}.visit-seat-warning.is-used b{font-size:11px}.visit-seat-warning.is-free{min-height:38px;align-content:center}
.visit-place{display:grid;grid-template-columns:minmax(120px,.75fr) minmax(0,1.25fr);gap:8px;margin:10px 0;padding:10px;border:1px solid #e1ddd4;border-radius:13px;background:#faf9f6}.visit-place>div{display:grid;gap:3px;min-width:0}.visit-place>div span{color:#807a71;font-size:9px;font-weight:900}.visit-place>div b{font-size:12px;line-height:1.45;overflow-wrap:anywhere}.visit-place.large{padding:12px 13px;border-color:#ddcaa9;background:#fffaf1}.visit-place.large>div b{font-size:14px}.visit-place.missing{grid-template-columns:1fr;color:#8c877f;background:#f7f6f2}.visit-place-editor{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:10px;margin:11px 0;padding:12px;border:1px solid #e1ddd4;border-radius:14px;background:#faf9f6}.visit-place-editor label{display:grid;gap:6px}.visit-place-editor label>span{font-size:10px;font-weight:1000}.visit-place-editor small{color:var(--muted);font-size:9px;line-height:1.5}.service-call-card .visit-place,.ready-order-card .visit-place,.checkout-request-card .visit-place{border-color:#edbd72;background:#fff8e8}.reservation-checkin-sheet{max-width:620px!important}
@media(max-width:760px){.store-seat-create-grid,.store-seat-main,.visit-place-editor{grid-template-columns:1fr}.store-seat-row{grid-template-columns:1fr}.store-seat-actions{justify-content:flex-start}.visit-place{grid-template-columns:1fr}.visit-seat-entry,.visit-location-entry{margin-top:12px}}
@media(max-width:480px){.store-seat-range{grid-template-columns:1fr 1fr}.store-seat-actions .state-btn{flex:1}.visit-place.large>div b{font-size:13px}}

/* v1.0.2-fix30 staff order input UI */
.staff-order-modal{align-items:center;justify-content:center;padding:24px}
.staff-order-modal .staff-order-entry-sheet,.staff-order-modal .staff-order-confirm-sheet{width:min(920px,calc(100vw - 32px));max-width:920px;max-height:calc(100vh - 48px);padding:0;overflow:hidden;border-radius:26px;background:#f7f6f2;box-shadow:0 28px 80px rgba(0,0,0,.28)}
.staff-order-entry-sheet,.staff-order-confirm-sheet{display:flex;flex-direction:column}
.staff-order-entry-sheet .staff-order-header,.staff-order-confirm-sheet .staff-order-header{flex:0 0 auto;padding:24px 28px 20px;background:#fff;border-bottom:1px solid var(--line);align-items:center}
.staff-order-entry-sheet .staff-order-header h2,.staff-order-confirm-sheet .staff-order-header h2{margin:2px 0 5px;font-size:28px;line-height:1.2}
.staff-order-entry-sheet .staff-order-header p,.staff-order-confirm-sheet .staff-order-header p{margin:0;color:var(--muted);font-size:13px}
.staff-order-close{padding:10px 18px}
.staff-order-visit-summary{display:grid;grid-template-columns:170px 1fr;gap:14px;align-items:stretch;margin:18px 28px 0}
.staff-order-visit-number{display:grid;place-items:center;gap:2px;padding:13px;border-radius:18px;background:#171717;color:#fff}
.staff-order-visit-number span{font-size:12px;font-weight:800;opacity:.72}
.staff-order-visit-number b{font-size:34px;line-height:1;letter-spacing:.08em}
.staff-order-visit-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.staff-order-visit-meta>span{display:grid;gap:3px;padding:12px 14px;border:1px solid #e2dfd8;border-radius:16px;background:#fff}
.staff-order-visit-meta>span.wide{grid-column:1/-1}
.staff-order-visit-meta small{font-size:11px;color:var(--muted);font-weight:800}
.staff-order-visit-meta b{font-size:16px;overflow-wrap:anywhere}
.staff-order-menu-body{flex:1;min-height:0;overflow:auto;padding:18px 28px 22px}
.staff-order-search-label{display:block;margin:0 0 7px;font-size:13px;font-weight:900}
.staff-order-entry-sheet .staff-order-search{margin:0 0 18px}
.staff-order-entry-sheet .staff-order-search .input{height:52px;border:2px solid #e8a54a;box-shadow:0 0 0 4px rgba(255,128,0,.06)}
.staff-order-section-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 9px}
.staff-order-section-label b{font-size:15px}
.staff-order-section-label span{font-size:12px;color:var(--muted);font-weight:800}
.staff-order-entry-sheet .staff-order-categories{padding-bottom:14px}
.staff-order-entry-sheet .staff-order-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.staff-order-entry-sheet .staff-order-product{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:14px;min-height:108px;padding:12px;border:1px solid #e0ddd5;border-radius:18px;background:#fff;box-shadow:0 5px 16px rgba(0,0,0,.045);transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.staff-order-entry-sheet .staff-order-product:hover{transform:translateY(-1px);border-color:#f08a18;box-shadow:0 8px 20px rgba(0,0,0,.08)}
.staff-order-product-media{display:block;width:76px;height:76px;border-radius:14px;overflow:hidden;background:#f0eee9}
.staff-order-product-media img,.staff-order-product-thumb{width:100%;height:100%;object-fit:cover}
.staff-order-product-thumb{display:grid;place-items:center;font-size:10px;color:var(--muted);text-align:center}
.staff-order-product-main{display:grid;gap:4px;min-width:0}
.staff-order-product-main b{font-size:17px;line-height:1.3}
.staff-order-product-category{color:#8b5b18!important;font-size:10px!important;font-weight:900}
.staff-order-product-main em{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.staff-order-recommend{display:inline-flex;width:max-content;padding:3px 7px;border-radius:999px;background:#fff0c2;color:#765000;font-size:10px;font-weight:900}
.staff-order-product-action{display:grid!important;gap:7px!important;justify-items:end;align-self:stretch;align-content:center;padding-left:8px;border-left:1px solid #eeeae3}
.staff-order-product-action strong{font-size:18px}
.staff-order-product-action small{padding:5px 8px;border-radius:999px;background:#fff3e4;color:#9a4d00!important;font-size:10px!important;font-weight:900}
.staff-order-empty{grid-column:1/-1;display:grid;gap:5px;border:1px dashed #d8d4cb;border-radius:18px;background:#fff}
.staff-order-empty span{color:var(--muted);font-size:13px}
.staff-order-entry-sheet .staff-order-cartbar{position:static;flex:0 0 auto;margin:0;padding:15px 28px;background:#171717;box-shadow:0 -10px 26px rgba(0,0,0,.12)}
.staff-order-entry-sheet .staff-order-cartbar div{gap:2px}
.staff-order-entry-sheet .staff-order-cartbar span{color:#cfcfcf;font-size:11px;font-weight:800}
.staff-order-entry-sheet .staff-order-cartbar b{font-size:21px}
.staff-order-entry-sheet .staff-order-cartbar .btn{min-width:240px;background:#ff7900;color:#fff}
.staff-order-entry-sheet .staff-order-cartbar .btn:disabled{background:#555;color:#ddd}
.staff-order-confirm-scroll{flex:1;min-height:0;overflow:auto;padding:22px 28px 28px}
.staff-order-confirm-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}
.staff-order-confirm-heading>div{display:flex;align-items:center;gap:9px}
.staff-order-confirm-heading>div b{font-size:18px}
.staff-order-confirm-heading>div span{padding:4px 9px;border-radius:999px;background:#eee9df;font-size:12px;font-weight:900}
.staff-order-confirm-heading>small{color:var(--muted)}
.staff-order-confirm-sheet .staff-order-confirm-items{gap:12px;margin:0 0 18px}
.staff-order-confirm-sheet .staff-order-confirm-items article{display:grid;gap:14px;padding:17px 18px;border:1px solid #ddd9d0;border-radius:18px;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.035)}
.staff-order-confirm-item-head{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:start}
.staff-order-item-number{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#171717;color:#fff;font-size:13px;font-weight:900}
.staff-order-confirm-item-main{display:grid;gap:6px;min-width:0}
.staff-order-confirm-item-main>b{font-size:18px}
.staff-order-confirm-item-head>strong{font-size:20px;white-space:nowrap}
.staff-order-option-summary{padding:8px 10px;border-radius:10px;background:#f4efe6;color:#6b4b20!important;font-weight:800}
.staff-order-request-summary{padding:8px 10px;border-radius:10px;background:#fff7d9;color:#6f5600!important}
.staff-order-confirm-item-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:12px;border-top:1px solid #eeeae3}
.staff-order-confirm-item-actions>span:first-child{margin-right:auto;color:var(--muted);font-size:12px;font-weight:800}
.staff-order-confirm-sheet .staff-order-mini-qty{gap:7px}
.staff-order-confirm-sheet .staff-order-mini-qty button{width:38px;height:38px;border-radius:11px;font-size:20px;font-weight:800}
.staff-order-confirm-sheet .staff-order-mini-qty b{min-width:28px;text-align:center;font-size:17px}
.staff-order-remove-button{border:1px solid #efc5c2;border-radius:10px;background:#fff;color:var(--danger);padding:9px 11px;font-size:12px;font-weight:900}
.staff-order-allergy-field{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;padding:16px;border:1px solid #e6c56d;border-radius:18px;background:#fffaf0;margin:0 0 18px}
.staff-order-allergy-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#f5b82e;color:#111;font-size:20px;font-weight:900}
.staff-order-allergy-copy{display:grid;gap:4px}
.staff-order-allergy-copy b{font-size:16px}
.staff-order-allergy-copy b small{font-size:11px;color:var(--muted)}
.staff-order-allergy-copy>span{font-size:12px;color:#715b24;line-height:1.5}
.staff-order-allergy-field textarea{grid-column:1/-1;min-height:76px;resize:vertical;border-color:#d8bd78}
.staff-order-total-panel{display:grid;grid-template-columns:1fr 1.2fr;gap:10px;padding:14px;border-radius:18px;background:#171717;color:#fff}
.staff-order-total-panel>div{display:grid;gap:3px;padding:4px 8px}
.staff-order-total-panel>div+div{border-left:1px solid rgba(255,255,255,.18);padding-left:18px}
.staff-order-total-panel span{font-size:12px;color:#d2d2d2;font-weight:800}
.staff-order-total-panel b{font-size:20px}
.staff-order-total-panel .total{text-align:right}
.staff-order-total-panel .total b{font-size:30px}
.staff-order-readback{display:flex;align-items:center;gap:12px;margin:14px 0;padding:13px 15px;border-radius:16px;background:#e9f6ed;color:#155d32}
.staff-order-readback>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#23834b;color:#fff;font-weight:900}
.staff-order-readback>div{display:grid;gap:3px}
.staff-order-readback small{color:#426b50}
.staff-order-confirm-actions{display:grid;gap:9px}
.staff-order-confirm-actions .btn.ok{background:#35a55a;font-size:16px}
@media(max-width:700px){
  .staff-order-modal{align-items:flex-end;padding:0}
  .staff-order-modal .staff-order-entry-sheet,.staff-order-modal .staff-order-confirm-sheet{width:100%;max-width:none;max-height:94vh;border-radius:22px 22px 0 0}
  .staff-order-entry-sheet .staff-order-header,.staff-order-confirm-sheet .staff-order-header{padding:17px 16px 14px;align-items:flex-start}
  .staff-order-entry-sheet .staff-order-header h2,.staff-order-confirm-sheet .staff-order-header h2{font-size:23px}
  .staff-order-entry-sheet .staff-order-header p,.staff-order-confirm-sheet .staff-order-header p{display:none}
  .staff-order-visit-summary{grid-template-columns:112px 1fr;margin:13px 16px 0;gap:9px}
  .staff-order-visit-number{padding:10px}
  .staff-order-visit-number b{font-size:27px}
  .staff-order-visit-meta{grid-template-columns:1fr;gap:7px}
  .staff-order-visit-meta>span{padding:9px 11px}
  .staff-order-menu-body,.staff-order-confirm-scroll{padding:15px 16px 20px}
  .staff-order-entry-sheet .staff-order-products{grid-template-columns:1fr}
  .staff-order-entry-sheet .staff-order-product{grid-template-columns:64px minmax(0,1fr) auto;min-height:92px;padding:10px;gap:10px}
  .staff-order-product-media{width:64px;height:64px}
  .staff-order-product-action{padding-left:6px}
  .staff-order-product-action small{display:none}
  .staff-order-entry-sheet .staff-order-cartbar{grid-template-columns:1fr auto;padding:12px 16px}
  .staff-order-entry-sheet .staff-order-cartbar .btn{min-width:0;padding:12px 14px}
  .staff-order-confirm-heading{align-items:flex-start;flex-direction:column;gap:4px}
  .staff-order-confirm-item-head{grid-template-columns:30px minmax(0,1fr)}
  .staff-order-confirm-item-head>strong{grid-column:2;text-align:left}
  .staff-order-confirm-item-actions{flex-wrap:wrap;justify-content:flex-start}
  .staff-order-confirm-item-actions>span:first-child{width:100%;margin:0}
  .staff-order-remove-button{margin-left:auto}
  .staff-order-total-panel{grid-template-columns:1fr 1fr}
  .staff-order-total-panel .total b{font-size:25px}
}
.staff-order-confirm-sheet .staff-order-confirm-items article{grid-template-columns:1fr}

/* v1.0.2-fix31: staff-assisted ordering from new visit */
.visit-order-choice{display:grid;gap:14px;margin:16px 0;padding:18px;border:2px solid #f08a18;border-radius:20px;background:linear-gradient(145deg,#fff9ef,#fff)}
.visit-order-choice-head{display:grid;gap:4px}
.visit-order-choice-head>span{font-size:11px;font-weight:900;letter-spacing:.12em;color:#b45a00}
.visit-order-choice-head h3{margin:0;font-size:23px;line-height:1.25}
.visit-order-choice-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.visit-order-choice-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.visit-order-choice-button{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:88px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);text-align:left;cursor:pointer;box-shadow:0 5px 15px rgba(0,0,0,.045)}
.visit-order-choice-button:hover{border-color:#f08a18;transform:translateY(-1px)}
.visit-order-choice-button.staff{background:#ff7900;color:#fff;border-color:#ff7900}
.visit-order-choice-button.staff small{color:rgba(255,255,255,.82)}
.visit-order-choice-button.qr{background:#fff}
.visit-order-choice-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:rgba(255,255,255,.2);font-size:24px;font-weight:900}
.visit-order-choice-button.qr .visit-order-choice-icon{background:#f4f4f0;color:#111}
.visit-order-choice-button>span:nth-child(2){display:grid;gap:3px;min-width:0}
.visit-order-choice-button b{font-size:17px;line-height:1.25}
.visit-order-choice-button small{font-size:11px;color:var(--muted);line-height:1.35}
.visit-order-choice-button strong{font-size:12px;white-space:nowrap}
.qr-display.is-guided{outline:4px solid rgba(255,121,0,.35);box-shadow:0 0 0 8px rgba(255,121,0,.1)}
@media(max-width:640px){.visit-order-choice{padding:14px}.visit-order-choice-actions{grid-template-columns:1fr}.visit-order-choice-button{min-height:78px;padding:12px}.visit-order-choice-head h3{font-size:20px}}
@media(max-width:640px){.qr-primary-intro h3{font-size:20px}.qr-display{padding:12px}.qr-large{width:min(300px,100%)}}

/* v1.0.2-fix32: staff-assisted additional orders and direct checkout */
.visit-primary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.visit-primary-actions>.btn{min-height:50px;font-size:16px;font-weight:900}
.visit-checkout-start{background:#176b3a;border-color:#176b3a;color:#fff}
.visit-direct-flow{display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid #b9d8c4;border-radius:13px;background:#eff9f2;color:#145a31}
.visit-direct-flow span{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#176b3a;color:#fff;font-size:10px;font-weight:900}
.visit-direct-flow b{font-size:13px;line-height:1.45}
.visit-secondary-actions{padding-top:2px}
.staff-order-success-sheet{text-align:center;max-width:560px}
.staff-order-success-sheet h2{margin:8px 0 14px;font-size:27px}
.staff-order-success-total{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px 0;padding:17px 19px;border-radius:16px;background:#111;color:#fff;text-align:left}
.staff-order-success-total span{font-weight:800;opacity:.72}
.staff-order-success-total b{font-size:30px}
.visit-direct-next{display:grid;gap:5px;margin:16px 0;padding:15px;border:1px solid #b9d8c4;border-radius:15px;background:#eff9f2;text-align:left;color:#145a31}
.visit-direct-next span{font-size:13px;line-height:1.6}
.staff-order-success-actions{display:grid;gap:9px;margin-top:16px}
.checkout-cancel-button{margin-top:8px;border-color:#d9a5a1;color:#8f1710;background:#fff7f6}
@media(max-width:640px){
  .visit-primary-actions{grid-template-columns:1fr}
  .visit-direct-flow{align-items:flex-start}
  .staff-order-success-sheet h2{font-size:23px}
}


/* v1.0.2-fix33 来店グループの注文方法分類 */
.visit-order-filter-panel{display:grid;gap:12px;margin:0 0 16px;padding:15px;border:1px solid var(--line);border-radius:17px;background:#fff}
.visit-order-filter-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.visit-order-filter-head>div{display:grid;gap:3px}
.visit-order-filter-head>div>b{font-size:17px}
.visit-order-filter-head>div>span{color:var(--muted);font-size:12px;line-height:1.45}
.visit-order-total{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#f0f0ec;font-size:12px;font-weight:900}
.visit-order-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.visit-order-filter{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:2px solid var(--line);border-radius:12px;background:#fff;color:#333;font:inherit;font-size:13px;font-weight:900;cursor:pointer}
.visit-order-filter b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#f0f0ec;font-size:11px}
.visit-order-filter.active{border-color:#111;background:#111;color:#fff}
.visit-order-filter.active b{background:#fff;color:#111}
.visit-order-filter.qr:not(.active){border-color:#9bc8aa;background:#eff9f2;color:#145a31}
.visit-order-filter.staff:not(.active){border-color:#e6bd74;background:#fff8e8;color:#7b4600}
.visit-order-filter.mixed:not(.active){border-color:#9bb9dd;background:#eef5ff;color:#194f89}
.visit-order-filter.none:not(.active){border-style:dashed;color:#666}
.visit-card-head{align-items:flex-start}
.visit-card-badges{display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-wrap:wrap}
.visit-order-badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:1000;line-height:1.2;white-space:nowrap}
.visit-order-badge.qr{background:#e8f6ed;color:#145a31;border:1px solid #9bc8aa}
.visit-order-badge.staff{background:#fff3d7;color:#7b4600;border:1px solid #e6bd74}
.visit-order-badge.mixed{background:#eaf2ff;color:#194f89;border:1px solid #9bb9dd}
.visit-order-badge.none{background:#f3f3ef;color:#666;border:1px dashed #aaa}
.visit-direct-flow.qr{border-color:#9bc8aa;background:#eff9f2;color:#145a31}
.visit-direct-flow.qr span{background:#176b3a}
.visit-direct-flow.staff{border-color:#e6bd74;background:#fff8e8;color:#704200}
.visit-direct-flow.staff span{background:#9a5b00}
.visit-direct-flow.mixed{border-color:#9bb9dd;background:#eef5ff;color:#194f89}
.visit-direct-flow.mixed span{background:#2868aa}
.visit-filter-empty{display:grid;justify-items:center;gap:8px;text-align:center}
.visit-filter-empty b{font-size:18px}
.visit-filter-empty p{margin:0;color:var(--muted);line-height:1.6}
.visit-filter-empty .btn{width:auto;min-width:160px;margin-top:4px}
@media(max-width:760px){
  .visit-order-filter-panel{padding:13px}
  .visit-order-filter-head{align-items:flex-start}
  .visit-order-filter-head>div>b{font-size:16px}
  .visit-order-filters{display:flex;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}
  .visit-order-filter{flex:0 0 auto;min-width:104px;padding:0 10px}
  .visit-card-head{gap:10px}
  .visit-card-badges{max-width:48%}
  .visit-order-badge{white-space:normal;text-align:center}
}

/* v1.0.2-fix34 最高管理者ダッシュボード・店舗一覧の中間幅対応 */
@media (min-width:901px) and (max-width:1280px){
  .platform-dashboard-layout{
    grid-template-columns:300px minmax(0,1fr);
    gap:14px;
  }
  .platform-dashboard-side{
    grid-column:1/-1;
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto;
  }
  .platform-recent-card{min-height:100%}
}
@media (max-width:1280px){
  .platform-store-panel .platform-panel-head{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-items:start;
    gap:14px;
  }
  .platform-store-panel .platform-panel-head>div:first-child{min-width:0}
  .platform-store-panel .platform-filter-row{
    width:100%;
    max-width:none;
    grid-template-columns:minmax(180px,1fr) minmax(145px,180px) minmax(145px,180px);
  }
}
@media (min-width:651px) and (max-width:1120px){
  .platform-store-head{display:none}
  .platform-store-row{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px;
    gap:12px;
  }
  .platform-store-name{grid-column:1/3}
  .platform-store-row>span:nth-child(3),
  .platform-store-row>span:nth-child(4){
    padding-top:8px;
    border-top:1px solid var(--line);
  }
  .platform-store-row>span:nth-child(4){grid-column:2}
  .platform-row-arrow{grid-column:3;grid-row:1/3}
}
@media (max-width:800px){
  .platform-store-panel .platform-filter-row{grid-template-columns:1fr 1fr}
  .platform-store-panel .platform-filter-row>input:first-child{grid-column:1/-1}
}
@media (max-width:650px){
  .platform-store-panel .platform-filter-row{grid-template-columns:1fr}
  .platform-store-panel .platform-filter-row>input:first-child{grid-column:auto}
}

/* v1.0.2-fix35 最高管理者ダッシュボード・登録店舗欄の実幅対応 */
.platform-store-panel .platform-panel-head h2{
  word-break:keep-all;
  overflow-wrap:normal;
  white-space:nowrap;
}
@media (min-width:901px) and (max-width:1450px){
  .platform-dashboard-layout{
    grid-template-columns:300px minmax(0,1fr);
    gap:16px;
  }
  .platform-dashboard-side{
    grid-column:1/-1;
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto;
  }
  .platform-recent-card{min-height:100%}
}
@media (max-width:1450px){
  .platform-store-panel .platform-panel-head{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-items:start;
    gap:14px;
  }
  .platform-store-panel .platform-panel-head>div:first-child{
    min-width:0;
    width:100%;
  }
  .platform-store-panel .platform-filter-row{
    width:100%;
    max-width:none;
    grid-template-columns:minmax(180px,1fr) minmax(145px,190px) minmax(145px,190px);
  }
}

/* v1.0.2-fix37 来店予約設定 */
.reservation-mode-section,.reservation-settings-section,.reservation-custom-hours-section,.reservation-exception-section{border:1px solid #e5ded3;border-radius:18px;padding:18px;background:#fff;margin:16px 0}.reservation-mode-section h3{margin:0 0 12px}.reservation-mode-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.reservation-mode-cards>label{display:flex;gap:10px;align-items:flex-start;border:2px solid #e4dfd7;border-radius:16px;padding:16px;cursor:pointer;background:#faf9f6}.reservation-mode-cards>label.active{border-color:#ff7900;background:#fff8ec;box-shadow:0 0 0 3px rgba(255,121,0,.08)}.reservation-mode-cards input{margin-top:4px}.reservation-mode-cards span{display:grid;gap:4px}.reservation-mode-cards b{font-size:16px}.reservation-mode-cards small{color:#6e675f;line-height:1.5}.reservation-capacity-simple-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.reservation-capacity-simple-grid>div{border:1px solid #e8e2da;border-radius:14px;padding:14px;background:#faf9f6;display:grid;gap:12px}.reservation-custom-window,.reservation-exception-row{border:1px solid #e4ded5;border-radius:16px;padding:14px;margin-top:12px;background:#fff}.reservation-window-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.reservation-window-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.reservation-exception-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.reservation-exception-grid .wide{grid-column:span 2}.reservation-window-grid label,.reservation-exception-grid label{display:grid;gap:6px}.reservation-window-grid label>span,.reservation-exception-grid label>span{font-weight:800;font-size:13px}.reservation-staff-availability{display:flex!important;align-items:flex-start;gap:8px;padding:12px 14px!important}.reservation-staff-availability b{white-space:nowrap}.reservation-staff-availability.ok{background:#eefaf1;border-color:#b9e1c2;color:#176d35}.reservation-staff-availability.warning{background:#fff6df;border-color:#f2cf79;color:#6d4b00}.reservation-settings-sheet [hidden]{display:none!important}
@media(max-width:900px){.reservation-mode-cards,.reservation-capacity-simple-grid{grid-template-columns:1fr}.reservation-window-grid{grid-template-columns:1fr 1fr}.reservation-exception-grid{grid-template-columns:1fr 1fr}.reservation-exception-grid .wide{grid-column:1/-1}}
@media(max-width:600px){.reservation-mode-section,.reservation-settings-section,.reservation-custom-hours-section,.reservation-exception-section{padding:13px;border-radius:14px}.reservation-window-grid,.reservation-exception-grid{grid-template-columns:1fr}.reservation-exception-grid .wide{grid-column:auto}.reservation-settings-section-title{align-items:flex-start;gap:10px}.reservation-settings-section-title>.state-btn{width:100%}}
.reservation-public-exceptions{display:grid;gap:10px;border-color:#f2cf79;background:#fffaf0}.reservation-public-exceptions>b{font-size:16px}.reservation-public-exceptions>div{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #eadfc8;padding-top:8px}.reservation-public-exceptions small{color:#6d5c3d;text-align:right}
@media(max-width:600px){.reservation-public-exceptions>div{display:grid;gap:3px}.reservation-public-exceptions small{text-align:left}}


/* v1.0.2-fix39: 営業画面・本日の来店予約 */
.ops-today-reservations{margin:0 0 18px;border:1px solid #d8dfeb;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(35,42,55,.08);overflow:hidden}
.ops-reservation-panel-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px;background:linear-gradient(135deg,#fff 0%,#f5f8ff 100%);border-bottom:1px solid #e5e9f1}
.ops-reservation-panel-head h2{margin:4px 0 3px;font-size:23px;line-height:1.25}.ops-reservation-panel-head h2 b{font-size:15px;color:#596273;margin-left:7px}.ops-reservation-panel-head p{margin:0;color:#485365;font-weight:700}
.ops-reservation-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.ops-reservation-count{display:inline-flex;align-items:center;min-height:34px;padding:6px 11px;border-radius:999px;font-size:13px;font-weight:900}.ops-reservation-count.pending{background:#fff1dc;color:#9b4b00}.ops-reservation-count.arrived{background:#e7f7eb;color:#14723a}
.ops-reservation-list{display:grid;gap:0}.ops-reservation-card{display:grid;grid-template-columns:112px minmax(180px,1fr) 150px minmax(180px,1.15fr) auto;align-items:center;gap:14px;padding:17px 20px;border-bottom:1px solid #eceef2}.ops-reservation-card:last-child{border-bottom:0}.ops-reservation-card.is-next{background:#fffaf1;box-shadow:inset 5px 0 0 #ff7a00}.ops-reservation-card.soon{background:#fffaf1}.ops-reservation-card.late{background:#fff3f1;box-shadow:inset 5px 0 0 #c52c25}
.ops-reservation-time{display:grid;gap:3px}.ops-reservation-time b{font-size:25px;letter-spacing:.02em}.ops-reservation-time span{font-size:12px;color:#657083;font-weight:800}.ops-reservation-person h3{margin:0;font-size:18px}.ops-reservation-person p{margin:4px 0 0;color:#596273}.ops-reservation-attendance{margin-top:6px}.ops-reservation-attendance .reservation-attendance-badge{font-size:11px}
.ops-reservation-state{display:grid;justify-items:start;gap:5px}.ops-reservation-state small{font-weight:800;color:#5b6472}.ops-reservation-notes{display:grid;gap:4px;min-width:0}.ops-reservation-notes span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#394354;font-size:13px}.ops-reservation-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center}
.ops-reservation-empty{display:grid;justify-items:center;gap:5px;padding:24px;color:#516071}.ops-reservation-empty span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e7f7eb;color:#168143;font-size:22px;font-weight:900}.ops-reservation-empty b{font-size:17px}.ops-reservation-empty small{color:#758092}.ops-reservation-more{width:100%;border:0;border-top:1px solid #eceef2;background:#fafbfc;padding:12px;font-weight:900;cursor:pointer}
@media(max-width:1100px){.ops-reservation-card{grid-template-columns:100px minmax(180px,1fr) 140px auto}.ops-reservation-notes{grid-column:2/4}.ops-reservation-actions{grid-column:4;grid-row:1/3}}
@media(max-width:760px){.ops-reservation-panel-head{display:grid;padding:17px}.ops-reservation-head-actions{justify-content:flex-start}.ops-reservation-panel-head h2{font-size:20px}.ops-reservation-card{grid-template-columns:88px 1fr;gap:10px;padding:15px}.ops-reservation-time b{font-size:21px}.ops-reservation-state{grid-column:1}.ops-reservation-notes{grid-column:2}.ops-reservation-actions{grid-column:1/3;grid-row:auto;justify-content:stretch}.ops-reservation-actions>*{flex:1}.ops-reservation-person h3{font-size:17px}}

/* v1.0.2-fix40: 客席の定員・複数客席割り当て */
.store-seat-main{grid-template-columns:minmax(220px,1fr) minmax(120px,160px) auto}.store-seat-capacity{min-width:120px}.store-seat-capacity .input-with-unit{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.store-seat-capacity .input-with-unit>span{font-size:12px;font-weight:900;color:var(--muted)}
.visit-seat-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:330px;overflow:auto;padding:3px}.visit-seat-choice{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 13px;border:1px solid #ded8cf;border-radius:14px;background:#fff;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.visit-seat-choice:hover{border-color:#f0a04a}.visit-seat-choice input{width:20px;height:20px;margin:0;accent-color:#ff7a00}.visit-seat-choice span{display:grid;gap:3px;min-width:0}.visit-seat-choice b{font-size:13px;line-height:1.35;overflow-wrap:anywhere}.visit-seat-choice small{font-size:10px;line-height:1.45;color:var(--muted)}.visit-seat-choice em{align-self:start;border-radius:999px;background:#e9f7eb;color:#29743c;padding:4px 7px;font-size:9px;font-style:normal;font-weight:900}.visit-seat-choice.selected{border-color:#ff7a00;background:#fff8ec;box-shadow:0 0 0 2px rgba(255,122,0,.09)}.visit-seat-choice.is-used{border-color:#e3b45f;background:#fff9eb}.visit-seat-choice.is-inactive{opacity:.62;background:#f2f1ed}.visit-seat-warning{gap:4px}.visit-seat-warning strong{display:block;font-size:11px;line-height:1.5;color:#a33b23}.visit-seat-warning.is-shortage{border-color:#e5a27d;background:#fff0e8;color:#8c321c}.visit-seat-current{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.visit-seat-current .visit-place{margin:0}.visit-seat-edit-sheet,.visit-create-sheet{max-width:760px}.visit-seat-entry>.label small{font-weight:700;color:var(--muted)}
@media(max-width:760px){.store-seat-main{grid-template-columns:1fr}.store-seat-capacity{min-width:0}.visit-seat-choice-grid{grid-template-columns:1fr;max-height:300px}.visit-seat-current{grid-template-columns:1fr}.visit-seat-current .state-btn{width:100%}}

/* fix40 追加調整 */
.visit-seat-instruction{display:grid;gap:4px;margin-bottom:10px}.visit-seat-instruction>small,.visit-guest-heading>span{color:var(--muted);font-size:12px;line-height:1.5}.visit-guest-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:18px 0 10px}.visit-guest-heading>b{font-size:15px}.visit-seat-choice.recommended{border-color:#87c996;background:#f4fff6}.visit-seat-choice.recommended em{background:#dff5e4}.visit-seat-choice.is-reserved em{background:#e8f2ff;color:#275d8a}.visit-seat-warning{display:grid;gap:4px;margin:10px 0;padding:11px 13px;border:1px solid #d9e5dc;border-radius:13px;background:#f6fbf7}.visit-seat-warning.is-used{border-color:#e8c77d;background:#fff9e9}.store-seat-create-card .input-with-unit,.store-seat-main .input-with-unit{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.store-seat-create-card .input-with-unit>span,.store-seat-main .input-with-unit>span{font-weight:900;color:var(--muted)}
@media(max-width:600px){.visit-guest-heading{display:grid;gap:3px}.visit-seat-choice{grid-template-columns:auto minmax(0,1fr)}.visit-seat-choice em{grid-column:2;justify-self:start}}

.visit-guest-grid .btn.active{background:#111;color:#fff;border-color:#111;box-shadow:0 0 0 3px rgba(255,122,0,.16)}.visit-create-sheet>#createVisitButton{margin-top:16px}

/* v1.1.0 公開メニュー・空席状況・店舗ミニホームページ管理 */
.public-pages-admin{padding-bottom:64px}.public-page-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:18px 0;padding:26px 28px;border:1px solid #e7dfd3;border-radius:24px;background:linear-gradient(135deg,#fff 0%,#fff8ed 65%,#f0f8ee 100%);box-shadow:0 16px 42px rgba(56,43,28,.08)}.public-page-intro span,.public-page-intro small{display:block;color:#a85200;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.public-page-intro h1{margin:5px 0 8px;font-size:clamp(24px,3vw,36px);line-height:1.2}.public-page-intro p{margin:0;max-width:760px;color:var(--muted);font-weight:700;line-height:1.7}.public-page-slug{flex:0 0 auto;min-width:190px;padding:14px 18px;border:1px solid rgba(255,122,0,.22);border-radius:16px;background:rgba(255,255,255,.82)}.public-page-slug b{display:block;margin-top:5px;overflow-wrap:anywhere;font-size:16px}.public-page-section-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}.public-page-section-tabs button{display:grid;gap:4px;padding:18px 20px;border:1px solid #ded8ce;border-radius:18px;background:#fff;color:var(--text);text-align:left;cursor:pointer;box-shadow:0 7px 20px rgba(42,34,26,.045);transition:.16s ease}.public-page-section-tabs button:hover{border-color:#efad67;transform:translateY(-1px)}.public-page-section-tabs button.active{border-color:#ff7a00;background:#fff8ec;box-shadow:0 0 0 3px rgba(255,122,0,.09)}.public-page-section-tabs span{font-size:17px;font-weight:900}.public-page-section-tabs small{color:var(--muted);font-weight:700}.public-page-url-card{margin-bottom:18px;padding:22px}.public-page-url-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.public-page-url-heading h2{margin:3px 0 4px}.public-page-url-heading p{margin:0;color:var(--muted);font-weight:700}.public-page-url-box{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:17px}.public-page-url-box>div{display:flex;gap:8px;flex-wrap:wrap}.public-page-url-box input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#f8f7f4}.public-page-safe-note{display:flex;gap:12px;align-items:center;margin-top:14px;padding:12px 14px;border-radius:13px;background:#fff6df;color:#704900}.public-page-safe-note span{color:#775f33;font-size:13px;font-weight:700}.public-page-editor,.public-photo-settings,.public-link-settings{margin-bottom:18px;padding:22px}.public-page-editor>.row,.public-photo-settings>.row,.public-link-settings>.row{align-items:flex-start}.public-master-switch{display:flex;align-items:center;gap:10px;padding:13px 15px;border:1px solid #e2d9cc;border-radius:14px;background:#faf8f4;font-weight:900;cursor:pointer}.public-master-switch input{width:22px;height:22px;accent-color:#ff7a00}.public-introduction{min-height:160px;resize:vertical;line-height:1.75}.public-service-switches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.public-option-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.public-service-switches label,.public-option-list label{display:flex;align-items:flex-start;gap:11px;padding:16px;border:1px solid #e4ddd3;border-radius:16px;background:#fbfaf7;cursor:pointer}.public-service-switches input,.public-option-list input{flex:0 0 auto;width:21px;height:21px;margin-top:2px;accent-color:#ff7a00}.public-service-switches span,.public-option-list span{display:grid;gap:4px}.public-service-switches b,.public-option-list b{font-size:15px}.public-service-switches small,.public-option-list small{color:var(--muted);line-height:1.5}.public-feature-sync{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:8px 10px;padding:16px;border:1px solid #e4ddd3;border-radius:16px;background:#fbfaf7}.public-feature-sync>span{padding:4px 8px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap}.public-feature-sync.enabled>span{background:#e7f5e8;color:#286534}.public-feature-sync.disabled>span{background:#f0efec;color:#777}.public-feature-sync>div{display:grid;gap:4px}.public-feature-sync b{font-size:15px}.public-feature-sync small{color:var(--muted);line-height:1.5}.public-feature-sync .tab{grid-column:1/-1;width:100%;margin-top:2px}.public-theme-panel{display:grid;gap:12px;padding:18px;border:1px solid #e4ddd3;border-radius:18px;background:#fbfaf7}.public-theme-panel h3{margin:0 0 3px}.public-theme-panel p{margin:0}.public-theme-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.public-theme-choice{position:relative;display:grid;place-items:center;gap:7px;padding:10px 6px;border:2px solid transparent;border-radius:14px;background:#fff;cursor:pointer}.public-theme-choice input{position:absolute;opacity:0;pointer-events:none}.public-theme-choice:has(input:checked){border-color:#ff7a00;box-shadow:0 0 0 3px rgba(255,122,0,.1)}.public-theme-swatch{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,var(--swatch-start),var(--swatch-end));box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}.public-theme-choice b{font-size:12px}.public-theme-choice.theme-green{--swatch-start:#22332b;--swatch-end:#426a55}.public-theme-choice.theme-brown{--swatch-start:#35261f;--swatch-end:#765844}.public-theme-choice.theme-red{--swatch-start:#401a20;--swatch-end:#8a3b45}.public-theme-choice.theme-black{--swatch-start:#0d0d0d;--swatch-end:#3b3b3b}.public-theme-choice.theme-navy{--swatch-start:#14243b;--swatch-end:#35577e}.public-theme-choice.theme-orange{--swatch-start:#63300f;--swatch-end:#b65e20}.public-theme-choice.theme-sky{--swatch-start:#1d566e;--swatch-end:#57a6c7}.public-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.public-photo-grid article{overflow:hidden;border:1px solid #e2dbd2;border-radius:16px;background:#fff}.public-photo-grid img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#f3f1ed}.public-photo-grid article>div{display:flex;align-items:center;justify-content:center;gap:6px;padding:9px}.public-photo-grid article>div span{flex:1;text-align:center;font-size:12px;font-weight:900;color:var(--muted)}.public-photo-picker{display:grid;place-items:center;gap:4px;min-height:108px;padding:20px;border:2px dashed #d8cab8;border-radius:16px;background:#fffaf2;color:#a84f00;cursor:pointer}.public-photo-picker span{font-size:17px;font-weight:900}.public-photo-picker small{color:#7c6a54;font-weight:700}.public-photo-picker input{position:absolute;width:1px;height:1px;opacity:0}.public-empty-media{grid-column:1/-1;padding:24px;border:1px dashed #d9d2c8;border-radius:14px;background:#faf9f6;color:var(--muted);text-align:center;font-weight:800}.public-link-list{display:grid;gap:10px}.public-link-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;border:1px solid #e3ddd4;border-radius:16px;background:#fbfaf8}.public-link-order{display:grid;gap:5px}.public-link-fields{display:grid;grid-template-columns:minmax(140px,.7fr) minmax(220px,1.3fr);gap:9px}.public-link-fields>div{grid-column:1/-1;display:flex;gap:18px;flex-wrap:wrap}.public-link-fields>div label{font-size:13px;font-weight:800}.public-link-fields input[type=checkbox]{accent-color:#ff7a00}.public-link-actions{display:grid;gap:7px}.public-link-add{display:grid;grid-template-columns:minmax(130px,.7fr) minmax(220px,1.3fr) auto auto auto;align-items:center;gap:9px;padding:14px;border:1px dashed #d7c8b5;border-radius:16px;background:#fffaf2}.public-link-add label{white-space:nowrap;font-size:12px;font-weight:800}.public-link-add input[type=checkbox]{accent-color:#ff7a00}.public-seat-privacy{display:grid;gap:4px;padding:15px 17px;border:1px solid #cfe1d0;border-radius:15px;background:#f2faf2;color:#285d31}.public-seat-privacy span{font-size:13px;line-height:1.6;font-weight:700}.public-page-qr-sheet{text-align:center;max-width:560px}.public-page-qr-sheet>.row{text-align:left}.public-page-qr-sheet>img{display:block;width:min(360px,80vw);height:auto;margin:18px auto;border:12px solid #fff;border-radius:18px;box-shadow:0 10px 32px rgba(0,0,0,.1)}.public-page-qr-sheet>p{color:var(--muted);font-weight:700}
@media(max-width:850px){.public-page-intro{display:grid;padding:21px}.public-page-slug{min-width:0}.public-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-link-row{grid-template-columns:1fr}.public-link-order,.public-link-actions{display:flex}.public-link-fields{grid-template-columns:1fr}.public-link-add{grid-template-columns:1fr 1fr}.public-link-add>.input{grid-column:1/-1}.public-link-add>.btn{grid-column:1/-1}}
@media(max-width:620px){.public-page-section-tabs{grid-template-columns:1fr}.public-page-section-tabs button{padding:14px 16px}.public-page-intro,.public-page-url-card,.public-page-editor,.public-photo-settings,.public-link-settings{padding:16px;border-radius:17px}.public-page-url-heading,.public-page-editor>.row,.public-photo-settings>.row,.public-link-settings>.row{display:grid}.public-page-url-box>div>*{flex:1 1 calc(50% - 8px)}.public-master-switch{width:100%}.public-service-switches,.public-option-list,.public-photo-grid{grid-template-columns:1fr}.public-link-add{grid-template-columns:1fr}.public-link-add>*{grid-column:auto!important}.public-link-fields{grid-template-columns:1fr}.public-link-fields>div{grid-column:auto}.public-page-safe-note{display:grid}.public-page-qr-sheet>img{width:min(300px,78vw)}}
@media print{.public-page-qr-sheet{box-shadow:none!important}.public-page-qr-sheet .row button,.public-page-qr-sheet .takeaway-qr-actions,.public-page-qr-sheet input{display:none!important}}
@media print{
  body:has(.public-page-qr-sheet){background:#fff!important}
  body:has(.public-page-qr-sheet) *{visibility:hidden!important}
  .public-page-qr-sheet,.public-page-qr-sheet *{visibility:visible!important}
  .modal:has(.public-page-qr-sheet){position:static!important;display:block!important;background:#fff!important;padding:0!important}
  .public-page-qr-sheet{position:absolute!important;left:0;top:0;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:15mm!important;border-radius:0!important;background:#fff!important;text-align:center!important}
  .public-page-qr-sheet>img{width:110mm!important;max-width:80vw!important;margin:10mm auto!important;border:0!important;box-shadow:none!important}
}

@media(max-width:900px){.public-service-switches{grid-template-columns:1fr}.public-theme-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:520px){.public-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.1.0-fix11 店舗写真管理 */
.public-photo-grid article{position:relative}.public-photo-preview{position:relative}.public-photo-main-badge{position:absolute;left:9px;top:9px;padding:5px 9px;border-radius:999px;background:#1f6d49;color:#fff;font-size:11px;font-weight:900;box-shadow:0 4px 12px rgba(0,0,0,.18)}.public-photo-grid article.is-main{border-color:#66a584;box-shadow:0 0 0 3px rgba(71,119,92,.10)}.public-photo-actions{display:flex!important;flex-wrap:wrap;align-items:center!important;justify-content:center!important}.public-photo-actions span{min-width:58px}.public-photo-main-button{flex-basis:100%;color:#216446}.public-photo-picker input[multiple]{position:absolute;width:1px;height:1px;opacity:0}

/* v1.1.0-fix14 共通オプション管理・商品への複数紐づけ */
.product-option-create-settings{display:grid;gap:14px}
.product-option-picker{display:grid;gap:10px}
.product-option-pick-card{overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.product-option-pick-card.is-selected{border-color:#ff8a22;background:#fffaf3;box-shadow:0 0 0 3px rgba(255,122,0,.08)}
.product-option-pick-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 13px}
.product-option-pick-head>label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;cursor:pointer}
.product-option-pick-head input{width:21px;height:21px;margin:1px 0 0;accent-color:#ff7a00}
.product-option-pick-head label>span{display:grid;gap:3px;min-width:0}
.product-option-pick-head label b{font-size:15px;line-height:1.35}
.product-option-pick-head label small{color:var(--muted);font-weight:700;line-height:1.45}
.option-picker-toggle{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 11px;border:1px solid var(--line);border-radius:11px;background:#faf9f6;color:var(--ink);font-weight:900;cursor:pointer}
.option-picker-toggle b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;border:1px solid var(--line);font-size:16px;line-height:1}
.option-picker-preview{padding:13px;border-top:1px solid var(--line);background:#fafaf8}
.option-picker-preview-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px}
.option-picker-preview-title span{color:var(--muted);font-size:12px;font-weight:700}
.option-picker-choices{display:flex;flex-wrap:wrap;gap:7px}
.option-picker-choice{display:grid;gap:2px;min-width:130px;padding:9px 10px;border:1px solid #ddd8d0;border-radius:10px;background:#fff}
.option-picker-choice b{font-size:13px}.option-picker-choice small{color:var(--muted);font-size:11px;font-weight:700}
.option-picker-choice.is-hidden{opacity:.55}.option-picker-choice.is-sold-out{border-color:#efc1bd;background:#fff6f5}
.option-picker-empty,.option-picker-empty-state{display:grid;gap:5px;padding:16px;border:1px dashed var(--line);border-radius:13px;background:#faf9f6;color:var(--muted)}
.option-picker-empty-state b{color:var(--ink)}.option-picker-empty-state .state-btn{justify-self:start;margin-top:5px}.option-picker-empty-state.compact{padding:12px}
.product-option-selection-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.product-option-selection-actions .autosave-status{position:static;margin:0}
.option-library-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:14px}.option-library-intro h2{margin:4px 0 6px}.option-library-intro p{margin:0;max-width:760px;color:var(--muted);line-height:1.65}
.option-library-add{margin-bottom:14px}.option-library-create-fields{display:grid;grid-template-columns:minmax(220px,1.6fr) minmax(150px,.8fr) minmax(140px,.75fr) minmax(120px,.6fr) minmax(120px,.6fr) auto;gap:10px;align-items:end}.option-library-create-fields>label{display:grid;gap:6px}.option-library-create-fields>label>span{font-size:12px;font-weight:900;color:var(--muted)}
.option-library-list{display:grid;gap:12px}.option-library-card{padding:0;overflow:hidden}.option-library-card>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:17px 18px;cursor:pointer;list-style:none}.option-library-card>summary::-webkit-details-marker{display:none}.option-library-card>summary h3{margin:3px 0;font-size:19px}.option-library-card>summary p{margin:0;color:var(--muted);font-weight:700}.option-library-summary-side{display:flex;align-items:center;gap:10px}.option-library-summary-side>b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--soft);font-size:20px}.option-library-card[open] .option-library-summary-side>b{transform:rotate(45deg)}
.option-library-body{display:grid;gap:16px;padding:0 18px 18px;border-top:1px solid var(--line)}.option-shared-notice{margin-top:16px;display:grid;gap:3px}.option-shared-notice span{color:var(--muted)}
.option-library-group-fields{display:grid;grid-template-columns:minmax(200px,1.6fr) minmax(150px,.8fr) minmax(140px,.75fr) minmax(120px,.6fr) minmax(120px,.6fr);gap:10px;align-items:end}.option-library-group-fields>label{display:grid;gap:6px}.option-library-group-fields>label>span{font-size:12px;font-weight:900;color:var(--muted)}.option-library-group-fields [hidden]{display:none!important}
.option-library-group-actions{align-items:center}.option-library-group-actions .sub{margin-left:auto;max-width:60%;text-align:right}
.option-library-items{display:grid;gap:10px;padding-top:14px;border-top:1px solid var(--line)}.option-library-items-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.option-library-items-head h4{margin:0;font-size:17px}.option-library-items-head span{color:var(--muted);font-size:12px}
.option-library-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding:12px;border:1px solid var(--line);border-radius:13px;background:#fafaf8}.option-library-item-fields{display:grid;grid-template-columns:minmax(170px,1.5fr) minmax(120px,.7fr);gap:9px}.option-library-item-fields label{display:grid;gap:5px}.option-library-item-fields span{font-size:11px;font-weight:900;color:var(--muted)}.option-library-item-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.option-library-item-actions label{display:flex;align-items:center;gap:5px;padding:8px 9px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:11px;font-weight:900}.option-library-item-actions input{width:17px;height:17px;accent-color:#ff7a00}
.option-library-item-add{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(120px,.6fr) auto;gap:9px;padding:12px;border:1px dashed #d7c8b5;border-radius:13px;background:#fffaf2}.option-library-delete{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:4px}.option-library-delete small{color:var(--muted)}
@media(max-width:1050px){.option-library-create-fields,.option-library-group-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.option-library-create-fields>.btn{grid-column:1/-1}.option-library-item{grid-template-columns:1fr}.option-library-item-actions{justify-content:flex-start}}
@media(max-width:650px){.product-option-pick-head{grid-template-columns:1fr}.option-picker-toggle{width:100%;justify-content:space-between}.option-picker-preview-title{display:grid}.option-picker-choice{min-width:calc(50% - 4px);flex:1 1 calc(50% - 4px)}.option-library-intro,.option-library-card>summary,.option-library-delete{display:grid}.option-library-summary-side{justify-content:space-between}.option-library-create-fields,.option-library-group-fields,.option-library-item-fields,.option-library-item-add{grid-template-columns:1fr}.option-library-group-actions{display:grid}.option-library-group-actions .sub{margin:0;max-width:none;text-align:left}.option-library-item-actions{display:grid;grid-template-columns:1fr 1fr}.option-library-item-actions label,.option-library-item-actions button{width:100%}.option-library-item-actions .danger-text{grid-column:1/-1}.product-option-selection-actions{display:grid}.product-option-selection-actions .btn{width:100%}}

/* v1.1.0-fix16 opening preparation */
.ops-preparation-notice{width:min(928px,calc(100% - 32px));margin:12px auto 0;padding:14px 16px;border:1px solid #9bc8aa;background:#eaf7ee;color:#145a31;display:grid;gap:4px;box-shadow:0 6px 18px rgba(23,107,58,.08)}
.ops-preparation-notice b{font-size:16px}.ops-preparation-notice span{font-size:13px;line-height:1.65}
@media(max-width:699px){.ops-preparation-notice{width:calc(100% - 20px);margin-top:9px}}

/* v1.1.0-fix17 利用スタイル・受取口注文・客席固定QR */
.onboarding-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:28px 2px 10px;padding-top:4px}.onboarding-section-heading>div{display:grid;gap:4px}.onboarding-section-heading h2{margin:0;font-size:22px}.onboarding-section-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.onboarding-optional-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.onboarding-optional-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:17px;background:#fff}.onboarding-optional-card.complete{border-color:#c4ddcc;background:#fbfffc}.onboarding-optional-card>div{display:grid;gap:5px;min-width:0}.onboarding-optional-card h3{margin:0;font-size:17px}.onboarding-optional-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.onboarding-optional-card small{font-weight:800;color:#526057}.onboarding-optional-card .btn,.onboarding-optional-card .tab{align-self:center}
.service-mode-settings{gap:18px}.service-mode-settings h2{margin:5px 0 7px}.service-style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.service-style-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:11px;row-gap:3px;align-items:start;padding:16px;border:2px solid var(--line);border-radius:17px;background:#fff;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease,transform .16s ease}.service-style-card:hover{transform:translateY(-1px);border-color:#aeb9b1}.service-style-card.selected{border-color:#176b3a;background:#f4fbf6;box-shadow:0 0 0 3px rgba(23,107,58,.08)}.service-style-card>input{position:absolute;inset:12px 12px auto auto;width:20px;height:20px;accent-color:#176b3a}.service-style-card>span{grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#f2f2ee;font-size:23px}.service-style-card.selected>span{background:#dff4e6}.service-style-card>b{padding-right:22px;font-size:16px;line-height:1.35}.service-style-card>small{color:var(--muted);font-size:11px;line-height:1.55}.service-mode-sections{display:grid;gap:14px}.service-mode-sections>section{display:grid;gap:10px;padding:15px;border:1px solid var(--line);border-radius:15px;background:#fafaf8}.service-mode-sections h3{margin:0;font-size:16px}.service-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.service-check-grid>label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff;cursor:pointer}.service-check-grid input{width:21px;height:21px;margin:1px 0 0;accent-color:#176b3a}.service-check-grid label>span{display:grid;gap:3px}.service-check-grid b{font-size:14px}.service-check-grid small{color:var(--muted);font-size:11px;line-height:1.45}.service-pickup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.service-pickup-grid>label{display:grid;gap:6px}.service-pickup-grid>label.full{grid-column:1/-1}.service-pickup-grid textarea{min-height:86px;resize:vertical}
.store-seat-list-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:4px 0 12px}.seat-print-select{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:11px;background:#fafaf8;font-size:12px;font-weight:900;cursor:pointer}.seat-print-select input{width:18px;height:18px;accent-color:#176b3a}.seat-qr-sheet{max-width:620px;text-align:center}.seat-qr-sheet .row{text-align:left}.seat-qr-image{display:block;width:min(420px,86vw);height:auto;margin:16px auto;padding:12px;border:1px solid var(--line);border-radius:18px;background:#fff}.seat-qr-modal-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0}.seat-qr-modal-actions>*{display:grid;place-items:center;text-decoration:none;min-height:48px}.store-seat-row .seat-print-select{align-self:center}.store-seat-row.is-qr-disabled{opacity:.68}.store-seat-row .seat-qr-status{font-size:11px;font-weight:900;color:#176b3a}.store-seat-row .seat-qr-status.disabled{color:#8f1710}
.takeaway-card.is-pickup{border-left-color:#6b32b8;background:linear-gradient(90deg,rgba(107,50,184,.045),#fff 25%)}.takeaway-number-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pickup-kind,.takeaway-kind{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:1000;letter-spacing:.04em}.pickup-kind{background:#efe4ff;color:#5d259b}.takeaway-kind{background:#e8f4ff;color:#185b8f}.pickup-recall-button{border-color:#d7c2ef;background:#f6f0fc;color:#5d259b}.pickup-link{border-color:#d7c2ef!important;background:#f8f4fc!important}.pickup-dining-selector{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.pickup-dining-selector button{border:1px solid var(--line);border-radius:13px;padding:13px;background:#fff;font-weight:900;cursor:pointer}.pickup-dining-selector button.active{border-color:#176b3a;background:#eaf7ee;color:#145a31;box-shadow:0 0 0 2px rgba(23,107,58,.08)}.pickup-order-type-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:12px 14px;border:1px solid #c7dbce;border-radius:13px;background:#f4fbf6}.pickup-order-type-summary b{font-size:15px}.pickup-order-type-summary span{color:#526057;font-size:12px;font-weight:800}.pickup-customer-body .takeout-customer-head{border-bottom-color:#d8c8e8}.pickup-customer-body .takeout-store-mark{background:#6b32b8}.pickup-customer-body .takeout-cartbar{background:#3e235f}.pickup-customer-body .takeout-ready-callout{border-color:#cbb0e9;background:#f6f0fc;color:#42225f}.pickup-customer-body .takeout-order-number b{color:#5d259b}
@media(max-width:820px){.service-style-grid{grid-template-columns:1fr}.onboarding-optional-grid{grid-template-columns:1fr}.seat-qr-modal-actions{grid-template-columns:1fr}.service-pickup-grid{grid-template-columns:1fr}.service-pickup-grid>label.full{grid-column:auto}}
@media(max-width:620px){.onboarding-section-heading{display:grid}.onboarding-optional-card{grid-template-columns:1fr}.onboarding-optional-card .btn,.onboarding-optional-card .tab{width:100%}.service-check-grid{grid-template-columns:1fr}.service-mode-settings{padding:13px}.service-style-card{padding:14px}.pickup-dining-selector{grid-template-columns:1fr}.pickup-order-type-summary{display:grid}.store-seat-list-actions{display:grid}.store-seat-list-actions>*{width:100%}}
@media print{body:has(.seat-qr-sheet){background:#fff!important}body:has(.seat-qr-sheet) *{visibility:hidden!important}.seat-qr-sheet,.seat-qr-sheet *{visibility:visible!important}.modal:has(.seat-qr-sheet){position:static!important;display:block!important;background:#fff!important;padding:0!important}.seat-qr-sheet{position:absolute!important;inset:0!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;border-radius:0!important;padding:12mm!important;background:#fff!important}.seat-qr-sheet .seat-qr-modal-actions,.seat-qr-sheet .row button,.seat-qr-sheet input,.seat-qr-sheet .notice{display:none!important}.seat-qr-image{width:105mm!important;max-width:none!important;border:0!important}}

/* v1.2.0 飲み放題・食べ放題プラン */
.service-plan-management-page{display:grid;gap:16px;padding-bottom:50px}.page-title-row{align-items:flex-end}.service-plan-master-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.service-plan-master-card{display:grid;gap:12px}.service-plan-master-card h2{margin:5px 0 2px}.service-plan-master-card p{margin:0;color:var(--muted);line-height:1.6}.service-plan-master-description{white-space:pre-wrap}.service-plan-master-meta{display:grid;gap:5px;padding:12px;border-radius:12px;background:#f7f7f3;font-size:12px;font-weight:800}.service-plan-modal .sheet{width:min(920px,calc(100% - 22px))}.service-plan-editor-sheet,.visit-service-plan-sheet{display:grid;gap:16px;max-height:92vh;overflow:auto}.service-plan-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.service-plan-form-grid label{display:grid;gap:6px}.service-plan-form-grid label>span{font-size:12px;font-weight:900;color:var(--muted)}.service-plan-form-grid .wide{grid-column:1/-1}.service-plan-switches{display:flex;gap:9px;flex-wrap:wrap}.service-plan-switches label{display:flex;align-items:center;gap:8px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:900}.service-plan-switches input{width:20px;height:20px;accent-color:#176b3a}.service-plan-products-editor{display:grid;gap:12px;padding:15px;border:1px solid var(--line);border-radius:15px;background:#fafaf8}.service-plan-products-editor h3,.service-plan-products-editor p{margin:0}.service-plan-products-editor p{color:var(--muted);font-size:12px}.service-plan-product-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.service-plan-product-group h3{grid-column:1/-1;margin:6px 0 0;font-size:15px}.service-plan-product-group label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:11px;background:#fff}.service-plan-product-group input{width:20px;height:20px}.service-plan-product-group span{display:grid;gap:2px}.service-plan-product-group small{color:var(--muted)}.service-plan-editor-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;position:sticky;bottom:-16px;padding:12px 0 2px;background:linear-gradient(transparent,#fff 25%)}
.visit-service-plan-summary{display:grid;gap:7px;margin:11px 0;padding:12px;border:1px solid #a8d1b5;border-radius:13px;background:#f1faf4}.visit-service-plan-summary>div{display:flex;justify-content:space-between;gap:10px}.visit-service-plan-summary>span{display:flex;justify-content:space-between;gap:10px;font-size:12px}.visit-service-plan-summary small{color:var(--muted)}.visit-service-plan-active-list{display:grid;gap:10px}.visit-service-plan-card{display:grid;gap:12px}.visit-service-plan-card h3,.visit-service-plan-card p{margin:3px 0}.visit-service-plan-card>dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}.visit-service-plan-card dl>div{display:flex;justify-content:space-between;gap:8px;padding:8px;background:#f7f7f3;border-radius:9px}.visit-service-plan-card dt{color:var(--muted);font-size:11px;font-weight:900}.visit-service-plan-card dd{margin:0;font-size:12px;font-weight:900}.visit-service-plan-actions{display:flex;gap:7px;flex-wrap:wrap}.visit-service-plan-start{display:grid;gap:12px}.service-plan-start-grid{display:grid;grid-template-columns:2fr 1fr;gap:10px}.service-plan-start-grid label{display:grid;gap:6px}.visit-service-plan-history,.visit-service-plan-charges{display:grid;gap:9px}.visit-service-plan-charges>div,.customer-plan-charge-history>div{display:flex;justify-content:space-between;gap:10px;padding:11px;border-bottom:1px solid var(--line)}.visit-service-plan-charges span,.customer-plan-charge-history span{display:grid;gap:2px}.visit-service-plan-charges small,.customer-plan-charge-history small{color:var(--muted)}
.service-plan-active-banner,.customer-service-plan-banner{display:grid;gap:9px;margin:12px 0;padding:13px;border:1px solid #9bc8aa;border-radius:14px;background:#eff9f2}.service-plan-active-banner>div,.customer-service-plan-banner>div{display:flex;align-items:center;gap:8px}.service-plan-active-banner>span{display:flex;justify-content:space-between;gap:10px}.service-plan-active-banner small{color:var(--muted)}.service-plan-order-choice,.customer-plan-price-choice{display:grid;gap:8px;margin:14px 0;padding:13px;border:1px solid #9bc8aa;border-radius:14px;background:#eff9f2}.service-plan-order-choice>label,.customer-plan-price-choice>label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:center;padding:10px;border:1px solid #b9d8c3;border-radius:10px;background:#fff;cursor:pointer}.service-plan-order-choice input,.customer-plan-price-choice input{width:21px;height:21px;accent-color:#176b3a}.service-plan-order-choice label span,.customer-plan-price-choice label span{display:flex;gap:8px;align-items:center}.service-plan-order-choice strong,.customer-plan-price-choice strong{min-width:58px;color:#176b3a}.customer-plan-price-choice>div{display:grid;gap:3px}.customer-plan-price-choice>div span{font-size:11px;color:var(--muted)}.service-plan-product-description,.customer-product-description{margin:7px 0;white-space:pre-wrap;color:var(--muted);line-height:1.55}.service-plan-product-pill{margin:4px 5px 0 0}.customer-product .price{display:flex;align-items:baseline;gap:7px}.customer-product .price small{font-size:11px;color:var(--muted);text-decoration:line-through}.customer-service-plan-banner article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;padding:10px;border-radius:10px;background:#fff}.customer-service-plan-banner article span{font-size:12px;font-weight:900}.customer-service-plan-banner article small{font-size:11px;color:var(--muted)}.customer-plan-floating-notice{position:fixed;z-index:10000;left:50%;top:18px;transform:translateX(-50%);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;width:min(520px,calc(100% - 24px));padding:16px;border:3px solid #d97900;border-radius:16px;background:#fff9e8;box-shadow:0 14px 36px rgba(0,0,0,.25)}.customer-plan-floating-notice b,.customer-plan-floating-notice span{grid-column:1}.customer-plan-floating-notice button{grid-column:2;grid-row:1/3;border:0;border-radius:10px;padding:0 14px;background:#176b3a;color:#fff;font-weight:900}.service-plan-history-label{display:block;color:#176b3a!important;font-weight:900}.service-plan-charge-row{background:#f1faf4}.customer-plan-charge-history{margin-top:12px}.customer-plan-charge-history h2{margin:0 0 7px}
@media(max-width:760px){.service-plan-master-list,.service-plan-form-grid,.service-plan-product-group,.service-plan-start-grid{grid-template-columns:1fr}.service-plan-form-grid .wide,.service-plan-product-group h3{grid-column:auto}.page-title-row{display:grid}.page-title-row .btn{width:100%}.service-plan-editor-actions{display:grid}.service-plan-editor-actions .btn{width:100%}.visit-service-plan-card>dl{grid-template-columns:1fr}.service-plan-active-banner>span{display:grid}.customer-plan-floating-notice{top:10px}.customer-service-plan-banner article{grid-template-columns:1fr}}

/* v1.2 売上履歴内のプラン明細 */
.service-plan-report-section{border:1px solid rgba(245,158,11,.28);background:rgba(245,158,11,.06)}
.service-plan-item-badge{display:inline-flex;width:max-content;margin-top:.3rem;padding:.18rem .5rem;border-radius:999px;background:rgba(34,197,94,.12);color:#166534;font-weight:700}
.report-plan-history{margin:1rem 0;padding:1rem;border:1px solid var(--line,#e5e7eb);border-radius:16px;background:var(--surface,#fff)}
.report-plan-history h3{margin:0 0 .75rem}
.report-plan-history-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.7rem 0;border-top:1px solid var(--line,#e5e7eb)}
.report-plan-history-row:first-of-type{border-top:0}
.report-plan-history-row span:first-child{display:grid;gap:.2rem}
.report-plan-history-row small{color:var(--muted,#64748b)}
@media(max-width:640px){.report-plan-history-row{align-items:flex-start}.report-plan-history-row small{line-height:1.6}}

.product-modal-description{margin:7px 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;color:var(--muted)}

/* v1.2.0-fix01: プラン種類・時間設定に応じた不要項目の確実な非表示 */
.service-plan-form-grid [hidden]{display:none!important}

/* v1.2.0-fix04 放題メニューLO区分の誤登録防止 */
/* v1.2.0-fix05 放題メニュー作成・編集フォームを縦並びに改善 */
.service-plan-page-title{align-items:flex-start}.service-plan-separation-notice{display:grid;gap:4px;border-color:#f0c45e;background:#fff7d9}.service-plan-management-section{display:grid;gap:14px;padding:18px 0;border-top:1px solid var(--line)}.service-plan-management-section:first-of-type{border-top:0}.service-plan-section-head{align-items:flex-end;gap:14px}.service-plan-section-head h2,.service-plan-section-head p{margin:0}.service-plan-section-actions,.service-plan-category-actions,.service-plan-product-extra-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.service-plan-dedicated-menu-list{display:grid;gap:13px}.service-plan-menu-category-card{display:grid;gap:12px}.service-plan-dedicated-products{display:grid;gap:8px}.service-plan-dedicated-product{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:13px;background:#fafaf8}.service-plan-dedicated-product-media{width:70px;height:70px;border-radius:11px;overflow:hidden;background:#f0efe9}.service-plan-dedicated-product-media>img{width:100%;height:100%;object-fit:cover}.service-plan-product-thumb{width:70px;height:70px}.service-plan-dedicated-product-main{display:grid;gap:4px;min-width:0}.service-plan-dedicated-product-main>b{font-size:16px}.service-plan-dedicated-product-main>small{display:-webkit-box;overflow:hidden;color:var(--muted);line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:pre-wrap}.service-plan-dedicated-product-main>span{display:flex;gap:6px;flex-wrap:wrap}.service-plan-dedicated-product-main em{padding:3px 7px;border-radius:999px;background:#eef6f0;color:#176b3a;font-size:11px;font-style:normal;font-weight:900}.service-plan-small-sheet{display:grid;gap:16px;max-width:580px}.service-plan-small-sheet label{display:grid;gap:6px}.service-plan-product-editor-sheet{display:grid;gap:16px;max-height:92vh;overflow:auto}.service-plan-product-editor-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px}.service-plan-product-editor-layout>section:first-child{display:grid;align-content:start;gap:9px}.service-plan-product-image-box{display:grid;place-items:center;aspect-ratio:1;border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#f6f5f0}.service-plan-product-image-box>img{width:100%;height:100%;object-fit:cover}.service-plan-product-image-preview{width:100%;height:100%}.service-plan-image-file-label{cursor:pointer}.service-plan-product-fields{display:grid;grid-template-columns:1fr;gap:12px;min-width:0}.service-plan-product-fields label{display:grid;gap:6px}.service-plan-product-fields label>span{font-size:12px;font-weight:900;color:var(--muted)}.service-plan-product-fields .wide{grid-column:auto}.service-plan-option-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.service-plan-option-picker label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:11px;background:#fff}.service-plan-option-picker input{width:20px;height:20px}.service-plan-option-picker span{display:grid;gap:2px}.service-plan-option-picker small{color:var(--muted)}.staff-order-menu-scope-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 16px 0}.staff-order-menu-scope-tabs button{display:grid;gap:2px;padding:12px;border:1px solid var(--line);border-radius:13px;background:#fff;text-align:left}.staff-order-menu-scope-tabs button.active{border-color:#1b7b43;background:#eff9f2;box-shadow:inset 0 0 0 1px #1b7b43}.staff-order-menu-scope-tabs b{font-size:14px}.staff-order-menu-scope-tabs small{color:var(--muted)}.staff-order-product.service-plan-product{border-color:#a8d2b5;background:#f5fbf7}.service-plan-order-menu-notice{margin:0 0 12px}.customer-service-plan-menu{display:grid;gap:13px;margin:16px 0 24px;padding:16px;border:2px solid #81b991;border-radius:18px;background:#eff9f2}.customer-service-plan-menu-head{display:grid;gap:3px}.customer-service-plan-menu-head h1,.customer-service-plan-menu-head p{margin:0}.customer-service-plan-menu-head p{color:var(--muted);font-size:13px}.customer-service-plan-menu-section{margin:0}.customer-service-plan-menu-section>h2{color:#176b3a}.customer-service-plan-product{border-color:#a8d2b5}.customer-normal-menu{display:grid;gap:12px}.customer-normal-menu-head h1,.customer-normal-menu-head p{margin:0}.empty-state.compact{padding:16px}
@media(max-width:760px){.service-plan-section-head{display:grid}.service-plan-section-actions,.service-plan-category-actions,.service-plan-product-extra-actions{display:grid;justify-content:stretch}.service-plan-section-actions .btn,.service-plan-category-actions .tab,.service-plan-product-extra-actions .btn{width:100%}.service-plan-dedicated-product{grid-template-columns:58px minmax(0,1fr)}.service-plan-dedicated-product>.btn{grid-column:1/-1;width:100%}.service-plan-dedicated-product-media,.service-plan-product-thumb{width:58px;height:58px}.service-plan-product-editor-layout,.service-plan-product-fields,.service-plan-option-picker{grid-template-columns:1fr}.service-plan-product-fields .wide{grid-column:auto}.staff-order-menu-scope-tabs{grid-template-columns:1fr 1fr;padding:10px 12px 0}.customer-service-plan-menu{margin-left:-4px;margin-right:-4px;padding:12px}}

/* v1.2.0-fix09 放題プランを通常メニューへ統合 */
.customer-service-plan-offers{margin:18px 0}.customer-service-plan-offer-grid,.staff-order-plan-grid{display:grid;gap:12px}.customer-service-plan-offer,.staff-order-plan-card{display:flex;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--line,#dfe5e8);border-radius:16px;background:#fff;text-align:left}.customer-service-plan-offer h2,.staff-order-plan-card b{margin:5px 0}.customer-service-plan-offer small,.staff-order-plan-card i{display:block;white-space:pre-line}.customer-service-plan-offer-status{display:flex;flex-direction:column;justify-content:center;text-align:right;min-width:140px}.customer-service-plan-offer.closed,.staff-order-plan-card.closed{opacity:.65}.staff-order-plan-offers{margin:16px 0}.staff-order-plan-card{width:100%;cursor:pointer}.staff-order-plan-card span{display:flex;flex-direction:column;gap:3px}.staff-order-plan-card strong{align-self:center}.staff-order-plan-card.active{border-color:#2d8f58}.staff-order-plan-card:disabled{cursor:default}@media(max-width:640px){.customer-service-plan-offer,.staff-order-plan-card{flex-direction:column}.customer-service-plan-offer-status{text-align:left;min-width:0}.staff-order-plan-card strong{align-self:flex-start}}
/* v1.2.0-fix10: customer-started service plans */
.customer-service-plan-offers{margin-top:42px}
.customer-service-plan-offer-status .btn{min-width:170px}
.service-plan-first-order-note{display:block;margin-top:10px;font-weight:700}
.service-plan-start-sheet{max-height:92vh;overflow:auto}
.service-plan-description{margin:18px 0}
.service-plan-guest-select{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:18px 0;border-top:1px solid var(--line,#ddd);border-bottom:1px solid var(--line,#ddd)}
.service-plan-guest-select .qty{display:flex;align-items:center;gap:12px}
.service-plan-guest-select small{width:100%;text-align:right}
.service-plan-first-product{margin:22px 0}
.service-plan-first-product h3{margin-bottom:4px}
.service-plan-first-product-list{display:grid;gap:10px;margin-top:14px}
.service-plan-first-product-row{display:block;cursor:pointer}
.service-plan-first-product-row input{position:absolute;opacity:0;pointer-events:none}
.service-plan-first-product-row>span{display:flex;align-items:center;gap:12px;padding:12px;border:2px solid var(--line,#ddd);border-radius:16px;background:#fff}
.service-plan-first-product-row input:checked+span{border-color:#111;box-shadow:0 0 0 2px rgba(0,0,0,.06)}
.service-plan-first-product-row img,.service-plan-first-product-row .customer-thumb{width:58px;height:58px;object-fit:cover;border-radius:12px;flex:0 0 58px}
.service-plan-first-product-row .misemaru-no-photo small,.service-plan-first-product-row .misemaru-no-photo b{display:none}
.service-plan-cart-row .cart-detail-main{display:grid;gap:8px}
.service-plan-cart-first{padding:10px 12px;border-radius:12px;background:#f5f5f5}
@media(max-width:600px){.customer-service-plan-offer-status .btn{width:100%}.service-plan-guest-select small{text-align:left}}

/* v1.2.0-fix13 営業画面の情報整理・操作導線の単純化 */
.ops-main{padding-top:12px}
.ops-attention-strip:empty,.ops-attention-strip.is-empty{display:none}
.ops-attention-strip{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin:0 0 12px}
.ops-attention-item{min-height:64px;padding:10px 13px}
.ops-attention-item b{font-size:25px}
.ops-reservation-compact{margin-bottom:12px;border-radius:16px;box-shadow:0 4px 16px rgba(35,42,55,.05)}
.ops-reservation-compact .ops-reservation-panel-head{min-height:62px;padding:11px 15px;border-bottom:0;background:#fff}
.ops-reservation-compact-title{display:flex;align-items:center;gap:12px;min-width:0}
.ops-reservation-compact-title .staff-order-kicker{font-size:9px;line-height:1.2}
.ops-reservation-compact .ops-reservation-panel-head h2{margin:0;font-size:18px;white-space:nowrap}
.ops-reservation-compact .ops-reservation-panel-head h2 b{font-size:13px}
.ops-reservation-compact .ops-reservation-count{min-height:30px;padding:5px 9px;font-size:11px}
.ops-reservation-compact .ops-reservation-head-actions .tab{padding:7px 12px;font-size:12px;font-weight:900}
.ops-navigation{display:grid;gap:7px;margin:0 0 12px;padding:9px 0;background:rgba(245,245,242,.96);backdrop-filter:blur(12px)}
.ops-navigation.ops-tabs{overflow:visible}
.ops-nav-row{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:8px;min-width:0}
.ops-nav-label{color:#6a6f76;font-size:10px;font-weight:1000;letter-spacing:.08em;white-space:nowrap}
.ops-status-tabs,.ops-utility-tabs{display:flex;gap:7px;min-width:0;overflow-x:auto;padding:1px 1px 3px;scrollbar-width:thin}
.ops-status-tab,.ops-utility-tab{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 12px;font-weight:900}
.ops-status-tab b,.ops-utility-tab b{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#eeeee9;color:#333;font-size:12px;line-height:1}
.ops-status-tab.active b,.ops-utility-tab.active b{background:#fff;color:#111}
.ops-utility-row{grid-template-columns:88px minmax(0,1fr) auto}
.ops-utility-tab{min-height:36px;padding:7px 11px;font-size:13px}
.ops-close-nav{min-height:38px;margin-left:5px;padding:7px 13px;border:1px solid #cf7d77;border-radius:999px;background:#fff;color:#9b241d;font-weight:900;white-space:nowrap;cursor:pointer}
.ops-close-nav:hover,.ops-close-nav.active{border-color:#b3261e;background:#fff0ef;color:#8f1710}
@media(max-width:760px){
  .ops-main{padding-top:10px}
  .ops-attention-strip{grid-template-columns:1fr 1fr;gap:6px}
  .ops-reservation-compact .ops-reservation-panel-head{display:grid;gap:8px;padding:12px}
  .ops-reservation-compact-title{justify-content:space-between}
  .ops-reservation-compact-title .staff-order-kicker{display:none}
  .ops-reservation-compact .ops-reservation-head-actions{display:grid;grid-template-columns:1fr 1fr auto;gap:6px}
  .ops-reservation-compact .ops-reservation-count{justify-content:center}
  .ops-nav-row,.ops-utility-row{grid-template-columns:1fr}
  .ops-nav-label{padding-left:2px}
  .ops-utility-row{gap:6px}
  .ops-close-nav{width:100%;margin:1px 0 0;border-radius:12px}
}
@media(max-width:460px){
  .ops-attention-strip{grid-template-columns:1fr}
  .ops-reservation-compact .ops-reservation-head-actions{grid-template-columns:1fr 1fr}
  .ops-reservation-compact .ops-reservation-head-actions .tab{grid-column:1/-1;width:100%}
}

/* v1.2.0-fix14: 売切れ切替のカテゴリ絞り込み */
.soldout-filter-panel{display:grid;gap:10px;margin:0 0 20px;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 24px rgba(38,31,22,.05)}
.soldout-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.soldout-filter-heading>div{display:grid;gap:2px}
.soldout-filter-heading b{font-size:15px}
.soldout-filter-heading span{font-size:12px;color:var(--muted)}
.soldout-filter-heading strong{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#f3f3ef;font-size:12px}
.soldout-category-tabs{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 4px;scrollbar-width:thin;overscroll-behavior-inline:contain}
.soldout-category-tabs button{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;min-height:42px;padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--text);font:inherit;font-weight:850;white-space:nowrap;cursor:pointer}
.soldout-category-tabs button small{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ecece8;color:#555;font-size:11px}
.soldout-category-tabs button.active{background:#111;color:#fff;border-color:#111}
.soldout-category-tabs button.active small{background:#fff;color:#111}
@media(max-width:640px){.soldout-filter-panel{margin-bottom:14px;padding:12px}.soldout-filter-heading{align-items:flex-start}.soldout-filter-heading span{display:none}.soldout-category-tabs button{min-height:40px;padding:8px 12px}}

/* v1.2.0-fix16: new visit reception flow */
.visit-create-sheet{width:min(820px,94vw);max-height:94vh;overflow:auto}
.visit-create-step{margin-top:18px}
.visit-create-step:first-of-type{margin-top:14px}
.visit-guest-heading>b,.visit-seat-instruction>.label,.visit-parking-entry>.label,.visit-location-entry>.label{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:1000}
.visit-guest-heading>b>span,.visit-seat-instruction>.label>span:first-child,.visit-parking-entry>.label>span:first-child,.visit-location-entry>.label>span:first-child,.visit-create-summary-head>span{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#111;color:#fff;font-size:13px;font-weight:1000}
.visit-guest-step{padding:16px;border:1px solid #e5ded4;border-radius:17px;background:#fff}
.visit-guest-step .guest-grid{margin:12px 0}
.visit-guest-grid .btn{min-height:58px}
.visit-guest-grid .btn.active{background:#ff7900;color:#fff;border-color:#ff7900;box-shadow:0 0 0 3px rgba(255,121,0,.16)}
.visit-guest-step .custom-guests{grid-template-columns:minmax(180px,auto) minmax(180px,1fr);align-items:center;margin-top:10px}
.visit-guest-step .custom-guests>span{font-size:13px;font-weight:800}
.visit-seat-filter-bar{display:flex;gap:8px;overflow-x:auto;padding:2px 1px 10px;scrollbar-width:thin}
.visit-seat-filter-bar .tab{flex:0 0 auto;white-space:nowrap}
.visit-seat-filter-bar .tab span{display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:4px;padding:0 6px;border-radius:999px;background:#ecece8;font-size:10px}
.visit-seat-filter-bar .tab.active span{background:rgba(255,255,255,.24);color:inherit}
.visit-seat-choice[hidden]{display:none!important}
.visit-parking-entry{display:grid;gap:12px;padding:16px;border:1px solid #e5ded4;border-radius:17px;background:#fffaf4}
.visit-parking-entry>label,.visit-parking-transfer{display:grid;gap:6px}
.visit-parking-entry>label>span,.visit-parking-transfer>span{font-size:13px;font-weight:900}
.visit-parking-entry small{color:var(--muted);font-size:11px;line-height:1.55}
.visit-parking-transfer{padding:12px;border:1px solid #f2c996;border-radius:13px;background:#fff}
.visit-parking-transfer>span{display:flex;align-items:center;gap:6px}
.visit-parking-transfer>span small{padding:2px 7px;border-radius:999px;background:#fff0df;color:#8b4b00;font-size:10px}
.visit-create-summary{margin-top:20px;padding:16px;border:2px solid #ded8cf;border-radius:17px;background:#fff}
.visit-create-summary-head{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.visit-create-summary-head>div{display:grid;gap:2px}
.visit-create-summary-head b{font-size:16px}
.visit-create-summary-head small{color:var(--muted);font-size:11px}
.visit-create-summary dl{display:grid;margin:0;border-top:1px solid #ece7df}
.visit-create-summary dl>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;padding:11px 0;border-bottom:1px solid #ece7df}
.visit-create-summary dl>div:last-child{border-bottom:0;padding-bottom:0}
.visit-create-summary dt{color:var(--muted);font-size:12px;font-weight:900}
.visit-create-summary dd{display:grid;gap:3px;margin:0;font-size:14px;font-weight:900;overflow-wrap:anywhere}
.visit-create-summary dd small{color:var(--muted);font-size:10px;font-weight:700}
.visit-create-submit{margin-top:16px;min-height:58px;font-size:18px}
.visit-create-submit:disabled{background:#e9e9e6!important;border-color:#e9e9e6!important;color:#777!important;opacity:1}
.visit-create-sheet #visitCreateStatus{text-align:center;margin-top:8px}
@media(max-width:600px){.visit-create-sheet{width:min(100%,96vw);padding:16px}.visit-guest-step{padding:13px}.visit-guest-step .custom-guests{grid-template-columns:1fr}.visit-create-summary dl>div{grid-template-columns:92px minmax(0,1fr)}.visit-seat-filter-bar{margin-right:-4px}.visit-create-submit{position:sticky;bottom:0;z-index:3;box-shadow:0 -8px 18px rgba(246,244,239,.92)}}

/* v1.2.0-fix20 compact visit-group operations */
.visit-group-toolbar{display:grid;gap:12px;margin:0 0 14px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(45,38,28,.05)}
.visit-group-toolbar-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.visit-group-toolbar-head h2{margin:0 0 3px;font-size:21px}
.visit-group-toolbar-head p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
.visit-group-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.visit-group-search .input{min-height:46px}
.visit-group-search .tab{min-width:76px}
.visit-group-toolbar .visit-order-filters{grid-template-columns:repeat(7,minmax(0,1fr))}
.visit-order-filter.attention:not(.active),.visit-order-filter.checkout:not(.active){border-color:#efaaa5;background:#fff5f4;color:#8f1710}
.visit-group-sort-note{color:#6d685f;font-size:11px;font-weight:800}
.visit-group-list{display:grid;gap:8px;padding-bottom:24px}
.visit-group-row{overflow:hidden;border:1px solid #dcd9d2;border-radius:17px;background:#fff;box-shadow:0 5px 18px rgba(40,34,25,.045)}
.visit-group-row.has-attention{border-color:#e1ae77;box-shadow:inset 4px 0 0 #ef8a16,0 5px 18px rgba(40,34,25,.045)}
.visit-group-row.is-expanded{border-color:#9c968c;box-shadow:0 12px 30px rgba(40,34,25,.09)}
.visit-group-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch}
.visit-group-main{display:grid;grid-template-columns:82px minmax(135px,1.15fr) minmax(200px,1.7fr) 76px 118px;align-items:center;gap:12px;width:100%;min-width:0;padding:13px 14px;border:0;background:#fff;color:inherit;text-align:left;cursor:pointer}
.visit-group-main:hover{background:#faf9f6}
.visit-group-number,.visit-group-place,.visit-group-totals{display:grid;gap:3px;min-width:0}
.visit-group-number b{font-size:22px;letter-spacing:.06em}
.visit-group-number small,.visit-group-place small,.visit-group-totals small{color:var(--muted);font-size:10px;font-weight:800}
.visit-group-place b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.visit-group-location-note{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;margin-top:3px;color:#7b4b12;font-size:11px;font-weight:800;line-height:1.35}
.visit-group-location-note i{flex:0 0 auto;display:inline-flex;align-items:center;min-height:19px;padding:2px 6px;border:1px solid #efcf9e;border-radius:999px;background:#fff7e8;color:#9b5b0a;font-style:normal;font-size:9px;font-weight:900}
.visit-group-location-note{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.visit-group-badges{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}
.visit-group-badges .pill{white-space:nowrap}
.visit-group-totals{text-align:right}
.visit-group-totals b{font-size:15px}
.visit-group-toggle{display:flex;align-items:center;justify-content:flex-end;gap:7px;color:#5f5a51;font-size:12px;font-weight:900;white-space:nowrap}
.visit-group-toggle i{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f0eee8;color:#111;font-style:normal;font-size:17px}
.visit-group-quick-actions{display:flex;align-items:center;padding:10px 12px 10px 0;background:#fff}
.visit-group-order-button{min-width:190px;white-space:nowrap;background:#ff7900}
.visit-group-detail{display:grid;gap:13px;padding:16px;border-top:1px solid var(--line);background:#fbfaf7}
.visit-group-detail .visit-place-editor{margin:0}
.visit-detail-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.visit-detail-metrics span{display:grid;gap:4px;padding:12px 14px;border:1px solid #e5e1da;border-radius:13px;background:#fff}
.visit-detail-metrics small{color:var(--muted);font-size:10px;font-weight:900}
.visit-detail-metrics b{font-size:17px}
.visit-detail-actions{display:grid;gap:11px}
.visit-detail-primary-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.visit-detail-primary-actions .btn{min-height:49px}
.visit-detail-secondary-actions{display:flex;gap:8px;flex-wrap:wrap}
.visit-permission-control{display:grid;grid-template-columns:minmax(190px,.7fr) minmax(260px,1.3fr);align-items:center;gap:12px;padding:13px 14px;border:1px solid #d7dfeb;border-radius:14px;background:#f4f8fd}
.visit-permission-control>span{font-size:13px;font-weight:900}
.visit-permission-control .input{min-height:45px}
.visit-cancel-section{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:12px;padding:14px 16px;border:1px solid #efc1bd;border-radius:14px;background:#fff8f7}
.visit-cancel-section>div{display:grid;gap:4px;min-width:0}
.visit-cancel-section b{font-size:14px;color:#7e1b17}
.visit-cancel-section span{font-size:12px;color:#7b5d59;line-height:1.5}
.visit-cancel-section .danger{flex:0 0 auto;white-space:nowrap}
.visit-empty-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:10px}

@media(max-width:1000px){
  .visit-group-toolbar .visit-order-filters{display:flex;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}
  .visit-group-toolbar .visit-order-filter{flex:0 0 auto;min-width:105px;padding:0 10px}
  .visit-group-main{grid-template-columns:76px minmax(125px,1.1fr) minmax(160px,1.4fr) 68px 102px;gap:9px;padding:12px}
  .visit-group-order-button{min-width:174px;padding-left:12px;padding-right:12px;font-size:12px}
}
@media(max-width:820px){
  .visit-group-summary{grid-template-columns:1fr}
  .visit-group-main{grid-template-columns:72px minmax(120px,1fr) minmax(160px,1.4fr) 65px 98px}
  .visit-group-quick-actions{padding:0 12px 12px}
  .visit-group-order-button{width:100%;min-width:0}
  .visit-permission-control{grid-template-columns:1fr}
}
@media(max-width:640px){
  .visit-group-toolbar{padding:13px;border-radius:15px}
  .visit-group-toolbar-head{display:grid;gap:8px}
  .visit-group-toolbar-head .visit-order-total{justify-self:start}
  .visit-group-search{grid-template-columns:1fr}
  .visit-group-search .tab{width:100%}
  .visit-group-main{grid-template-columns:62px minmax(0,1fr) auto;gap:8px;padding:12px}
  .visit-group-number{grid-column:1;grid-row:1}
  .visit-group-place{grid-column:2;grid-row:1}
  .visit-group-totals{grid-column:3;grid-row:1}
  .visit-group-badges{grid-column:1/4;grid-row:2}
  .visit-group-toggle{grid-column:1/4;grid-row:3;justify-content:flex-start;padding-top:6px;border-top:1px dashed #ddd8cf}
  .visit-group-number b{font-size:19px}
  .visit-group-place b{white-space:normal}
  .visit-group-location-note{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .visit-group-detail{padding:12px}
  .visit-detail-metrics{grid-template-columns:1fr}
  .visit-detail-secondary-actions{display:grid;grid-template-columns:1fr}
  .visit-detail-secondary-actions>*{width:100%}
  .visit-cancel-section{display:grid}
  .visit-cancel-section .danger{width:100%}
}

/* v1.2.0-fix21: full workspace staff ordering */
.staff-order-modal{align-items:center;justify-content:center;padding:12px}
.staff-order-modal .staff-order-entry-sheet{width:min(1440px,calc(100vw - 24px));max-width:1440px;height:calc(100vh - 24px);max-height:calc(100vh - 24px);padding:0;overflow:hidden;border-radius:24px;background:#f7f6f2;box-shadow:0 28px 90px rgba(0,0,0,.32)}
.staff-order-entry-sheet{display:flex;flex-direction:column;padding-bottom:0!important}
.staff-order-entry-sheet .staff-order-header{display:grid;grid-template-columns:minmax(190px,.75fr) minmax(420px,1.55fr) auto;align-items:center;gap:16px;flex:0 0 auto;padding:14px 18px;background:#fff;border-bottom:1px solid var(--line)}
.staff-order-header-title{display:grid;gap:1px;min-width:0}
.staff-order-header-title .staff-order-kicker{margin:0;font-size:10px}
.staff-order-header-title h2{margin:0!important;font-size:24px!important;line-height:1.15}
.staff-order-header-title p{margin:2px 0 0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.staff-order-visit-strip{display:flex;align-items:stretch;gap:8px;min-width:0}
.staff-order-visit-strip>span{display:grid;align-content:center;gap:1px;min-width:92px;padding:8px 11px;border:1px solid #dfdcd4;border-radius:13px;background:#faf9f6}
.staff-order-visit-strip>span.number{min-width:112px;background:#171717;color:#fff;border-color:#171717;text-align:center}
.staff-order-visit-strip>span.location{min-width:160px;max-width:260px}
.staff-order-visit-strip small{font-size:9px;font-weight:900;color:var(--muted)}
.staff-order-visit-strip .number small{color:#d5d5d5}
.staff-order-visit-strip b{font-size:14px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.staff-order-visit-strip .number b{font-size:25px;letter-spacing:.08em}
.staff-order-entry-sheet .staff-order-close{justify-self:end}
.staff-order-workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;flex:1;min-height:0;overflow:hidden}
.staff-order-catalog{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;background:#f7f6f2}
.staff-order-catalog-controls{padding:12px 16px 10px;border-bottom:1px solid #e3e0d9;background:#fff}
.staff-order-active-plans{display:flex;align-items:center;gap:12px;margin:0 0 8px;padding:8px 10px;border:1px solid #a8d2b5;border-radius:12px;background:#eff9f2}
.staff-order-active-plans>div:first-child{display:flex;align-items:center;gap:7px;white-space:nowrap}
.staff-order-active-plans>div:last-child{display:flex;align-items:center;gap:8px;min-width:0;overflow:auto}
.staff-order-active-plans>div:last-child>span{display:flex;align-items:center;gap:6px;white-space:nowrap;padding:5px 8px;border-radius:999px;background:#fff}
.staff-order-active-plans strong{font-size:12px}.staff-order-active-plans small{font-size:10px;color:var(--muted)}
.staff-order-plan-picker{margin:0 0 8px;border:1px solid #dedad2;border-radius:12px;background:#faf9f6;overflow:hidden}
.staff-order-plan-picker summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;cursor:pointer;list-style:none}
.staff-order-plan-picker summary::-webkit-details-marker{display:none}
.staff-order-plan-picker summary>div{display:flex;align-items:center;gap:8px;min-width:0}
.staff-order-plan-picker summary b{font-size:13px}.staff-order-plan-picker summary span{font-size:11px;color:var(--muted)}
.staff-order-plan-picker-action{flex:0 0 auto!important;padding:5px 9px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#333!important;font-weight:900}
.staff-order-plan-picker-list{display:grid;gap:6px;padding:8px;border-top:1px solid var(--line)}
.staff-order-plan-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;text-align:left}
.staff-order-plan-row>span{display:flex;align-items:center;gap:8px;min-width:0}.staff-order-plan-row>span small{font-size:9px;color:var(--muted)}.staff-order-plan-row b{font-size:13px}.staff-order-plan-row em{font-size:11px;font-style:normal;color:var(--muted)}
.staff-order-plan-row>strong{font-size:12px;white-space:nowrap}.staff-order-plan-row>small{grid-column:1/-1;font-size:10px;color:var(--muted)}
.staff-order-plan-row.closed{opacity:.58}.staff-order-plan-row.active{border-color:#2d8f58;background:#eff9f2}
.staff-order-menu-scope-tabs{display:flex!important;gap:7px;padding:0!important;margin:0 0 8px}
.staff-order-menu-scope-tabs button{display:flex!important;align-items:center;gap:7px;min-height:40px;padding:8px 12px!important;border-radius:11px!important}
.staff-order-menu-scope-tabs button b{font-size:13px}.staff-order-menu-scope-tabs button small{font-size:10px}
.staff-order-search-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;margin:0 0 8px}
.staff-order-search-row>label{font-size:12px;font-weight:900;white-space:nowrap}
.staff-order-entry-sheet .staff-order-search{margin:0!important}
.staff-order-entry-sheet .staff-order-search .input{height:44px!important;border:1px solid #d9d5cd!important;box-shadow:none!important}
.staff-order-section-label{margin:0 0 5px!important}
.staff-order-entry-sheet .staff-order-categories{padding:0!important;gap:6px}
.staff-order-categories button{padding:8px 12px!important;font-size:12px}
.staff-order-product-scroll{min-height:0;overflow:auto;padding:12px 16px 18px}
.staff-order-entry-sheet .staff-order-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.staff-order-entry-sheet .staff-order-product{grid-template-columns:66px minmax(0,1fr) auto;min-height:92px;padding:10px;gap:10px;border-radius:15px}
.staff-order-product-media{width:66px;height:66px;border-radius:11px}
.staff-order-product-main b{font-size:15px}.staff-order-product-main em{font-size:11px}.staff-order-product-action strong{font-size:16px}.staff-order-product-action small{font-size:9px!important}
.staff-order-cart-panel{display:flex;flex-direction:column;min-height:0;background:#fff;border-left:1px solid #dcd8d0;box-shadow:-10px 0 28px rgba(0,0,0,.045)}
.staff-order-cart-mobile-toggle{display:none}.staff-order-cart-close-label{display:none}
.staff-order-cart-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto;padding:16px 16px 12px;border-bottom:1px solid var(--line)}
.staff-order-cart-panel-head>div{display:flex;align-items:center;gap:8px}.staff-order-cart-panel-head span{font-size:13px;font-weight:900}.staff-order-cart-panel-head b{display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#111;color:#fff;font-size:12px}
.staff-order-cart-items{display:grid;align-content:start;gap:8px;flex:1;min-height:0;overflow:auto;padding:12px}
.staff-order-cart-empty{display:grid;place-items:center;gap:5px;min-height:180px;padding:20px;border:1px dashed #d5d1c9;border-radius:14px;background:#faf9f6;text-align:center}
.staff-order-cart-empty span{font-size:12px;color:var(--muted)}
.staff-order-cart-item{display:grid;gap:8px;padding:11px;border:1px solid #dedad2;border-radius:13px;background:#fff}
.staff-order-cart-item-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}
.staff-order-cart-item-head>div{display:grid;gap:4px;min-width:0}.staff-order-cart-item-head b{font-size:14px;line-height:1.35}.staff-order-cart-item-head strong{font-size:15px;white-space:nowrap}
.staff-order-cart-item>small{font-size:10px;color:var(--muted);line-height:1.45}.staff-order-cart-item>small.request{padding:6px 8px;border-radius:8px;background:#fff7d9;color:#6f5600}
.staff-order-cart-item-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:7px;border-top:1px solid #eeeae3}
.staff-order-cart-item .staff-order-mini-qty button{width:32px;height:32px;border-radius:9px}.staff-order-cart-item .staff-order-mini-qty b{min-width:24px;text-align:center}
.staff-order-cart-remove{border:1px solid #efc5c2;border-radius:9px;background:#fff;color:var(--danger);padding:7px 9px;font-size:11px;font-weight:900}
.staff-order-cart-footer{flex:0 0 auto;padding:14px;border-top:1px solid var(--line);background:#171717;color:#fff}
.staff-order-cart-footer>div{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:10px}.staff-order-cart-footer span{font-size:12px;color:#ccc;font-weight:800}.staff-order-cart-footer b{font-size:26px}
.staff-order-cart-footer .btn{width:100%;background:#ff7900;color:#fff;padding:13px}.staff-order-cart-footer .btn:disabled{background:#555;color:#ddd}
.staff-order-entry-sheet .service-plan-order-menu-notice{margin:0 0 8px;padding:9px 11px}
@media(max-width:1180px){.staff-order-workspace{grid-template-columns:minmax(0,1fr) 330px}.staff-order-entry-sheet .staff-order-products{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-order-entry-sheet .staff-order-header{grid-template-columns:minmax(160px,.6fr) minmax(360px,1.5fr) auto}.staff-order-header-title p{display:none}.staff-order-visit-strip>span.location{display:none}}
@media(max-width:900px){
  .staff-order-modal{align-items:flex-end;padding:0}
  .staff-order-modal .staff-order-entry-sheet{width:100%;max-width:none;height:96dvh;max-height:96dvh;border-radius:20px 20px 0 0}
  .staff-order-entry-sheet .staff-order-header{grid-template-columns:minmax(0,1fr) auto;padding:11px 12px;gap:10px}
  .staff-order-header-title p{display:none!important}.staff-order-header-title h2{font-size:21px!important}
  .staff-order-visit-strip{grid-column:1/-1;order:3;overflow:auto}.staff-order-visit-strip>span{min-width:92px;padding:7px 9px}.staff-order-visit-strip>span.location{display:grid}.staff-order-entry-sheet .staff-order-close{grid-column:2;grid-row:1}
  .staff-order-workspace{display:block;overflow:hidden}
  .staff-order-catalog{height:100%;padding-bottom:74px}
  .staff-order-catalog-controls{padding:9px 11px 8px}.staff-order-active-plans{margin-bottom:6px}.staff-order-plan-picker{margin-bottom:6px}
  .staff-order-search-row{grid-template-columns:1fr;gap:4px}.staff-order-search-row>label{display:none}
  .staff-order-product-scroll{padding:9px 11px 100px}
  .staff-order-entry-sheet .staff-order-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .staff-order-entry-sheet .staff-order-product{grid-template-columns:54px minmax(0,1fr);min-height:82px;padding:8px;gap:8px}.staff-order-product-media{width:54px;height:54px}.staff-order-product-action{grid-column:1/-1;display:flex!important;align-items:center;justify-content:space-between!important;border-left:0;border-top:1px solid #eeeae3;padding:6px 0 0}.staff-order-product-action small{display:block!important}
  .staff-order-cart-panel{position:fixed;left:0;right:0;bottom:0;z-index:45;height:min(72dvh,620px);border:0;border-radius:20px 20px 0 0;box-shadow:0 -18px 50px rgba(0,0,0,.28);transform:translateY(calc(100% - 72px));transition:transform .2s ease}
  .staff-order-cart-panel.is-mobile-open{transform:translateY(0)}
  .staff-order-cart-mobile-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:72px;padding:10px 14px;border:0;background:#171717;color:#fff;text-align:left}
  .staff-order-cart-mobile-toggle>span{display:grid;gap:2px}.staff-order-cart-mobile-toggle small{font-size:10px;color:#ccc}.staff-order-cart-mobile-toggle b{font-size:18px}.staff-order-cart-mobile-toggle strong{padding:9px 12px;border-radius:10px;background:#ff7900;font-size:12px}
  .staff-order-cart-panel-head{padding:12px 14px}.staff-order-cart-panel.is-mobile-open .staff-order-cart-open-label{display:none}.staff-order-cart-panel.is-mobile-open .staff-order-cart-close-label{display:inline}
  .staff-order-cart-items{padding:10px 12px}.staff-order-cart-footer{padding:11px 12px}
}
@media(max-width:560px){.staff-order-entry-sheet .staff-order-products{grid-template-columns:1fr}.staff-order-entry-sheet .staff-order-product{grid-template-columns:58px minmax(0,1fr) auto}.staff-order-product-media{width:58px;height:58px}.staff-order-product-action{grid-column:auto;display:grid!important;border-top:0;border-left:1px solid #eeeae3;padding:0 0 0 7px}.staff-order-product-action small{display:none!important}.staff-order-menu-scope-tabs button small{display:none}.staff-order-visit-strip>span.location{display:none}}

/* v1.2.0-fix22: staff order categories and stable product cards */
.staff-order-categories .staff-order-plan-category{border-color:#91c8a2;background:#f3fbf5;color:#176b3a}
.staff-order-categories .staff-order-plan-category.active{border-color:#176b3a;background:#176b3a;color:#fff}
.staff-order-plan-category-panel{display:grid;gap:8px;margin:0 0 12px}
.staff-order-plan-category-panel .staff-order-active-plans,
.staff-order-plan-category-panel .staff-order-plan-picker,
.staff-order-plan-category-panel .service-plan-order-menu-notice{margin:0}
.staff-order-entry-sheet .staff-order-products{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px}
.staff-order-entry-sheet .staff-order-product{width:100%;min-width:0;grid-template-columns:72px minmax(0,1fr) minmax(76px,auto);min-height:104px;padding:11px;gap:11px}
.staff-order-product-media{width:72px;height:72px}
.staff-order-product-main{min-width:0;writing-mode:horizontal-tb}
.staff-order-product-main b{display:block;max-width:100%;font-size:16px;line-height:1.35;white-space:normal;word-break:normal;overflow-wrap:anywhere;writing-mode:horizontal-tb}
.staff-order-product-main em{white-space:normal;word-break:normal;overflow-wrap:anywhere;writing-mode:horizontal-tb}
.staff-order-product-action{min-width:76px;writing-mode:horizontal-tb}
.staff-order-product-action strong,.staff-order-product-action small{white-space:nowrap;writing-mode:horizontal-tb}
@media(max-width:700px){
  .staff-order-entry-sheet .staff-order-products{grid-template-columns:1fr}
  .staff-order-entry-sheet .staff-order-product{grid-template-columns:64px minmax(0,1fr) minmax(70px,auto);min-height:94px}
  .staff-order-product-media{width:64px;height:64px}
}

/* v1.2.0-fix23: keep the staff-order return action inside the workspace */
.staff-order-entry-sheet .staff-order-header{
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:
    "title close"
    "visit visit";
  gap:10px 14px;
}
.staff-order-entry-sheet .staff-order-header-title{grid-area:title}
.staff-order-entry-sheet .staff-order-visit-strip{
  grid-area:visit;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
}
.staff-order-entry-sheet .staff-order-close{
  grid-area:close;
  justify-self:end;
  align-self:start;
  max-width:100%;
  white-space:nowrap;
  flex:0 0 auto;
}
@media(max-width:560px){
  .staff-order-entry-sheet .staff-order-header{gap:8px 10px}
  .staff-order-entry-sheet .staff-order-close{padding:8px 11px;font-size:12px}
}

/* v1.2.0-fix24 staff product option editor */
.staff-order-modal .staff-product-sheet{width:min(860px,calc(100vw - 24px));max-width:860px;max-height:min(94vh,980px);padding:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#f7f6f2}
.staff-product-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 16px;border-bottom:1px solid var(--line);background:#fff}
.staff-product-header h2{margin:2px 0 5px;font-size:27px;line-height:1.25}
.staff-product-header p{margin:5px 0;color:var(--muted);line-height:1.55}
.staff-product-header>.tab{flex:0 0 auto}
.staff-product-scroll{min-height:0;overflow:auto;padding:4px 22px 22px;overscroll-behavior:contain}
.staff-option-group{display:grid;gap:10px;margin:18px 0}
.staff-option-group>.staff-option-group-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.staff-option-group-head>div{display:flex;align-items:baseline;gap:9px;min-width:0}
.staff-option-group-head>div>b{font-size:17px}
.staff-option-group-head>div>span{font-size:12px;color:var(--muted);font-weight:800}
.staff-option-group-head>em{flex:0 0 auto;margin:0;padding:4px 8px;border-radius:999px;background:#ffe4df;color:#9a241a;font-size:11px;font-style:normal;font-weight:900}
.staff-option-group-head>em.optional{background:#eeeeea;color:#666}
.staff-option-group>.staff-option-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.staff-option-group .staff-option-choice{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) 28px;align-items:center;gap:11px;min-height:64px;margin:0;padding:12px 13px;border:2px solid #deddd8;border-radius:14px;background:#fff;cursor:pointer;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease,transform .14s ease}
.staff-option-group .staff-option-choice:hover{border-color:#efa458;transform:translateY(-1px)}
.staff-option-group .staff-option-choice:has(input:checked){border-color:#ff7900;background:#fff7ea;box-shadow:0 0 0 3px rgba(255,121,0,.08)}
.staff-option-group .staff-option-choice input{width:22px;height:22px;margin:0;accent-color:#ff7900;cursor:pointer}
.staff-option-choice-copy{display:grid!important;gap:3px;min-width:0}
.staff-option-group .staff-option-choice-copy>b{font-size:16px;line-height:1.3;color:#171717}
.staff-option-group .staff-option-choice-copy>small{font-size:11px;font-weight:700;color:var(--muted)}
.staff-option-choice-mark{display:grid!important;place-items:center;width:26px;height:26px;border-radius:50%;background:#eee;color:transparent;font-size:15px!important;font-weight:1000}
.staff-option-choice:has(input:checked) .staff-option-choice-mark{background:#ff7900;color:#fff}
.staff-option-group .staff-option-choice.soldout{opacity:.52;cursor:not-allowed;background:#f2f2ef}
.staff-option-group.is-invalid>.staff-option-group-head>div>b{color:#a62920}
.staff-option-group.is-invalid>.staff-option-choices{padding:4px;border-radius:16px;box-shadow:0 0 0 2px rgba(179,38,30,.12)}
.staff-order-note{display:grid;gap:8px;margin:22px 0 4px}
.staff-order-note>span{font-weight:900}
.staff-order-note>span small{color:var(--muted);font-weight:700}
.staff-product-footer{display:grid;gap:10px;padding:14px 22px 18px;border-top:1px solid var(--line);background:#fff;box-shadow:0 -8px 28px rgba(0,0,0,.08)}
.staff-product-footer-main{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(180px,1.15fr);gap:14px;align-items:center}
.staff-product-quantity{display:grid;grid-template-columns:52px minmax(80px,1fr) 52px;gap:8px;align-items:center;margin:0}
.staff-product-quantity button{height:48px;border:1px solid var(--line);border-radius:13px;background:#fff;font-size:24px;cursor:pointer}
.staff-product-quantity>span{display:grid;justify-items:center;gap:0}
.staff-product-quantity small{font-size:11px;color:var(--muted);font-weight:800}
.staff-product-quantity b{font-size:24px}
.staff-product-total{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:8px 12px;border-radius:13px;background:#f4f3ef}
.staff-product-total span{font-size:12px;color:var(--muted);font-weight:900}
.staff-product-total b{font-size:27px;white-space:nowrap}
.staff-product-option-status{min-height:20px;font-size:12px;font-weight:900;text-align:center}
.staff-product-option-status.warning{color:#a62920}
.staff-product-option-status.ready{color:#176b3a}
.staff-product-footer>.btn{min-height:52px;background:#ff7900;font-size:17px}
.staff-product-footer>.btn:disabled{background:#d9d8d4;color:#777;opacity:1;cursor:not-allowed}
@media(max-width:700px){
  .staff-order-modal .staff-product-sheet{width:100%;max-width:none;max-height:96vh;border-radius:20px 20px 0 0}
  .staff-product-header{padding:16px;gap:10px}
  .staff-product-header h2{font-size:22px}
  .staff-product-header>.tab{padding:9px 11px}
  .staff-product-scroll{padding:2px 14px 18px}
  .staff-option-group>.staff-option-choices{grid-template-columns:1fr}
  .staff-product-footer{padding:12px 14px calc(14px + env(safe-area-inset-bottom))}
  .staff-product-footer-main{grid-template-columns:1fr 1fr;gap:8px}
  .staff-product-total{display:grid;justify-items:end;gap:1px;padding:7px 9px}
  .staff-product-total b{font-size:22px}
  .staff-product-quantity{grid-template-columns:44px 1fr 44px}
  .staff-product-quantity button{height:44px}
}
@media(max-width:430px){
  .staff-product-header{display:grid;grid-template-columns:minmax(0,1fr) auto}
  .staff-product-header p{display:none}
  .staff-product-footer-main{grid-template-columns:1fr}
  .staff-product-total{display:flex;justify-content:space-between}
}

/* v1.2.0-fix25 staff order cart editing and readable option summaries */
.staff-order-option-details{display:flex;flex-wrap:wrap;gap:5px 14px;padding:8px 10px;border-radius:10px;background:#f4efe6;color:#624720;font-size:11px;line-height:1.5}
.staff-order-option-details span{display:inline;min-width:0;overflow-wrap:anywhere}
.staff-order-option-details b{font-weight:900}
.staff-order-cart-request{display:grid;gap:2px;padding:8px 10px;border-radius:10px;background:#fff4cc;color:#654b00;font-size:11px;line-height:1.5}
.staff-order-cart-request b{font-size:10px}
.staff-order-cart-secondary-actions{display:flex;align-items:center;gap:6px;margin-left:auto}
.staff-order-cart-edit,.staff-order-edit-button{border:1px solid #c8b4e4;border-radius:9px;background:#f7f1ff;color:#5c2d91;padding:7px 9px;font-size:11px;font-weight:900;white-space:nowrap;cursor:pointer}
.staff-order-cart-item-actions{flex-wrap:wrap}
.staff-order-confirm-item-main .staff-order-option-details{font-size:12px;padding:9px 11px}
.staff-order-request-summary{display:grid;gap:3px;padding:9px 11px;border-radius:10px;background:#fff4cc;color:#654b00!important;font-size:12px;line-height:1.5}
.staff-order-request-summary b{font-size:11px}
.staff-order-confirm-item-actions .staff-order-edit-button{font-size:12px;padding:9px 12px}
@media(max-width:560px){.staff-order-cart-secondary-actions{width:100%;justify-content:flex-end}.staff-order-confirm-item-actions .staff-order-edit-button,.staff-order-confirm-item-actions .staff-order-remove-button{flex:1 1 auto}.staff-order-option-details{display:grid;gap:4px}}

/* v1.2.0-fix26 compact staff order confirmation */
.staff-order-confirm-sheet .staff-order-header{justify-content:flex-start}
.staff-order-confirm-sheet .staff-order-confirm-items{gap:9px;margin-bottom:14px}
.staff-order-confirm-sheet .staff-order-confirm-items article.staff-order-confirm-item{display:grid;grid-template-columns:1fr;gap:9px;padding:13px 15px;border-radius:15px}
.staff-order-confirm-sheet .staff-order-confirm-item-head{grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:start}
.staff-order-confirm-sheet .staff-order-item-number{width:28px;height:28px;font-size:12px}
.staff-order-confirm-sheet .staff-order-confirm-item-main{gap:5px}
.staff-order-confirm-sheet .staff-order-confirm-item-main>b{font-size:17px;line-height:1.35}
.staff-order-confirm-sheet .staff-order-confirm-item-main .staff-order-option-details{padding:7px 9px;font-size:11px;gap:3px 12px}
.staff-order-confirm-sheet .staff-order-request-summary{padding:7px 9px;font-size:11px}
.staff-order-confirm-subtotal{display:grid;justify-items:end;gap:1px;font-size:19px;white-space:nowrap}
.staff-order-confirm-subtotal small{font-size:10px;color:var(--muted);font-weight:800}
.staff-order-confirm-sheet .staff-order-confirm-item-actions{display:flex;align-items:center;justify-content:flex-start;gap:8px;padding-top:9px;border-top:1px solid #eeeae3}
.staff-order-confirm-sheet .staff-order-confirm-item-actions .staff-order-action-label{margin:0;color:var(--muted);font-size:11px;font-weight:900}
.staff-order-confirm-sheet .staff-order-mini-qty{gap:6px}
.staff-order-confirm-sheet .staff-order-mini-qty button{width:34px;height:34px;border-radius:10px;font-size:18px}
.staff-order-confirm-sheet .staff-order-mini-qty b{min-width:24px;font-size:16px}
.staff-order-confirm-sheet .staff-order-edit-button,.staff-order-confirm-sheet .staff-order-remove-button{padding:8px 10px;font-size:11px}
.staff-order-confirm-sheet .staff-order-remove-button{margin-left:0}
.staff-order-confirm-sheet .staff-order-allergy-field{grid-template-columns:34px minmax(0,1fr);gap:9px;padding:12px 14px;margin-bottom:14px;border-radius:15px}
.staff-order-confirm-sheet .staff-order-allergy-icon{width:32px;height:32px;font-size:17px}
.staff-order-confirm-sheet .staff-order-allergy-copy{gap:2px}
.staff-order-confirm-sheet .staff-order-allergy-copy b{font-size:15px}
.staff-order-confirm-sheet .staff-order-allergy-copy>span{font-size:11px;line-height:1.4}
.staff-order-confirm-sheet .staff-order-allergy-field textarea{min-height:58px;padding:10px 12px}
.staff-order-confirm-sheet .staff-order-readback{margin:12px 0}
@media(max-width:700px){
  .staff-order-confirm-sheet .staff-order-confirm-item-head{grid-template-columns:28px minmax(0,1fr)}
  .staff-order-confirm-sheet .staff-order-confirm-subtotal{grid-column:2;justify-items:start}
  .staff-order-confirm-sheet .staff-order-confirm-item-actions{flex-wrap:wrap}
  .staff-order-confirm-sheet .staff-order-confirm-item-actions .staff-order-action-label{width:100%}
  .staff-order-confirm-sheet .staff-order-edit-button,.staff-order-confirm-sheet .staff-order-remove-button{flex:1 1 auto}
}

/* fix29: compact submitted orders */
.compact-submitted-order{padding:14px 16px;background:#fff;border:1px solid #dde2e7}
.compact-order-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start}
.compact-order-main{display:grid;gap:8px;min-width:0}
.compact-order-topline{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.compact-order-number{font-size:44px;line-height:1;font-weight:900;letter-spacing:.04em}
.compact-order-seatline{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.compact-order-seat{display:inline-flex;align-items:center;min-height:48px;padding:10px 16px;border:2px solid #e6c282;border-radius:14px;background:#fffaf0;font-size:28px;font-weight:900;line-height:1.15}
.compact-order-note{font-size:13px;font-weight:700;color:#5c6470}
.compact-order-time-row{display:flex;flex-wrap:wrap;gap:8px}
.compact-time-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#f4f6f8;font-size:12px;font-weight:900;color:#36404a}
.compact-time-chip.warning{background:#fff4d6;color:#8b5a00}
.compact-time-chip.danger{background:#fff0ef;color:#a51d16}
.compact-time-chip.neutral{background:#eef2f6;color:#46525f}
.compact-order-summary{display:grid;gap:6px;padding:10px 12px;border-radius:14px;background:#f7f8fa}
.compact-order-summary>div{display:grid;gap:3px}
.compact-order-summary b{font-size:18px;line-height:1.35}
.compact-order-summary span{font-size:12px;color:#68707a;line-height:1.45}
.compact-order-summary small{font-size:12px;font-weight:800;color:#68707a}
.compact-order-actions{display:grid;gap:8px;justify-items:end;align-content:start;min-width:210px}
.compact-order-primary{width:210px}
.compact-order-toggle{width:210px;padding:12px 14px;border-radius:14px;font-weight:900}
.compact-order-detail{display:grid;gap:10px;margin-top:12px;padding-top:12px;border-top:1px dashed #d6dbe1}
.compact-order-item{margin:0;background:#fcfcfd}
.compact-order-item-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:6px}
.compact-order-item-head h3{margin:0;font-size:22px;line-height:1.3}
.compact-order-item .elapsed-badge{white-space:nowrap}
.compact-submitted-order.is-expanded{box-shadow:0 8px 22px rgba(17,17,17,.06)}

@media(max-width:900px){
  .compact-order-head{grid-template-columns:1fr}
  .compact-order-actions{grid-template-columns:1fr 1fr;justify-items:stretch;min-width:0}
  .compact-order-primary,.compact-order-toggle{width:100%}
}
@media(max-width:700px){
  .compact-submitted-order{padding:12px}
  .compact-order-number{font-size:34px}
  .compact-order-seat{font-size:22px;min-height:42px;padding:9px 13px}
  .compact-order-summary b{font-size:16px}
  .compact-order-item-head{display:block}
  .compact-order-item-head .elapsed-badge{display:inline-block;margin-top:6px}
}
@media(max-width:560px){
  .compact-order-actions{grid-template-columns:1fr}
  .compact-time-chip{font-size:11px}
}

/* fix30: submitted order three-column kitchen layout */
.submitted-order-grid{display:grid;grid-template-columns:minmax(230px,280px) minmax(420px,1fr) minmax(210px,230px);gap:18px;align-items:stretch}
.submitted-order-info{display:grid;align-content:start;gap:10px;min-width:0;padding-right:16px;border-right:1px solid #e2e6ea}
.submitted-order-products{display:grid;align-content:start;gap:10px;min-width:0}
.submitted-order-item{display:grid;gap:9px;padding:12px 14px;border:1px solid #dfe3e8;border-radius:14px;background:#f8f9fb}
.submitted-order-item-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.submitted-order-item-head h3{margin:0;font-size:25px;line-height:1.28;font-weight:900;letter-spacing:.01em}
.submitted-order-item-head h3 strong{white-space:nowrap;font-size:27px}
.submitted-order-item-head .elapsed-badge{flex:0 0 auto;white-space:nowrap;padding-top:4px}
.submitted-option-list{display:flex;flex-wrap:wrap;gap:7px 9px}
.submitted-option-list span{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border-radius:9px;background:#fff;border:1px solid #d5dbe2;font-size:16px;line-height:1.35;font-weight:800;color:#252b31}
.submitted-item-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.submitted-item-edit{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.submitted-item-edit .tab{min-width:46px;min-height:40px}
.submitted-current-quantity{display:inline-grid;place-items:center;min-width:38px;height:40px;border-radius:10px;background:#fff;font-size:19px;font-weight:900}
.submitted-item-start{width:auto;min-width:190px;margin-left:auto}
.submitted-order-grid>.compact-order-actions{display:grid;grid-template-columns:1fr;align-content:start;justify-items:stretch;gap:9px;min-width:0;padding-left:2px}
.submitted-order-grid>.compact-order-actions .compact-order-primary{width:100%;min-height:58px;font-size:18px}
.submitted-order-grid>.compact-order-actions small{text-align:center;color:#6c737d;font-size:11px;line-height:1.45;font-weight:700}
.compact-submitted-order{padding:14px 16px}
.compact-order-number{font-size:42px}
.compact-order-seat{font-size:26px}

@media(max-width:1050px){
  .submitted-order-grid{grid-template-columns:minmax(210px,245px) minmax(340px,1fr) minmax(180px,205px);gap:13px}
  .submitted-order-item-head h3{font-size:22px}
  .submitted-order-item-head h3 strong{font-size:24px}
  .submitted-option-list span{font-size:15px}
  .compact-order-seat{font-size:23px}
}
@media(max-width:900px){
  .submitted-order-grid{grid-template-columns:1fr;gap:12px}
  .submitted-order-info{padding-right:0;padding-bottom:12px;border-right:0;border-bottom:1px solid #e2e6ea}
  .submitted-order-grid>.compact-order-actions{grid-template-columns:1fr;padding-left:0}
  .submitted-order-grid>.compact-order-actions .compact-order-primary{min-height:54px}
}
@media(max-width:560px){
  .submitted-order-item-head{display:block}
  .submitted-order-item-head .elapsed-badge{display:inline-block;margin-top:6px}
  .submitted-order-item-head h3{font-size:20px}
  .submitted-order-item-head h3 strong{font-size:22px}
  .submitted-option-list{display:grid;grid-template-columns:1fr}
  .submitted-option-list span{font-size:15px}
  .submitted-item-start{width:100%;margin-left:0}
}

/* fix35: checkout action clarity */
.checkout-payment-choice span{position:relative;grid-template-columns:auto 1fr;gap:7px}
.checkout-payment-choice span i{display:none;width:22px;height:22px;border-radius:50%;background:#176b3a;color:#fff;font-style:normal;font-size:14px;line-height:22px;text-align:center}
.checkout-payment-choice input:checked+span i{display:inline-block}
.checkout-payment-choice input:checked+span{border-width:3px;padding:9px;background:#eaf7ee;box-shadow:0 0 0 2px rgba(23,107,58,.10)}
.checkout-cancel-section{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;margin:18px 0 8px;padding:14px;border:1px solid #e0aaa6;border-radius:15px;background:#fff8f7}
.checkout-cancel-section>div{display:grid;gap:4px}
.checkout-cancel-section b{color:#8f1710;font-size:15px}
.checkout-cancel-section span{color:#6f5552;font-size:12px;line-height:1.5}
.checkout-cancel-section .checkout-cancel-button{border:1px solid #c95e57;background:#fff;color:#9a241d;white-space:nowrap}
.checkout-sticky-actions{position:sticky;bottom:-18px;z-index:4;display:grid;gap:8px;margin:18px -18px -18px;padding:14px 18px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:rgba(245,245,242,.97);backdrop-filter:blur(10px);box-shadow:0 -10px 24px rgba(0,0,0,.10)}
.checkout-sticky-actions #checkoutCompleteButton{min-height:56px;font-size:17px}
.checkout-sticky-actions #checkoutCompleteButton:disabled{background:#b9cdbf;color:#fff;opacity:1;cursor:not-allowed}
@media(max-width:560px){.checkout-cancel-section{grid-template-columns:1fr}.checkout-cancel-section .checkout-cancel-button{width:100%}.checkout-sticky-actions{bottom:-16px;margin-left:-16px;margin-right:-16px;margin-bottom:-16px;padding-left:16px;padding-right:16px}}


/* v1.2.0-fix36: customer menu redesign */
.customer-store-identity .brand{font-size:22px;letter-spacing:.02em}
.customer-store-identity .sub{font-size:13px}
.customer-menu-page{display:grid;gap:14px;padding-bottom:12px}
.customer-menu-block-head{display:grid;gap:6px;align-items:start}
.customer-menu-block-head h1,.customer-menu-block-head h2{margin:0;font-size:22px;line-height:1.25}
.customer-section-kicker{display:inline-block;font-size:12px;font-weight:1000;letter-spacing:.12em;color:#6b32b8;text-transform:uppercase}
.customer-normal-menu,.customer-service-plan-offers,.customer-service-plan-menu{display:grid;gap:14px;margin:0}
.customer-category-tabs{position:sticky;top:76px;z-index:4;display:flex;gap:10px;overflow:auto;padding:4px 0 12px;margin:0;background:linear-gradient(180deg,rgba(245,245,242,.98),rgba(245,245,242,.95) 72%,rgba(245,245,242,0));scrollbar-width:none}
.customer-category-tabs::-webkit-scrollbar{display:none}
.customer-category-tabs .tab{flex:0 0 auto;padding:10px 16px;font-weight:900;color:#111;background:#fff;border-color:#d9d9d2;border-radius:999px;box-shadow:0 1px 2px rgba(0,0,0,.03)}
.customer-category-tabs .tab.active{background:#111!important;color:#fff!important;border-color:#111!important;box-shadow:none}
.customer-category-tabs .tab.tab-plan{background:#faf7ff;color:#5e32b5;border-color:#d8cef5}
.customer-category-tabs .tab.tab-plan.active{background:#111!important;color:#fff!important;border-color:#111!important}
.customer-menu-section{display:grid;gap:12px;margin:0}
.customer-menu-section>h2{margin:4px 0 0;font-size:19px;line-height:1.35}
.customer-product{padding:0;overflow:hidden;border-radius:18px}
.customer-product-body{display:grid;grid-template-columns:96px minmax(0,1fr) 132px;gap:16px;align-items:center;padding:18px}
.customer-product-media{display:grid;place-items:center}
.customer-product-media .product-thumb,.customer-product-media .customer-thumb{width:96px;height:76px;border-radius:14px}
.customer-product-main{display:grid;gap:8px;min-width:0}
.customer-product-top,.customer-inline-pills{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.customer-product-main h3{margin:0;font-size:18px;line-height:1.35}
.customer-product-price-row{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;flex-wrap:wrap}
.customer-product-price-main{display:grid;gap:2px}
.customer-product-price-main strong{font-size:16px;line-height:1.2}
.customer-product-price-main small{font-size:12px;color:var(--muted)}
.customer-product-note{font-size:12px;line-height:1.45;color:var(--muted);text-align:left}
.customer-product-side{display:grid;gap:8px;justify-items:end;align-content:center}
.customer-product-side .btn{width:100%;min-width:0;padding:13px 16px;border-radius:15px}
.customer-product-description{margin:0;font-size:13px;line-height:1.55;color:#5c5c58;white-space:pre-wrap}
.customer-service-plan-offer-grid{display:grid;gap:14px}
.customer-service-plan-offer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff;text-align:left;box-shadow:0 2px 8px rgba(0,0,0,.035)}
.customer-service-plan-offer-main{display:grid;gap:8px;min-width:0}
.customer-service-plan-offer-top{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.customer-service-plan-offer h3{margin:0;font-size:18px;line-height:1.35}
.customer-service-plan-offer-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:14px}
.customer-service-plan-offer-meta strong{font-size:16px}
.customer-service-plan-offer-description{margin:0;font-size:13px;line-height:1.6;color:#5c5c58;white-space:pre-wrap}
.customer-service-plan-offer-status{display:grid;gap:8px;justify-items:end;min-width:180px;text-align:right}
.customer-service-plan-offer-status .btn{min-width:180px;padding:15px 18px;border-radius:15px}
.customer-service-plan-offer-status b{font-size:15px}
.customer-service-plan-offer-status small{font-size:12px;color:var(--muted)}
.customer-service-plan-offer.closed{opacity:.72}
.service-plan-first-order-note{font-size:12px;font-weight:900;color:#176b3a}
.customer-service-plan-menu{padding:18px;border:1px solid #c7dbce;border-radius:18px;background:#f6fbf7}
.customer-service-plan-menu .customer-menu-section>h2{color:#176b3a}
.customer-bottom-nav button{display:grid;gap:4px;justify-items:center;align-content:center;min-height:60px;font-weight:900;color:#555}
.customer-bottom-nav button.active{background:#f4f4ef;color:#111}
.customer-bottom-nav button.checkout-requested-nav{color:#176b3a}
.customer-bottom-nav .bottom-nav-icon{font-size:18px;line-height:1}
.customer-cartbar{bottom:70px;border-radius:18px;box-shadow:0 10px 24px rgba(0,0,0,.18)}
@media(max-width:760px){.customer-category-tabs{top:70px}.customer-product-body{grid-template-columns:88px minmax(0,1fr);grid-template-areas:"media main" "media action";align-items:start}.customer-product-media{grid-area:media}.customer-product-main{grid-area:main}.customer-product-side{grid-area:action;justify-items:start}.customer-product-side .btn{width:auto;min-width:132px}.customer-service-plan-offer{grid-template-columns:1fr}.customer-service-plan-offer-status{justify-items:stretch;text-align:left;min-width:0}.customer-service-plan-offer-status .btn{min-width:0;width:100%}}
@media(max-width:520px){.customer-store-identity .brand{font-size:18px}.customer-product-body{padding:16px;gap:12px}.customer-product-media .product-thumb,.customer-product-media .customer-thumb{width:80px;height:64px}.customer-menu-block-head h1,.customer-menu-block-head h2{font-size:19px}.customer-category-tabs .tab{padding:9px 14px}}

/* v1.2.0-fix38 customer QR order UI complete redesign */
.customer-topbar{background:rgba(250,250,247,.96);border-bottom:1px solid #e6e4de;box-shadow:0 1px 0 rgba(0,0,0,.02);backdrop-filter:blur(16px)}
.customer-topbar .wrap{min-height:72px;padding-top:9px;padding-bottom:9px}
.customer-store-identity{gap:12px}
.customer-store-logo{width:46px;height:46px;border-radius:13px;padding:4px;border-color:#dedbd2;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.customer-store-copy{display:grid;gap:3px;min-width:0}
.customer-store-identity .brand{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:20px;line-height:1.25;letter-spacing:.01em}
.customer-store-meta{display:flex;align-items:center;gap:8px;color:#77746d;font-size:12px;font-weight:700}
.customer-store-meta b{color:#282724;font-size:12px}
.customer-store-meta i{display:block;width:3px;height:3px;border-radius:50%;background:#aaa69d}

.customer-menu-page{display:grid;gap:18px;padding-top:14px;padding-bottom:0}
.customer-menu-title{display:grid;gap:2px;margin-top:1px}
.customer-menu-title>span{color:#e66f21;font-size:10px;font-weight:1000;letter-spacing:.16em}
.customer-menu-title h1{margin:0;font-size:25px;line-height:1.2;letter-spacing:-.02em}
.customer-normal-menu,.customer-service-plan-offers,.customer-service-plan-menu{display:grid;gap:14px;margin:0}
.customer-normal-menu{gap:22px}

.customer-category-tabs{position:sticky;top:calc(var(--demo-banner-offset) + var(--platform-banner-offset) + 72px);z-index:4;display:flex;gap:8px;overflow-x:auto;margin:0 -18px;padding:9px 18px 12px;background:linear-gradient(180deg,rgba(250,250,247,.99) 0%,rgba(250,250,247,.98) 78%,rgba(250,250,247,0) 100%);scroll-padding-inline:18px;scrollbar-width:none}
.customer-category-tabs::-webkit-scrollbar{display:none}
.customer-category-tabs .tab{flex:0 0 auto;min-height:42px;padding:9px 16px;border:1px solid #ddd9d0;border-radius:999px;background:#fff;color:#35332f;font-size:14px;font-weight:900;box-shadow:0 1px 2px rgba(0,0,0,.025);transition:background .15s,border-color .15s,color .15s,transform .15s}
.customer-category-tabs .tab:active{transform:scale(.98)}
.customer-category-tabs .tab.active{border-color:#171717!important;background:#171717!important;color:#fff!important;box-shadow:0 5px 12px rgba(0,0,0,.12)}
.customer-category-tabs .tab.tab-plan{border-color:#bed8c6;background:#f4faf6;color:#176b3a}
.customer-category-tabs .tab.tab-plan.active{border-color:#176b3a!important;background:#176b3a!important;color:#fff!important}

.customer-menu-section{display:grid;gap:10px;margin:0}
.customer-category-heading,.customer-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.customer-category-heading h2,.customer-section-heading h2{margin:0;font-size:18px;line-height:1.35;letter-spacing:-.01em}
.customer-category-heading>span,.customer-section-heading>small{flex:0 0 auto;color:#99958c;font-size:11px;font-weight:900}
.customer-section-heading>div{display:grid;gap:2px}
.customer-section-heading>div>span{color:#176b3a;font-size:10px;font-weight:1000;letter-spacing:.08em}
.customer-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}

.customer-product{min-width:0;margin:0;padding:0;overflow:hidden;border:1px solid #e1ded6;border-radius:17px;background:#fff;box-shadow:0 2px 8px rgba(29,27,23,.035)}
.customer-product-body{display:grid;grid-template-columns:94px minmax(0,1fr);gap:12px;align-items:stretch;min-height:118px;padding:12px}
.customer-product-media{display:grid;place-items:center;align-self:start}
.customer-product-media .product-thumb,.customer-product-media .customer-thumb,.misemaru-no-photo.customer-thumb{width:94px;height:94px;min-width:94px;border-radius:14px;object-fit:cover}
.customer-product-main{display:flex;flex-direction:column;gap:4px;min-width:0;padding:1px 0}
.customer-product-badges{display:flex;align-items:center;gap:5px;min-height:20px;overflow:hidden}
.customer-product-badges:empty{display:none;min-height:0}
.customer-product-badges .pill{max-width:100%;padding:3px 7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.customer-recommend-pill{background:#fff1df!important;color:#a34c12!important}
.customer-product-main h3{display:-webkit-box;overflow:hidden;margin:0;color:#1c1b19;font-size:16px;line-height:1.38;letter-spacing:-.01em;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.customer-product-description{display:-webkit-box;overflow:hidden;margin:0;color:#77736c;font-size:11.5px;line-height:1.45;white-space:pre-wrap;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.customer-product-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:auto;padding-top:3px}
.customer-product-price-row{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}
.customer-product-price-main{display:flex;align-items:baseline;gap:5px;white-space:nowrap}
.customer-product-price-main strong{font-size:16px;line-height:1.2;letter-spacing:-.02em}
.customer-product-price-main small{color:#176b3a;font-size:10px;font-weight:900}
.customer-option-label{display:inline-flex;align-items:center;min-height:20px;padding:2px 7px;border-radius:999px;background:#eef2f8;color:#31527d;font-size:9.5px;font-weight:900;white-space:nowrap}
.customer-product-action{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:72px;min-height:39px;padding:7px 11px;border:0;border-radius:12px;background:#171717;color:#fff;font-size:12px;font-weight:1000;cursor:pointer}
.customer-product-action:active{transform:translateY(1px)}
.customer-product-action-plus{font-size:17px;font-weight:500;line-height:1}
.customer-product-action.is-disabled{background:#eceae5;color:#8a867d;cursor:not-allowed;transform:none}
.customer-product.is-disabled{background:#fbfaf8}
.customer-service-plan-product{border-color:#c9dfd0;background:#fbfefc}
.customer-service-plan-product .customer-product-price-main strong{color:#176b3a}
.customer-service-plan-product .customer-product-action:not(.is-disabled){background:#176b3a}

.customer-service-plan-offers{padding-top:6px}
.customer-service-plan-offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.customer-service-plan-offer{display:grid;grid-template-columns:1fr;gap:10px;align-content:start;min-width:0;margin:0;padding:15px;border:1px solid #dedbd3;border-radius:17px;background:#fff;text-align:left;box-shadow:0 2px 8px rgba(29,27,23,.035)}
.customer-service-plan-offer.active{border-color:#a9cfb6;background:#f7fcf8}
.customer-service-plan-offer.closed{background:#faf9f7}
.customer-service-plan-offer-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.customer-plan-state{display:inline-flex;align-items:center;min-height:24px;padding:4px 9px;border-radius:999px;background:#eceae5;color:#5f5c55;font-size:10px;font-weight:1000}
.customer-plan-state.open{background:#eaf6ee;color:#176b3a}
.customer-plan-state.active{background:#176b3a;color:#fff}
.customer-plan-duration{color:#6f6b64;font-size:11px;font-weight:900}
.customer-service-plan-offer-main{display:grid;gap:6px;min-width:0}
.customer-service-plan-offer h3{display:-webkit-box;overflow:hidden;margin:0;font-size:17px;line-height:1.38;letter-spacing:-.01em;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.customer-service-plan-offer-meta{display:flex;align-items:baseline;gap:3px;color:#6d6962;font-size:11px}
.customer-service-plan-offer-meta strong{color:#23211f;font-size:17px;letter-spacing:-.02em}
.customer-service-plan-offer-description{display:-webkit-box;overflow:hidden;margin:0;color:#77736c;font-size:11.5px;line-height:1.5;white-space:pre-wrap;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.service-plan-first-order-note{color:#176b3a;font-size:10.5px;font-weight:900}
.customer-service-plan-offer-status{display:grid;gap:5px;align-self:end;min-width:0;padding-top:10px;border-top:1px solid #ebe8e1;text-align:left}
.customer-plan-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:42px;padding:9px 13px;border:0;border-radius:12px;background:#171717;color:#fff;font-size:12px;font-weight:1000;cursor:pointer}
.customer-plan-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.customer-plan-button.closed{justify-content:center;background:#eceae5;color:#77736c;cursor:not-allowed}
.customer-service-plan-offer-status>small{color:#8d8980;font-size:10px;font-weight:800;text-align:center}
.customer-plan-status-message{display:grid;gap:2px;padding:9px 11px;border-radius:11px;background:#eaf6ee;color:#176b3a}
.customer-plan-status-message b{font-size:12px}
.customer-plan-status-message span{font-size:10px;font-weight:700}

.customer-service-plan-menu{gap:16px;padding:16px 0 0;border:0;border-top:1px solid #d6e5db;border-radius:0;background:transparent}
.customer-service-plan-menu .customer-menu-section{gap:10px}
.customer-service-plan-menu .customer-category-heading h2{color:#176b3a}

.customer-service-plan-banner{display:grid;gap:10px;margin:0;padding:13px;border:1px solid #b7d7c1;border-radius:16px;background:#f5fbf7;box-shadow:none}
.customer-active-plan-heading{display:flex!important;align-items:center!important;gap:10px!important}
.customer-active-plan-dot{display:block;width:9px;height:9px;border-radius:50%;background:#239253;box-shadow:0 0 0 5px rgba(35,146,83,.1)}
.customer-active-plan-heading>div{display:grid;gap:1px}
.customer-active-plan-heading small{color:#4c765c;font-size:10px;font-weight:900}
.customer-active-plan-heading b{font-size:14px}
.customer-active-plan-list{display:grid;gap:7px}
.customer-service-plan-banner .customer-active-plan-list article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:10px 11px;border:1px solid #d6e8dc;border-radius:11px;background:#fff}
.customer-service-plan-banner article>span{display:grid;gap:1px}
.customer-service-plan-banner article strong{font-size:12px}
.customer-service-plan-banner article span small{color:#7c887f;font-size:9.5px}
.customer-service-plan-banner article>b{align-self:center;color:#176b3a;font-size:12px;white-space:nowrap}
.customer-active-plan-lo{grid-column:1/-1;color:#7d847f!important;font-size:9.5px!important}

.customer-bottom-nav{height:calc(68px + env(safe-area-inset-bottom));padding:4px 0 env(safe-area-inset-bottom);border-top:1px solid #e3e0d9;background:rgba(255,255,255,.97);box-shadow:0 -6px 20px rgba(31,28,23,.05);backdrop-filter:blur(16px)}
.customer-bottom-nav button{position:relative;display:grid;grid-template-rows:30px auto;gap:1px;justify-items:center;align-content:center;min-height:60px;padding:3px 2px;border:0;background:transparent;color:#77736c;font-size:10px;font-weight:900;cursor:pointer}
.customer-bottom-nav button.active{background:transparent;color:#171717}
.customer-bottom-nav button:disabled{background:transparent;color:#bbb7af;cursor:not-allowed}
.customer-bottom-nav .bottom-nav-icon-wrap{display:grid;place-items:center;width:34px;height:28px;border-radius:10px;transition:background .15s,color .15s}
.customer-bottom-nav button.active .bottom-nav-icon-wrap{background:#171717;color:#fff}
.customer-bottom-nav button.checkout-requested-nav{color:#176b3a}
.customer-bottom-nav button.checkout-requested-nav .bottom-nav-icon-wrap{background:#176b3a;color:#fff}
.customer-bottom-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.customer-bottom-nav .bottom-nav-label{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}

.customer-cartbar{left:50%;right:auto;bottom:calc(76px + env(safe-area-inset-bottom));display:grid;grid-template-columns:minmax(0,1fr) auto 20px;gap:10px;align-items:center;width:min(928px,calc(100% - 24px));min-height:56px;padding:9px 13px 9px 16px;border:0;border-radius:17px;background:#171717;color:#fff;text-align:left;box-shadow:0 12px 30px rgba(0,0,0,.24);transform:translateX(-50%);cursor:pointer}
.customer-cartbar-copy{display:flex;align-items:center;gap:8px;min-width:0}
.customer-cartbar-title{font-size:14px;font-weight:1000;white-space:nowrap}
.customer-cartbar-count{display:inline-grid;place-items:center;min-width:34px;min-height:24px;padding:2px 7px;border-radius:999px;background:rgba(255,255,255,.15);font-size:11px;font-weight:900}
.customer-cartbar>strong{font-size:15px;white-space:nowrap}
.customer-cartbar-arrow{display:grid;place-items:center}
.customer-cartbar-arrow svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.customer-menu-page .spacer{height:88px}
.customer-menu-page .spacer.has-cart{height:154px}

@media(max-width:780px){
  .customer-product-grid,.customer-service-plan-offer-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .customer-topbar .wrap{min-height:68px;padding:8px 16px}
  .customer-store-logo{width:44px;height:44px}
  .customer-store-identity .brand{font-size:18px}
  .customer-store-meta{font-size:11px}
  .customer-store-meta b{font-size:11px}
  .customer-menu-page{gap:15px;padding:12px 16px 0}
  .customer-menu-title h1{font-size:23px}
  .customer-category-tabs{top:calc(var(--demo-banner-offset) + var(--platform-banner-offset) + 68px);gap:7px;margin-left:-16px;margin-right:-16px;padding:8px 16px 11px;scroll-padding-inline:16px}
  .customer-category-tabs .tab{min-height:40px;padding:8px 14px;font-size:13px}
  .customer-normal-menu{gap:19px}
  .customer-category-heading h2,.customer-section-heading h2{font-size:17px}
  .customer-product-body{grid-template-columns:88px minmax(0,1fr);gap:11px;min-height:112px;padding:11px}
  .customer-product-media .product-thumb,.customer-product-media .customer-thumb,.misemaru-no-photo.customer-thumb{width:88px;height:88px;min-width:88px;border-radius:13px}
  .customer-product-main h3{font-size:15.5px}
  .customer-product-description{font-size:11px;-webkit-line-clamp:1}
  .customer-product-footer{gap:6px}
  .customer-product-price-main strong{font-size:15px}
  .customer-option-label{padding-inline:6px;font-size:9px}
  .customer-product-action{min-width:66px;min-height:38px;padding:7px 9px}
  .customer-service-plan-offer{padding:14px}
  .customer-bottom-nav button{font-size:9.5px}
  .customer-cartbar{width:calc(100% - 20px);bottom:calc(75px + env(safe-area-inset-bottom));min-height:55px}
}
@media(max-width:380px){
  .customer-product-body{grid-template-columns:80px minmax(0,1fr);gap:9px;padding:10px}
  .customer-product-media .product-thumb,.customer-product-media .customer-thumb,.misemaru-no-photo.customer-thumb{width:80px;height:80px;min-width:80px}
  .customer-product-main h3{font-size:15px}
  .customer-product-action{min-width:42px;padding-inline:8px}
  .customer-product-action>span:last-child{display:none}
  .customer-option-label{display:none}
}
.customer-product-action.is-disabled .customer-product-action-plus{display:none}

/* v1.2.0-fix39 customer QR order UI density and plan-card polish */
.customer-menu-page{gap:14px;padding-top:11px}
.customer-menu-title{display:flex;align-items:center;min-height:31px;margin:0}
.customer-menu-title h1{font-size:23px;line-height:1.2}
.customer-category-tabs{padding-top:7px;padding-bottom:10px}
.customer-normal-menu{gap:17px}
.customer-category-heading,.customer-section-heading{align-items:center}
.customer-category-heading>span,.customer-section-heading>small{display:none}

.customer-product-body{grid-template-columns:88px minmax(0,1fr) auto;gap:11px;align-items:center;min-height:108px;padding:10px 11px}
.customer-product-media{align-self:center}
.customer-product-media .product-thumb,.customer-product-media .customer-thumb,.misemaru-no-photo.customer-thumb{width:88px;height:88px;min-width:88px;border-radius:13px}
.customer-product-main{gap:4px;align-self:stretch;padding:2px 0}
.customer-product-badges{min-height:18px;gap:4px}
.customer-product-badges:empty{display:none}
.customer-product-badges .pill,.customer-option-label{min-height:18px;padding:2px 6px;font-size:9px}
.customer-product-main h3{font-size:15.5px;line-height:1.35}
.customer-product-description{font-size:10.5px;line-height:1.4;-webkit-line-clamp:1}
.customer-product-price-row{margin-top:auto;padding-top:2px}
.customer-product-price-main strong{font-size:15.5px}
.customer-product-action{align-self:center;min-width:68px;min-height:42px;padding:8px 10px;border-radius:13px;font-size:11.5px;box-shadow:0 2px 5px rgba(0,0,0,.12)}
.customer-product-action-plus{font-size:18px}
.customer-product-action.is-disabled{box-shadow:none}

.customer-service-plan-offers{gap:10px}
.customer-service-plan-offer{gap:8px 12px;padding:13px 14px;border-radius:16px}
.customer-service-plan-offer-top{grid-column:1/-1}
.customer-service-plan-offer h3{font-size:16px}
.customer-service-plan-offer-meta{gap:2px;font-size:10.5px}
.customer-service-plan-offer-meta strong{font-size:16px}
.customer-service-plan-offer-description{font-size:10.5px;line-height:1.45;-webkit-line-clamp:1}
.customer-service-plan-offer-status{padding-top:7px}
.customer-service-plan-offer.closed{grid-template-columns:minmax(0,1fr) auto;align-items:end;opacity:1;background:#fbfaf8}
.customer-service-plan-offer.closed .customer-service-plan-offer-main{gap:5px}
.customer-service-plan-offer.closed .customer-service-plan-offer-status{align-self:end;justify-items:end;min-width:122px;padding-top:0;border-top:0;text-align:right}
.customer-service-plan-offer.closed .customer-plan-button.closed{width:auto;min-width:0;min-height:34px;padding:7px 12px;border-radius:11px;background:#f0efeb;color:#8b877f;font-size:11px}
.customer-service-plan-offer.closed .customer-service-plan-offer-status>small{font-size:9px;text-align:right}
.customer-service-plan-offer.open,.customer-service-plan-offer.active{grid-template-columns:minmax(0,1fr) minmax(150px,auto);align-items:end}
.customer-service-plan-offer.open .customer-service-plan-offer-main,.customer-service-plan-offer.active .customer-service-plan-offer-main{grid-column:1}
.customer-service-plan-offer.open .customer-service-plan-offer-status,.customer-service-plan-offer.active .customer-service-plan-offer-status{grid-column:2;align-self:end;padding-top:0;border-top:0}
.customer-service-plan-offer.open .customer-plan-button{min-width:150px;min-height:42px;padding:9px 13px}

.customer-bottom-nav .bottom-nav-icon-wrap{width:34px;height:29px}
.customer-bottom-nav button.active .bottom-nav-label{font-weight:1000}

@media(max-width:780px){
  .customer-product-grid,.customer-service-plan-offer-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .customer-menu-page{gap:12px;padding-top:9px}
  .customer-menu-title h1{font-size:22px}
  .customer-category-tabs{padding-top:6px;padding-bottom:9px}
  .customer-product-body{grid-template-columns:82px minmax(0,1fr) auto;gap:9px;min-height:102px;padding:9px 10px}
  .customer-product-media .product-thumb,.customer-product-media .customer-thumb,.misemaru-no-photo.customer-thumb{width:82px;height:82px;min-width:82px}
  .customer-product-main h3{font-size:15px}
  .customer-product-action{min-width:64px;min-height:40px;padding-inline:9px}
  .customer-service-plan-offer.open,.customer-service-plan-offer.active{grid-template-columns:1fr}
  .customer-service-plan-offer.open .customer-service-plan-offer-main,.customer-service-plan-offer.active .customer-service-plan-offer-main,
  .customer-service-plan-offer.open .customer-service-plan-offer-status,.customer-service-plan-offer.active .customer-service-plan-offer-status{grid-column:1}
  .customer-service-plan-offer.open .customer-service-plan-offer-status,.customer-service-plan-offer.active .customer-service-plan-offer-status{padding-top:8px;border-top:1px solid #ebe8e1}
  .customer-service-plan-offer.open .customer-plan-button{width:100%;min-width:0}
}
@media(max-width:390px){
  .customer-product-body{grid-template-columns:76px minmax(0,1fr) auto;gap:8px;padding:8px 9px}
  .customer-product-media .product-thumb,.customer-product-media .customer-thumb,.misemaru-no-photo.customer-thumb{width:76px;height:76px;min-width:76px}
  .customer-product-action{min-width:58px;padding-inline:7px;font-size:11px}
  .customer-option-label{display:inline-flex}
  .customer-service-plan-offer.closed{grid-template-columns:1fr}
  .customer-service-plan-offer.closed .customer-service-plan-offer-status{justify-items:start;text-align:left;padding-top:7px;border-top:1px solid #ebe8e1}
  .customer-service-plan-offer.closed .customer-service-plan-offer-status>small{text-align:left}
}
@media(max-width:390px){
  .customer-product-action>span:last-child{display:inline}
}

/* v1.2.0-fix40 customer QR order UI final hierarchy polish */
.customer-product-body{grid-template-columns:80px minmax(0,1fr) auto;gap:10px;min-height:98px;padding:9px 10px}
.customer-product-media .product-thumb,.customer-product-media .customer-thumb,.misemaru-no-photo.customer-thumb{width:80px;height:80px;min-width:80px;border-radius:12px}
.customer-product-main{gap:3px;padding:1px 0}
.customer-product-main h3{font-size:15.5px;line-height:1.32}
.customer-product-badges{min-height:0}
.customer-product-badges:empty{display:none}
.customer-product-description{font-size:10.5px;line-height:1.35;-webkit-line-clamp:1}
.customer-product-footer{display:flex;align-items:flex-end;gap:7px;margin-top:auto;padding-top:2px;min-width:0;flex-wrap:wrap}
.customer-product-price-row{margin:0;padding:0}
.customer-option-label{min-height:18px;padding:2px 6px;font-size:9px}
.customer-product-action{min-width:64px;min-height:40px;padding:7px 9px;border-radius:12px;font-size:11.5px}
.customer-product-action-plus{font-size:17px}

.customer-service-plan-offers{padding-top:4px}
.customer-service-plan-offers .customer-section-heading{min-height:27px}
.customer-service-plan-offer.closed{grid-template-columns:minmax(0,1fr) auto;gap:7px 14px;padding:12px 14px}
.customer-service-plan-offer.closed .customer-service-plan-offer-top{grid-column:1/-1}
.customer-service-plan-offer.closed .customer-service-plan-offer-main{grid-column:1;gap:4px}
.customer-service-plan-offer.closed .customer-service-plan-offer-status{grid-column:2;align-self:end;justify-items:end;min-width:154px;padding:0;border:0;text-align:right}
.customer-plan-closed-note{display:grid;gap:3px;justify-items:end;padding:9px 11px;border-radius:11px;background:#f1f0ec;color:#77736c}
.customer-plan-closed-note b{font-size:10.5px;line-height:1.3;white-space:nowrap}
.customer-plan-closed-note small{color:#8f8b83;font-size:9px;font-weight:800;white-space:nowrap}
.customer-service-plan-offer.closed .customer-service-plan-offer-description{-webkit-line-clamp:1}

.customer-bottom-nav button.active{color:#1d1c1a}
.customer-bottom-nav button.active .bottom-nav-icon-wrap{background:#fff0e5;color:#d86117;box-shadow:inset 0 0 0 1px #f6d7bf}
.customer-bottom-nav button.checkout-requested-nav .bottom-nav-icon-wrap{background:#e8f5ec;color:#176b3a;box-shadow:inset 0 0 0 1px #c9e2d1}

@media(max-width:520px){
  .customer-product-body{grid-template-columns:76px minmax(0,1fr) auto;gap:9px;min-height:94px;padding:8px 9px}
  .customer-product-media .product-thumb,.customer-product-media .customer-thumb,.misemaru-no-photo.customer-thumb{width:76px;height:76px;min-width:76px}
  .customer-product-main h3{font-size:15px}
  .customer-product-action{min-width:62px;min-height:39px;padding-inline:8px}
}
@media(max-width:430px){
  .customer-product-action>span:last-child{display:inline}
  .customer-service-plan-offer.closed{grid-template-columns:1fr;gap:7px}
  .customer-service-plan-offer.closed .customer-service-plan-offer-main,.customer-service-plan-offer.closed .customer-service-plan-offer-status{grid-column:1}
  .customer-service-plan-offer.closed .customer-service-plan-offer-status{justify-items:stretch;min-width:0;padding-top:7px;border-top:1px solid #ebe8e1;text-align:left}
  .customer-plan-closed-note{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:8px 10px}
}
@media(max-width:360px){
  .customer-product-body{grid-template-columns:70px minmax(0,1fr) auto;gap:7px;padding:7px 8px}
  .customer-product-media .product-thumb,.customer-product-media .customer-thumb,.misemaru-no-photo.customer-thumb{width:70px;height:70px;min-width:70px}
  .customer-product-action{min-width:58px;padding-inline:7px;font-size:11px}
}


/* v1.2.0-fix41 customer product option sheet redesign */
.customer-product-modal{z-index:40;align-items:flex-end;background:rgba(20,20,18,.56);overscroll-behavior:contain}
.customer-product-modal .customer-product-sheet{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(660px,100%);height:calc(100dvh - max(10px,env(safe-area-inset-top)));max-height:none;padding:0;overflow:hidden;border-radius:24px 24px 0 0;background:#f5f5f2;box-shadow:0 -18px 50px rgba(0,0,0,.22)}
.customer-product-sheet-head{position:relative;z-index:2;display:grid;gap:10px;padding:15px 18px 13px;background:#fff;border-bottom:1px solid #e5e2da}
.customer-product-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.customer-product-title-row>div{display:grid;gap:3px;min-width:0}
.customer-product-kicker{color:#d95f14;font-size:10px;font-weight:1000;letter-spacing:.08em}
.customer-product-title-row h2{margin:0;color:#171717;font-size:21px;line-height:1.3;letter-spacing:-.015em}
.customer-product-title-row .customer-product-description{margin-top:2px;font-size:12px;-webkit-line-clamp:2}
.customer-product-close{flex:0 0 auto;min-width:62px;min-height:40px;padding:8px 12px;border:1px solid #ddd9d0;border-radius:999px;background:#fff;color:#2a2927;font-size:12px;font-weight:900;cursor:pointer}
.customer-product-head-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#6e6b64;font-size:12px;font-weight:800}
.customer-required-progress{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:#fff0e6;color:#b44d0f;white-space:nowrap}
.customer-required-progress i{width:7px;height:7px;border-radius:50%;background:#ef7a32}
.customer-required-progress.is-complete{background:#e5f5eb;color:#176b3a}
.customer-required-progress.is-complete i{background:#2f9b5b}
.customer-product-sheet-scroll{min-height:0;overflow-y:auto;padding:12px 14px 22px;overscroll-behavior:contain;scroll-padding:18px}
.customer-product-sheet-scroll>.customer-plan-price-choice{margin:0 0 10px}
.customer-option-group{display:grid;gap:9px;margin:0 0 10px;padding:12px;border:1px solid #e2dfd7;border-radius:16px;background:#fff;box-shadow:0 1px 4px rgba(31,29,25,.025);transition:border-color .18s,box-shadow .18s,background .18s}
.customer-option-group:last-child{margin-bottom:0}
.customer-option-group.is-complete{border-color:#cfe7d7}
.customer-option-group.is-attention{border-color:#ed7d32;background:#fffaf6;box-shadow:0 0 0 3px rgba(237,125,50,.16)}
.customer-option-head{align-items:center}
.customer-option-head>div{gap:1px}
.customer-option-head>div>b{font-size:15px;line-height:1.35}
.customer-option-head .sub{font-size:10.5px;line-height:1.35}
.customer-option-required,.customer-option-optional{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:1000;white-space:nowrap}
.customer-option-required{background:#ffe6e2;color:#a82b20}
.customer-option-optional{background:#efefeb;color:#6d6b65}
.customer-option-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:7px}
.customer-option-item{position:relative;display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;align-items:center;min-height:57px;padding:8px 10px;border:1px solid #dedbd3;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .14s,background .14s,box-shadow .14s,transform .1s}
.customer-option-item:active{transform:translateY(1px)}
.customer-option-item input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.customer-option-check{display:grid;place-items:center;width:21px;height:21px;border:1.5px solid #aaa69d;border-radius:6px;background:#fff}
.customer-option-item input[type=radio]+.customer-option-check{border-radius:50%}
.customer-option-item.is-selected{border-color:#22201d;background:#faf9f6;box-shadow:inset 0 0 0 1px #22201d}
.customer-option-item.is-selected .customer-option-check{border-color:#171717;background:#171717}
.customer-option-item.is-selected .customer-option-check::after{content:'✓';color:#fff;font-size:13px;font-weight:1000;line-height:1}
.customer-option-item input[type=radio]:checked+.customer-option-check::after{content:'';width:7px;height:7px;border-radius:50%;background:#fff}
.customer-option-copy{display:grid;gap:1px;min-width:0}
.customer-option-copy b{overflow:hidden;color:#201f1d;font-size:13px;line-height:1.35;text-overflow:ellipsis}
.customer-option-copy small{color:#77736b;font-size:10.5px;line-height:1.3}
.customer-option-item.soldout{background:#f1f0ec;opacity:.58;cursor:not-allowed}
.customer-option-item.soldout:active{transform:none}
.customer-product-sheet-footer{position:relative;z-index:3;display:grid;gap:9px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border-top:1px solid #dedbd3;box-shadow:0 -8px 22px rgba(26,24,20,.08)}
.customer-product-purchase-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.customer-product-qty-block{display:flex;align-items:center;gap:10px}
.customer-product-qty-block>span,.customer-product-total-block>span{color:#716d65;font-size:10px;font-weight:900}
.customer-product-qty{gap:8px;margin:0}
.customer-product-qty button{width:37px;height:37px;border-radius:11px;font-size:20px}
.customer-product-qty b{min-width:18px;text-align:center;font-size:15px}
.customer-product-total-block{display:grid;grid-template-columns:auto auto;align-items:baseline;justify-content:end;column-gap:7px;text-align:right}
.customer-product-total-block>b{font-size:20px;letter-spacing:-.02em}
.customer-product-total-block small{grid-column:1/-1;color:#8a867e;font-size:9.5px;font-weight:700}
.customer-add-cart{min-height:48px;padding:12px 16px;border-radius:14px;background:#171717;font-size:14px;box-shadow:none}
.customer-add-cart:not(.is-ready){background:#393835}
.customer-add-cart span{font-size:inherit}
.customer-product-sheet .customer-option-total{display:none}
@media(min-width:700px){
  .customer-product-modal{align-items:center;justify-content:center;padding:22px}
  .customer-product-modal .customer-product-sheet{height:min(860px,calc(100dvh - 44px));border-radius:24px}
}
@media(max-width:390px){
  .customer-product-sheet-head{padding-inline:14px}
  .customer-product-sheet-scroll{padding-inline:10px}
  .customer-option-list{grid-template-columns:1fr}
  .customer-product-head-meta{align-items:flex-start;flex-direction:column;gap:6px}
  .customer-product-purchase-row{gap:10px}
}


/* v1.2.0-fix42 customer option tap clarity and mobile finishing */
.customer-product-sheet-scroll{padding-bottom:30px;scroll-padding-block:16px 30px}
.customer-option-group{gap:10px;padding:11px 12px;border-color:#e0ddd5;border-radius:15px;box-shadow:0 2px 8px rgba(31,29,25,.035)}
.customer-option-group.is-complete{border-color:#c9dfd1;background:#fcfffd}
.customer-option-head{min-height:33px}
.customer-option-heading{display:grid!important;grid-template-columns:26px minmax(0,1fr);gap:8px;align-items:center;min-width:0}
.customer-option-heading>div{display:grid;gap:1px;min-width:0}
.customer-option-step{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:#f1efe9;color:#68645d;font-size:11px;font-weight:1000}
.customer-option-group.is-complete .customer-option-step{background:#e4f3e9;color:#176b3a}
.customer-option-required,.customer-option-optional{min-width:48px;min-height:23px;padding:3px 8px}
.customer-option-group.is-complete .customer-option-required{background:#e4f3e9;color:#176b3a}
.customer-option-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.customer-option-item{grid-template-columns:minmax(0,1fr) 26px;gap:9px;min-height:60px;padding:9px 10px 9px 12px;border-color:#d9d5cc;border-radius:13px;background:#fff;box-shadow:0 1px 3px rgba(30,28,24,.025)}
.customer-option-item:hover{border-color:#bdb7ac}
.customer-option-copy{order:1;align-content:center}
.customer-option-copy b{font-size:13.5px;white-space:normal}
.customer-option-copy small{font-size:10.5px}
.customer-option-check{order:2;width:25px;height:25px;border:1.5px solid #aaa59b;border-radius:9px;background:#faf9f6}
.customer-option-item input[type=radio]+.customer-option-copy+.customer-option-check{border-radius:50%}
.customer-option-item.is-selected{border-color:#f07b28;background:#fff8f1;box-shadow:inset 0 0 0 1px #f07b28,0 3px 9px rgba(213,96,20,.08)}
.customer-option-item.is-selected .customer-option-check{border-color:#ed741f;background:#ed741f}
.customer-option-item.is-selected .customer-option-check::after{content:'✓';color:#fff;font-size:14px;font-weight:1000;line-height:1}
.customer-option-item input[type=radio]:checked+.customer-option-copy+.customer-option-check::after{content:'✓';width:auto;height:auto;background:transparent}
.customer-option-item.soldout{box-shadow:none}
.customer-product-sheet-footer{gap:8px;padding-top:9px;border-top-color:#d8d4cb;box-shadow:0 -5px 14px rgba(26,24,20,.055)}
.customer-add-cart:not(.is-ready){background:#494844;color:#fff}
.customer-add-cart.is-ready{background:#171717}
@media(max-width:390px){
  .customer-product-sheet-head{gap:8px;padding-top:12px;padding-bottom:11px}
  .customer-product-title-row h2{font-size:19px}
  .customer-product-sheet-scroll{padding:10px 9px 26px}
  .customer-option-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .customer-option-group{padding:10px}
  .customer-option-item{min-height:58px;padding:8px 8px 8px 10px}
  .customer-option-copy b{font-size:12.5px}
  .customer-option-check{width:23px;height:23px}
}
@media(max-width:330px){
  .customer-option-list{grid-template-columns:1fr}
  .customer-product-head-meta{align-items:flex-start;flex-direction:column;gap:6px}
}
.customer-option-heading b{font-size:15px;line-height:1.35}
.customer-option-heading .sub{font-size:10.5px;line-height:1.35}

/* v1.2.0-fix43 customer cart and order confirmation UI */
.customer-cart-modal{z-index:40;align-items:flex-end;background:rgba(20,20,18,.56);overscroll-behavior:contain}
.customer-cart-modal .customer-cart-sheet{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(660px,100%);height:calc(100dvh - max(10px,env(safe-area-inset-top)));max-height:none;padding:0;overflow:hidden;border-radius:24px 24px 0 0;background:#f5f5f2;box-shadow:0 -18px 50px rgba(0,0,0,.22)}
.customer-cart-sheet-head{position:relative;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:15px 18px 13px;background:#fff;border-bottom:1px solid #e5e2da}
.customer-cart-sheet-head>div{display:grid;gap:3px;min-width:0}
.customer-cart-kicker{color:#d95f14;font-size:10px;font-weight:1000;letter-spacing:.08em}
.customer-cart-sheet-head h2{margin:0;color:#171717;font-size:21px;line-height:1.3;letter-spacing:-.015em}
.customer-cart-sheet-head p{margin:1px 0 0;color:#77736c;font-size:11.5px;line-height:1.45}
.customer-cart-close{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;min-width:72px;min-height:40px;padding:8px 12px;border:1px solid #ddd9d0;border-radius:999px;background:#fff;color:#2a2927;font-size:12px;font-weight:900;line-height:1;cursor:pointer}.customer-cart-close>span:last-child{display:block;line-height:1}.customer-cart-close-icon{display:grid;place-items:center;flex:0 0 15px;width:15px;height:15px}.customer-cart-close-icon svg{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.customer-cart-sheet-scroll{min-height:0;overflow-y:auto;padding:12px 14px 24px;overscroll-behavior:contain;scroll-padding:16px}
.customer-cart-item{display:grid;gap:11px;margin:0 0 10px;padding:13px 14px;border:1px solid #e0ddd5;border-radius:16px;background:#fff;box-shadow:0 2px 8px rgba(31,29,25,.035)}
.customer-cart-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.customer-cart-item-title{display:grid;gap:5px;min-width:0}
.customer-cart-item-title>b{font-size:16px;line-height:1.35}
.customer-cart-item-title .pill{width:max-content;max-width:100%}
.customer-cart-item-head>strong{flex:0 0 auto;font-size:18px;letter-spacing:-.02em}
.customer-cart-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.customer-cart-options>div{display:grid;gap:2px;min-width:0;padding:8px 10px;border-radius:10px;background:#f7f6f2}
.customer-cart-options span{color:#77736c;font-size:9.5px;font-weight:800;line-height:1.35}
.customer-cart-options b{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.customer-cart-options b small{color:#5f5b54;font-size:10px;font-weight:800}
.customer-cart-plan-meta{display:grid;gap:6px;padding:9px 10px;border-radius:11px;background:#f7f6f2;color:#5f5b54;font-size:11px}
.customer-cart-plan-meta span{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.customer-cart-item-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:10px;border-top:1px solid #ece9e2}
.customer-cart-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.customer-cart-actions button{min-height:34px;padding:7px 11px;border:1px solid #d8d4cb;border-radius:10px;background:#fff;color:#282623;font-size:11px;font-weight:900;cursor:pointer}
.customer-cart-actions button.danger-text{background:#fffafa}
.customer-cart-quantity{display:flex;align-items:center;gap:8px}
.customer-cart-quantity>span{color:#77736c;font-size:9.5px;font-weight:900}
.customer-cart-quantity .cart-qty{gap:7px}
.customer-cart-quantity .cart-qty button{width:34px;height:34px;border-radius:10px;font-size:19px}
.customer-cart-quantity .cart-qty b{min-width:17px;text-align:center;font-size:14px}
.customer-cart-allergy{display:grid;gap:8px;margin-top:14px;padding:13px 14px 14px;border:1px solid #ebc9c5;border-left:4px solid #cf5148;border-radius:15px;background:#fffafa}
.customer-cart-allergy-head{display:flex;align-items:center;gap:9px}
.customer-cart-allergy-head>div{display:flex;align-items:center;gap:7px;min-width:0}
.customer-cart-allergy-head b{font-size:14px;line-height:1.35}
.customer-cart-allergy-head small{padding:2px 7px;border-radius:999px;background:#f3e8e6;color:#8d4b45;font-size:9px;font-weight:900;white-space:nowrap}
.customer-cart-allergy-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fde4e1;color:#a72b24;font-size:13px;font-weight:1000}
.customer-cart-allergy p{margin:0;color:#625d56;font-size:10.5px;line-height:1.55}
.customer-cart-allergy textarea{min-height:72px;padding:11px 12px;border-color:#d8d3ca;border-radius:11px;resize:vertical;font-size:12px;line-height:1.5}
.customer-cart-allergy-disclaimer{color:#8a847c;font-size:9px;line-height:1.45}
.customer-cart-sheet-footer{position:relative;z-index:3;display:grid;gap:9px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border-top:1px solid #dedbd3;box-shadow:0 -8px 22px rgba(26,24,20,.08)}
.customer-cart-total{display:flex;align-items:center;justify-content:space-between;gap:14px}
.customer-cart-total>span{padding:4px 9px;border-radius:999px;background:#f1efe9;color:#6b675f;font-size:10px;font-weight:900}
.customer-cart-total>div{display:flex;align-items:baseline;gap:8px}
.customer-cart-total small{color:#716d65;font-size:10px;font-weight:900}
.customer-cart-total strong{font-size:22px;letter-spacing:-.025em}
.customer-cart-submit{min-height:48px;padding:12px 16px;border-radius:14px;background:#171717;font-size:14px;box-shadow:none}
.customer-cart-submit:disabled{background:#6d6a64}
.customer-cart-item.cart-unavailable{border-color:#e8aaa6;background:#fff6f5}
@media(min-width:700px){
  .customer-cart-modal{align-items:center;justify-content:center;padding:22px}
  .customer-cart-modal .customer-cart-sheet{height:min(860px,calc(100dvh - 44px));border-radius:24px}
}
@media(max-width:390px){
  .customer-cart-sheet-head{padding-inline:14px}
  .customer-cart-sheet-scroll{padding:10px 10px 22px}
  .customer-cart-item{padding:12px}
  .customer-cart-options{gap:6px}
  .customer-cart-options>div{padding:7px 8px}
  .customer-cart-item-controls{align-items:flex-end}
  .customer-cart-actions button{padding-inline:9px}
  .customer-cart-sheet-footer{padding-inline:10px}
}
@media(max-width:330px){
  .customer-cart-options{grid-template-columns:1fr}
  .customer-cart-item-controls{display:grid;grid-template-columns:1fr}
  .customer-cart-quantity{justify-content:space-between}
}

/* v1.2.0-fix44 customer order success and history UI */
.customer-order-success-sheet{display:grid;gap:12px;text-align:center;padding:28px 18px calc(18px + env(safe-area-inset-bottom));background:#fff}
.customer-order-success-mark{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 2px;border-radius:50%;background:#fff1e7;color:#ed6d1f;font-size:30px;font-weight:1000;box-shadow:inset 0 0 0 1px #ffd5bb}
.customer-order-success-number{justify-self:center;padding:6px 11px;border-radius:999px;background:#f2f1ed;color:#55524c;font-size:12px;font-weight:900;letter-spacing:.04em}
.customer-order-success-sheet h2{margin:0;font-size:24px;line-height:1.35;letter-spacing:-.02em}
.customer-order-success-sheet>p{margin:0 0 2px;color:#69655e;font-size:13px;line-height:1.65}
.customer-order-success-total{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:4px 0 2px;padding:15px 16px;border:1px solid #e4e1da;border-radius:16px;background:#f8f7f4;text-align:left}
.customer-order-success-total span{color:#6c6861;font-size:12px;font-weight:800}
.customer-order-success-total b{font-size:28px;line-height:1;letter-spacing:-.025em}
.customer-order-success-primary{margin-top:2px}
.customer-order-duplicate-note{margin:0;text-align:left;font-size:12px;line-height:1.55}

.customer-history-page{max-width:720px;padding:16px 18px 38px}
.customer-history-loading{margin-top:18px}
.customer-history-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:2px 0 14px}
.customer-history-head>div:first-child{display:grid;gap:2px;min-width:0}
.customer-history-kicker{color:#ed6d1f;font-size:10px;font-weight:1000;letter-spacing:.1em}
.customer-history-head h1{margin:0;font-size:26px;line-height:1.25;letter-spacing:-.025em}
.customer-history-head p{margin:1px 0 0;color:#747069;font-size:12px;line-height:1.45}
.customer-history-refresh{display:grid;justify-items:end;gap:5px;flex:0 0 auto}
.customer-history-refresh>span{display:flex;align-items:center;gap:5px;color:#77736c;font-size:10px;font-weight:700;white-space:nowrap}
.customer-history-refresh>span i{display:block;width:6px;height:6px;border-radius:50%;background:#47a36b;box-shadow:0 0 0 3px #e3f4e8}
.customer-history-refresh button{min-width:64px;padding:8px 13px;border:1px solid #dedad2;border-radius:999px;background:#fff;color:#191919;font-size:12px;font-weight:900;cursor:pointer}
.customer-history-summary{display:grid;grid-template-columns:88px 88px minmax(0,1fr);gap:7px;margin:0 0 12px;padding:8px;border:1px solid #e1ded6;border-radius:17px;background:#fff;box-shadow:0 2px 7px rgba(25,23,19,.035)}
.customer-history-summary>div{display:grid;align-content:center;justify-items:center;gap:3px;min-height:60px;padding:8px;border-radius:12px;background:#f5f4f1}
.customer-history-summary>div>span{color:#78746d;font-size:10px;font-weight:800}
.customer-history-summary>div>b{display:flex;align-items:baseline;gap:3px;color:#171717;font-size:21px;line-height:1}
.customer-history-summary>div>b small{font-size:10px}
.customer-history-summary>.total{align-items:center;justify-items:end;padding-inline:14px;background:#fff6ef}
.customer-history-summary>.total>span{justify-self:start;color:#9e4b19}
.customer-history-summary>.total>b{font-size:23px}
.customer-history-orders{display:grid;gap:11px}
.customer-order-card{overflow:hidden;margin:0;border:1px solid #ddd9d1;border-radius:17px;background:#fff;box-shadow:0 2px 8px rgba(25,23,19,.035)}
.customer-order-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border-bottom:1px solid #ece9e2;background:#fbfaf8}
.customer-order-card-head>div{display:grid;gap:3px}
.customer-order-number{font-size:14px;font-weight:1000;letter-spacing:.01em}
.customer-order-card-head small{color:#79756e;font-size:10px;font-weight:700}
.customer-order-card-head>strong{font-size:19px;line-height:1}
.customer-order-card .history-allergy-note,.customer-order-card .history-group-request{display:grid;gap:3px;margin:11px 14px 0;padding:10px 11px;border-radius:11px;font-size:11px;line-height:1.5}
.customer-order-card .history-allergy-note{border:1px solid #efc2bd;background:#fff6f5;color:#7c211a}
.customer-order-card .history-group-request{background:#f4f3ef;color:#4e4b46}
.customer-order-items{display:grid;border:0}
.customer-order-item{display:grid;grid-template-columns:1fr;gap:9px;padding:14px 15px;border:0;border-bottom:1px solid #ece9e2}
.customer-order-item:last-child{border-bottom:0}
.customer-order-item-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.customer-order-item-title>div{display:flex;align-items:baseline;gap:6px;min-width:0}
.customer-order-item-title b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:1.35}
.customer-order-item-title span{color:#6f6b64;font-size:12px;font-weight:900}
.customer-order-item-title>strong{flex:0 0 auto;font-size:15px}
.customer-history-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.customer-history-options>span{display:grid;gap:2px;min-width:0;padding:8px 9px;border-radius:10px;background:#f5f4f1}
.customer-history-options small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#817d76;font-size:9px;font-weight:800}
.customer-history-options b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.35}
.customer-order-item .service-plan-history-label{justify-self:start;margin:0;padding:4px 8px;border-radius:999px;background:#e7f5ec;color:#176b3a;font-size:10px;font-weight:900}
.customer-order-item .item-special-request{display:grid;grid-template-columns:auto 1fr;gap:6px;padding:8px 9px;border-radius:10px;background:#fff7dc;color:#654b00;font-size:10px;line-height:1.45}
.customer-order-item-status{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:9px;border-top:1px solid #efede7}
.customer-order-item-status>span:last-child{color:#747069;font-size:10px;font-weight:700;text-align:right}
.customer-item-status{display:inline-flex;align-items:center;gap:6px;min-height:25px;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:1000;white-space:nowrap}
.customer-item-status i{display:block;width:7px;height:7px;border-radius:50%}
.customer-item-status.status-submitted{background:#fff1cc;color:#785300}.customer-item-status.status-submitted i{background:#e7a400}
.customer-item-status.status-preparing{background:#fff0e4;color:#a0440d}.customer-item-status.status-preparing i{background:#ed6d1f;box-shadow:0 0 0 3px #ffe0cc}
.customer-item-status.status-ready{background:#e3f5e9;color:#176b3a}.customer-item-status.status-ready i{background:#35a15d;box-shadow:0 0 0 3px #c8ebd4}
.customer-item-status.status-served{background:#eeefec;color:#4f534d}.customer-item-status.status-served i{background:#777c75}
.customer-item-status.status-cancelled{background:#ffe5e2;color:#94251d}.customer-item-status.status-cancelled i{background:#c9372c}
.customer-plan-charge-history{display:grid;gap:0;margin:12px 0 0;padding:14px 15px;border:1px solid #d9e6dc;border-radius:17px;background:#f7fcf8}
.customer-plan-charge-history h2{margin:0 0 8px;font-size:15px}
.customer-plan-charge-history>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #e0ebe2}
.customer-plan-charge-history>div span{display:grid;gap:2px}.customer-plan-charge-history>div small{color:#747069;font-size:10px}
@media(min-width:700px){.customer-order-success-sheet{width:min(520px,calc(100vw - 40px));border-radius:22px}.customer-history-page{padding-top:22px}}
@media(max-width:430px){.customer-history-page{padding-inline:14px}.customer-history-head{align-items:flex-start}.customer-history-head p{max-width:250px}.customer-history-refresh>span{display:none}.customer-history-summary{grid-template-columns:72px 72px minmax(0,1fr)}.customer-history-summary>div{min-height:56px;padding:7px 5px}.customer-history-summary>.total{padding-inline:10px}.customer-history-summary>.total>b{font-size:21px}.customer-history-options{gap:5px}.customer-order-card-head,.customer-order-item{padding-inline:13px}}
@media(max-width:350px){.customer-history-summary{grid-template-columns:1fr 1fr}.customer-history-summary>.total{grid-column:1/-1;justify-items:center}.customer-history-summary>.total>span{justify-self:center}.customer-history-options{grid-template-columns:1fr}}
/* v1.2.0-fix45 staff call attention visibility */
.ops-attention-item.is-call{position:relative;overflow:hidden}
.ops-attention-item .ops-attention-label{display:flex;align-items:center;gap:8px}
.ops-attention-item .ops-attention-label i{display:inline-grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;font-style:normal;font-size:15px;font-weight:1000;line-height:1}
.ops-attention-item.is-call-pending{border-color:#e34b43;background:#fff0ef;box-shadow:0 0 0 2px rgba(194,39,31,.08),0 8px 24px rgba(194,39,31,.08)}
.ops-attention-item.is-call-pending::after{content:'';position:absolute;inset:0 0 auto;height:4px;background:#c62820}
.ops-attention-item.is-call-pending .ops-attention-label,.ops-attention-item.is-call-pending b,.ops-attention-item.is-call-pending small{color:#a51d16}
.ops-attention-item.is-call-pending .ops-attention-label i{background:#c62820;color:#fff;box-shadow:0 0 0 4px rgba(198,40,32,.1)}
.ops-attention-item.is-call-active{border-color:#e5a444;background:#fff8e9;box-shadow:0 0 0 2px rgba(208,130,24,.06)}
.ops-attention-item.is-call-active .ops-attention-label,.ops-attention-item.is-call-active b{color:#7b4700}
.ops-attention-item.is-call-active small{color:#9a610f}
.ops-attention-item.is-call-active .ops-attention-label i{background:#f2a733;color:#fff}
.ops-attention-item.is-call-pending:hover{background:#ffe8e6;border-color:#ca2b24}
.ops-attention-item.is-call-active:hover{background:#fff2d8;border-color:#d38c25}
.ops-attention-item.is-checkout-pending{position:relative;overflow:hidden;border-color:#e34b43;background:#fff0ef;box-shadow:0 0 0 2px rgba(194,39,31,.08),0 8px 24px rgba(194,39,31,.08)}
.ops-attention-item.is-checkout-pending::after{content:'';position:absolute;inset:0 0 auto;height:4px;background:#c62820}
.ops-attention-item.is-checkout-pending .ops-attention-label,.ops-attention-item.is-checkout-pending b,.ops-attention-item.is-checkout-pending small{color:#a51d16}
.ops-attention-item.is-checkout-pending .ops-attention-label i{background:#c62820;color:#fff;box-shadow:0 0 0 4px rgba(198,40,32,.1)}
.ops-attention-item.is-checkout-pending:hover{background:#ffe8e6;border-color:#ca2b24}
@media(max-width:700px){.ops-attention-item .ops-attention-label{gap:6px}.ops-attention-item .ops-attention-label i{width:22px;height:22px;flex-basis:22px;font-size:14px}}

/* v1.2.0-fix46 staff call action flow: unassigned=one red start button, assigned=state-specific actions */

/* v1.2.0-fix47 checkout safety and simplified visit-group controls */
.visit-permission-override{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid #efb366;border-radius:14px;background:#fff8e8}
.visit-permission-override>div{display:grid;gap:3px}
.visit-permission-override b{font-size:14px}
.visit-permission-override span{font-size:12px;color:#74552f}
.checkout-empty-mark{background:#f3eee5;color:#8d6b36}
@media(max-width:720px){.visit-permission-override{align-items:stretch;flex-direction:column}.visit-permission-override .state-btn{width:100%}}

/* v1.2.0-fix54 来店予約：取説不要の運用画面・4ステップ設定 */
.reservation-settings-modal{align-items:stretch;padding:0;background:rgba(17,17,17,.64)}
.reservation-settings-sheet{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;width:min(920px,100%);max-width:none;height:100vh;max-height:100vh;margin-left:auto;border-radius:0;overflow:hidden;padding:0;background:#f7f5f0}
.reservation-settings-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 26px 16px;background:#fff;border-bottom:1px solid #e7e1d8}
.reservation-settings-head h2{margin:4px 0 3px;font-size:25px}.reservation-settings-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.reservation-settings-steps{display:grid;grid-template-columns:repeat(4,1fr);padding:0 26px;background:#fff;border-bottom:1px solid #e7e1d8}
.reservation-settings-steps button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;border:0;border-bottom:3px solid transparent;background:transparent;color:#746d63;font-weight:900;cursor:pointer}
.reservation-settings-steps i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#ece9e3;font-style:normal;font-size:12px}.reservation-settings-steps button.active{border-bottom-color:#ff7900;color:#111}.reservation-settings-steps button.active i{background:#ff7900;color:#fff}.reservation-settings-steps button.done i{background:#1e8a4c;color:#fff}
.reservation-settings-content{min-height:0;overflow:auto;padding:22px 26px 30px;scroll-behavior:smooth}.reservation-settings-panel{display:grid;gap:18px}.reservation-settings-panel-title{display:grid;gap:5px}.reservation-settings-panel-title>span{color:#d85e00;font-size:11px;font-weight:1000;letter-spacing:.1em}.reservation-settings-panel-title h3{margin:0;font-size:24px}.reservation-settings-panel-title p{margin:0;color:var(--muted);line-height:1.65}
.reservation-mode-cards{margin:0}.reservation-mode-cards>label{position:relative;min-height:138px}.reservation-mode-cards>label>em{position:absolute;right:10px;top:10px;padding:4px 8px;border-radius:999px;background:#ff7900;color:#fff;font-size:10px;font-style:normal;font-weight:1000}.reservation-mode-cards input{width:20px;height:20px;accent-color:#ff7900}.reservation-mode-cards b{font-size:17px}.reservation-setting-message{display:grid;gap:7px;padding:16px;border:1px solid #e2d9cc;border-radius:15px;background:#fff}.reservation-setting-message>span{font-weight:900}
.reservation-quick-start{display:grid;gap:11px;padding:18px;border:1px solid #b9dec6;border-radius:16px;background:#f1fbf4}.reservation-quick-start>span{font-size:12px;font-weight:900;color:#207044}.reservation-quick-start>div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.reservation-quick-start b{padding:11px;border-radius:11px;background:#fff;text-align:center;font-size:13px}.reservation-quick-start p{margin:0;color:#557064;font-size:12px}
.reservation-settings-grid.guided{display:grid;grid-template-columns:1fr 1fr;gap:13px}.reservation-settings-grid.guided label{display:grid;gap:7px;padding:15px;border:1px solid #e4ddd3;border-radius:14px;background:#fff}.reservation-settings-grid.guided label>span{font-size:13px;font-weight:900}.reservation-settings-grid.guided small{color:var(--muted);line-height:1.45}.reservation-same-day-card{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(220px,.7fr);gap:14px;padding:16px;border:1px solid #e4ddd3;border-radius:16px;background:#fff}.reservation-same-day-card>label{display:grid;gap:7px}.reservation-same-day-card .switch-row{grid-template-columns:auto minmax(0,1fr);align-items:flex-start}.reservation-same-day-card .switch-row span{display:grid;gap:3px}.reservation-same-day-card small{color:var(--muted)}
.reservation-settings-section.compact-section,.reservation-hour-settings{margin:0;border:1px solid #e5ded3;border-radius:18px;padding:18px;background:#fff}.reservation-bulk-actions{display:flex;gap:7px;flex-wrap:wrap}.reservation-hour-list{display:grid;gap:9px}.reservation-hour-card{display:grid;gap:10px;padding:13px 15px;border:1px solid #e2ddd5;border-radius:14px;background:#faf9f6}.reservation-hour-card.disabled{opacity:.58}.reservation-hour-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.reservation-hour-head>div{display:grid;gap:3px}.reservation-hour-head b{font-size:15px}.reservation-hour-head span{color:var(--muted);font-size:12px}.reservation-hour-card details{border-top:1px dashed #ddd5ca;padding-top:8px}.reservation-hour-card summary{cursor:pointer;color:#6a6258;font-size:12px;font-weight:900}.reservation-hour-limit-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:10px}.reservation-hour-limit-grid label{display:grid;gap:6px}.reservation-hour-limit-grid span{font-size:12px;font-weight:900}.reservation-inline-empty{padding:16px;border:1px dashed #d5cec4;border-radius:14px;text-align:center;color:var(--muted);background:#faf9f6}
.reservation-notification-primary{display:grid;grid-template-columns:1fr 1fr;gap:12px}.reservation-choice-switch{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:flex-start;padding:17px;border:2px solid #ded8cf;border-radius:16px;background:#fff}.reservation-choice-switch:has(input:checked){border-color:#48a66a;background:#f2fbf5}.reservation-choice-switch input{width:22px;height:22px;accent-color:#1f8e4e}.reservation-choice-switch span{display:grid;gap:4px}.reservation-choice-switch b{font-size:15px}.reservation-choice-switch small{color:var(--muted);line-height:1.5}.reservation-notification-address{display:grid;gap:7px;padding:16px;border:1px solid #e4ddd3;border-radius:16px;background:#fff}.reservation-notification-address>span{font-weight:900}.reservation-reminder-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.reservation-reminder-card{display:grid;gap:10px;padding:15px;border:1px solid #e4ddd3;border-radius:15px;background:#fff}.reservation-reminder-card>span{display:flex;align-items:center;gap:9px}.reservation-reminder-card input{width:21px;height:21px;accent-color:#1f8e4e}.reservation-advanced-settings{border:1px solid #ddd5ca;border-radius:16px;background:#fff;overflow:hidden}.reservation-advanced-settings>summary{padding:16px 18px;cursor:pointer;font-weight:900}.reservation-advanced-settings[open]>summary{border-bottom:1px solid #e5ded4}.reservation-advanced-settings .reservation-notification-grid{padding:16px}.reservation-process-action{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.reservation-process-action small{color:var(--muted)}
.reservation-settings-preview{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 26px;border-top:1px solid #e4ded5;background:#fff8e9}.reservation-settings-preview>div{display:grid;gap:3px;min-width:0}.reservation-settings-preview span{font-size:11px;font-weight:1000;color:#9b5b13}.reservation-settings-preview b{font-size:12px;line-height:1.55;font-weight:800;color:#51483d}.reservation-settings-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 26px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #ddd7ce;background:#fff}.reservation-settings-footer>span{font-size:12px;font-weight:900;color:var(--muted)}.reservation-settings-footer>div{display:flex;gap:9px}.reservation-settings-footer .btn,.reservation-settings-footer .state-btn{min-width:120px}
.reservation-page-redesign{display:grid;gap:15px;padding-top:20px}.reservation-workspace-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;padding:8px;border:1px solid #e1ddd5;border-radius:18px;background:#fff}.reservation-workspace-nav button{display:grid;gap:3px;padding:13px 15px;border:1px solid transparent;border-radius:13px;background:transparent;text-align:left;cursor:pointer}.reservation-workspace-nav button span{font-size:15px;font-weight:1000}.reservation-workspace-nav button small{color:var(--muted)}.reservation-workspace-nav button.active{border-color:#111;background:#111;color:#fff}.reservation-workspace-nav button.active small{color:#d7d7d7}
.reservation-public-status{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:15px;align-items:center;padding:18px;border:1px solid #b9dec6;border-radius:18px;background:#f2fbf5}.reservation-public-status.is-stopped{border-color:#e9b4ad;background:#fff3f1}.reservation-public-status.is-paused{border-color:#ebce83;background:#fff9e9}.reservation-public-status-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#168447;color:#fff;font-size:20px;font-weight:1000}.reservation-public-status.is-stopped .reservation-public-status-icon{background:#bd2b24}.reservation-public-status.is-paused .reservation-public-status-icon{background:#d18b00}.reservation-public-status>div:nth-child(2){display:grid;gap:3px}.reservation-public-status span{font-size:11px;font-weight:1000;color:#257347}.reservation-public-status.is-stopped span{color:#a52a24}.reservation-public-status h2{margin:0;font-size:18px}.reservation-public-status p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.reservation-public-status-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.reservation-public-status-actions details{position:relative}.reservation-public-status-actions summary{list-style:none;cursor:pointer}.reservation-public-status-actions summary::-webkit-details-marker{display:none}.reservation-public-status-actions details>div{position:absolute;z-index:20;right:0;top:calc(100% + 7px);display:grid;min-width:180px;padding:7px;border:1px solid #ddd8cf;border-radius:12px;background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.14)}.reservation-public-status-actions details button{border:0;border-radius:8px;background:#fff;padding:10px;text-align:left;font-weight:900;cursor:pointer}.reservation-public-status-actions details button:hover{background:#f3f2ef}
.reservation-daily-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.reservation-daily-flow>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;padding:13px 15px;border:1px solid #e4ded5;border-radius:15px;background:#fff}.reservation-daily-flow i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff0df;color:#c65700;font-style:normal;font-weight:1000}.reservation-daily-flow span{display:grid;gap:2px}.reservation-daily-flow small{color:var(--muted)}
.reservation-summary.redesigned{grid-template-columns:repeat(5,1fr);margin:0}.reservation-summary.redesigned>div{padding:14px 16px}.reservation-summary.redesigned b{display:flex;align-items:baseline;gap:3px;font-size:1.65rem}.reservation-summary.redesigned small{font-size:.72rem;color:var(--muted)}.reservation-summary.redesigned .danger{border-color:#e7aaa5;background:#fff2f1;color:#a62922}
.reservation-tools.redesigned{display:grid;grid-template-columns:minmax(260px,1fr) auto;align-items:end;gap:12px;margin:0}.reservation-search-box{display:grid;gap:5px}.reservation-search-box>span{font-size:11px;font-weight:1000;color:var(--muted)}.reservation-tools.redesigned .reservation-filter-tabs{justify-content:flex-end}
@media(max-width:900px){.reservation-settings-sheet{width:100%}.reservation-mode-cards,.reservation-settings-grid.guided,.reservation-notification-primary,.reservation-reminder-cards{grid-template-columns:1fr}.reservation-quick-start>div{grid-template-columns:1fr}.reservation-same-day-card{grid-template-columns:1fr}.reservation-workspace-nav{grid-template-columns:1fr 1fr}.reservation-public-status{grid-template-columns:auto minmax(0,1fr)}.reservation-public-status-actions{grid-column:1/-1;justify-content:stretch}.reservation-public-status-actions>*{flex:1}.reservation-daily-flow{grid-template-columns:1fr}.reservation-summary.redesigned{grid-template-columns:repeat(2,1fr)}.reservation-tools.redesigned{grid-template-columns:1fr}.reservation-tools.redesigned .reservation-filter-tabs{justify-content:flex-start}.reservation-hour-limit-grid{grid-template-columns:1fr}}
@media(max-width:600px){.reservation-settings-head{padding:17px}.reservation-settings-head h2{font-size:21px}.reservation-settings-steps{padding:0 8px}.reservation-settings-steps button{display:grid;gap:3px;font-size:10px}.reservation-settings-content{padding:16px 13px 24px}.reservation-settings-panel-title h3{font-size:21px}.reservation-mode-cards>label{min-height:0;padding:14px}.reservation-settings-preview{display:grid;padding:12px 14px}.reservation-settings-preview .state-btn{width:100%}.reservation-settings-footer{padding:11px 13px calc(11px + env(safe-area-inset-bottom))}.reservation-settings-footer>span{display:none}.reservation-settings-footer>div{display:grid;grid-template-columns:1fr 1fr;width:100%}.reservation-settings-footer .btn,.reservation-settings-footer .state-btn{min-width:0;width:100%}.reservation-settings-footer #reservationSettingsSaveButton{grid-column:1/-1}.reservation-workspace-nav{grid-template-columns:1fr 1fr}.reservation-workspace-nav button{padding:11px}.reservation-public-status{grid-template-columns:1fr;text-align:left}.reservation-public-status-icon{width:38px;height:38px}.reservation-public-status-actions{display:grid}.reservation-public-status-actions details>div{left:0;right:auto}.reservation-summary.redesigned{grid-template-columns:1fr 1fr}.reservation-tools.redesigned .reservation-filter-tabs{display:flex;overflow:auto}.reservation-hour-head{align-items:flex-start}.reservation-hour-head .switch-row{flex:0 0 auto}.reservation-bulk-actions{display:grid;width:100%}.reservation-bulk-actions .state-btn{width:100%}}

/* v1.2.0-fix55 来店予約：受付時間・停止日・最短受付日を先に決める5ステップ設定 */
.reservation-settings-steps{grid-template-columns:repeat(5,1fr)}
.reservation-schedule-help{display:flex;align-items:flex-start;gap:10px;margin:12px 0 14px;padding:12px 14px;border:1px solid #cfe0d3;border-radius:13px;background:#f3faf5;color:#315e40;font-size:12px;line-height:1.55}
.reservation-schedule-help b{white-space:nowrap;color:#176d35}.reservation-schedule-help span{min-width:0}
.reservation-exception-primary{margin:0}.reservation-exception-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}
.reservation-exception-guide>div{display:grid;gap:4px;padding:13px 14px;border:1px solid #e5ded3;border-radius:13px;background:#faf9f6}.reservation-exception-guide b{font-size:13px}.reservation-exception-guide span{color:var(--muted);font-size:11px;line-height:1.45}
.reservation-date-window-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.reservation-date-window-card{display:grid;gap:11px;padding:18px;border:1px solid #e2ddd4;border-radius:17px;background:#fff}.reservation-date-window-card.primary{border-color:#f0b16f;background:#fff9f0;box-shadow:0 0 0 3px rgba(255,121,0,.05)}.reservation-date-window-card>span{font-size:11px;font-weight:1000;color:#b65000;letter-spacing:.06em}.reservation-date-window-card h4{margin:0;font-size:16px;line-height:1.45}.reservation-date-window-card small{color:var(--muted);line-height:1.55}
.reservation-date-shortcuts{display:flex;flex-wrap:wrap;gap:7px}.reservation-date-shortcuts button{border:1px solid #d8d1c7;border-radius:999px;padding:8px 12px;background:#fff;font-weight:900;cursor:pointer}.reservation-date-shortcuts button.active{border-color:#ff7900;background:#ff7900;color:#fff}
.reservation-date-range-result{padding:15px 17px;border:1px solid #b9dec6;border-radius:15px;background:#f2fbf5;color:#245d39;font-weight:900;line-height:1.55}
.reservation-same-day-card[hidden]{display:none!important}.reservation-same-day-card>div{display:grid;gap:4px;align-content:center}.reservation-same-day-card>div>b{font-size:15px}.reservation-same-day-card>div>span{color:var(--muted);font-size:12px;line-height:1.5}
.reservation-party-size-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.reservation-party-size-grid>label{display:grid;gap:8px;padding:17px;border:1px solid #e3ddd4;border-radius:15px;background:#fff}.reservation-party-size-grid>label>span{font-size:13px;font-weight:900}
.reservation-capacity-note{margin-top:13px;padding:12px 14px;border-radius:12px;background:#fff8df;color:#6d4b00;font-size:12px;line-height:1.55}
@media(max-width:900px){.reservation-date-window-grid,.reservation-party-size-grid,.reservation-exception-guide{grid-template-columns:1fr}.reservation-settings-steps{overflow-x:auto;grid-template-columns:repeat(5,minmax(104px,1fr));padding:0 10px}.reservation-settings-steps button{min-width:104px}}
@media(max-width:600px){.reservation-settings-steps{justify-content:flex-start}.reservation-schedule-help{display:grid}.reservation-date-shortcuts{display:grid;grid-template-columns:repeat(3,1fr)}.reservation-date-shortcuts button{padding:9px 6px}.reservation-exception-guide{display:none}}

/* v1.2.0-fix56: 来店予約の基本設定を取説不要の一画面へ整理 */
.reservation-simple-settings-sheet{grid-template-rows:auto minmax(0,1fr) auto auto;width:min(900px,100%)}
.reservation-simple-settings-content{display:grid;gap:16px}
.reservation-simple-section{display:grid;gap:16px;padding:19px;border:1px solid #e2dbd1;border-radius:18px;background:#fff}
.reservation-simple-section-title{display:flex;align-items:flex-start;gap:12px}
.reservation-simple-section-title>i{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#fff1df;color:#d65f00;font-style:normal;font-weight:1000}
.reservation-simple-section-title>div{min-width:0;flex:1}.reservation-simple-section-title h3{margin:0 0 4px;font-size:20px}.reservation-simple-section-title p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.reservation-simple-section-title>.btn,.reservation-simple-section-title>.state-btn{flex:0 0 auto}
.reservation-usage-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.reservation-usage-cards>label{display:flex;align-items:flex-start;gap:11px;min-height:110px;padding:17px;border:2px solid #e5dfd6;border-radius:16px;background:#faf9f6;cursor:pointer}
.reservation-usage-cards>label.active{border-color:#ff7900;background:#fff8ec;box-shadow:0 0 0 3px rgba(255,121,0,.08)}
.reservation-usage-cards input{width:20px;height:20px;margin-top:2px;accent-color:#ff7900}.reservation-usage-cards span{display:grid;gap:5px}.reservation-usage-cards b{font-size:17px}.reservation-usage-cards small{color:#6e675f;line-height:1.55}
.reservation-simple-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px;border-radius:14px;background:#f7f5f0}
.reservation-simple-toolbar>div:first-child{display:grid;gap:3px}.reservation-simple-toolbar>div:first-child span{color:var(--muted);font-size:12px}.reservation-simple-toolbar>div:last-child{display:flex;gap:7px;flex-wrap:wrap}
.reservation-simple-hour-list{display:grid;gap:9px}.reservation-simple-hour-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:13px 15px;border:1px solid #e3ddd4;border-radius:14px;background:#fff}
.reservation-simple-hour-card>div{display:grid;gap:3px}.reservation-simple-hour-card b{font-size:15px}.reservation-simple-hour-card>div span{color:var(--muted);font-size:12px}.reservation-simple-hour-card.disabled{opacity:.55;background:#f7f7f7}
.reservation-custom-mode-notice{display:grid;gap:4px;padding:16px;border:1px solid #b9d9c6;border-radius:14px;background:#eff9f2;color:#165f35}.reservation-custom-mode-notice span{font-size:13px}
.reservation-simple-empty{display:grid;gap:4px;padding:22px;border:1px dashed #d7cfc4;border-radius:14px;text-align:center;background:#faf9f6}.reservation-simple-empty span{color:var(--muted);font-size:13px}
.reservation-date-window-grid.simple{grid-template-columns:1fr 1fr}.reservation-date-window-grid.simple>label{min-height:150px}
.reservation-simple-advanced{margin:0;border:1px solid #d9d2c8;border-radius:18px;background:#fff;overflow:hidden}
.reservation-simple-advanced>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 19px;cursor:pointer;list-style:none;background:#f5f2ec}.reservation-simple-advanced>summary::-webkit-details-marker{display:none}
.reservation-simple-advanced>summary span{display:grid;gap:3px}.reservation-simple-advanced>summary b{font-size:17px}.reservation-simple-advanced>summary small{color:var(--muted)}.reservation-simple-advanced>summary i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fff;font-style:normal;font-weight:1000;transition:.2s transform}
.reservation-simple-advanced[open]>summary i{transform:rotate(45deg)}.reservation-advanced-body{display:grid;gap:16px;padding:17px;background:#faf9f6}
.reservation-advanced-mode-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}
.reservation-advanced-mode-cards>label{display:flex;align-items:flex-start;gap:9px;padding:14px;border:2px solid #e4ded5;border-radius:14px;background:#fff;cursor:pointer}.reservation-advanced-mode-cards>label.active{border-color:#ff7900;background:#fff8ec}.reservation-advanced-mode-cards input{margin-top:3px;accent-color:#ff7900}.reservation-advanced-mode-cards span{display:grid;gap:3px}.reservation-advanced-mode-cards small{color:var(--muted);line-height:1.45}
.reservation-hour-limit-list{display:grid;gap:9px;margin-top:13px}.reservation-hour-limit-row{display:grid;grid-template-columns:minmax(180px,1.3fr) minmax(150px,1fr) minmax(150px,1fr);align-items:end;gap:10px;padding:13px;border:1px solid #e2ddd5;border-radius:14px;background:#faf9f6}.reservation-hour-limit-row>div{display:grid;gap:3px;align-self:center}.reservation-hour-limit-row>div span{color:var(--muted);font-size:12px}.reservation-hour-limit-row label{display:grid;gap:5px}.reservation-hour-limit-row label>span{font-size:12px;font-weight:900}
.reservation-simple-footer{justify-content:flex-end}.reservation-simple-footer>div{margin-left:auto}.reservation-simple-footer #reservationSettingsSaveButton{min-width:260px}
.reservation-simple-section .reservation-exception-row{margin-top:0}.reservation-simple-section #reservationExceptions{display:grid;gap:10px}
@media(max-width:900px){.reservation-usage-cards,.reservation-date-window-grid.simple,.reservation-advanced-mode-cards{grid-template-columns:1fr}.reservation-hour-limit-row{grid-template-columns:1fr 1fr}.reservation-hour-limit-row>div{grid-column:1/-1}.reservation-simple-section-title{flex-wrap:wrap}.reservation-simple-section-title>.btn,.reservation-simple-section-title>.state-btn{width:100%}}
@media(max-width:600px){.reservation-simple-section{padding:14px;border-radius:15px}.reservation-simple-section-title>i{width:28px;height:28px;flex-basis:28px}.reservation-simple-section-title h3{font-size:18px}.reservation-usage-cards>label{min-height:0;padding:14px}.reservation-simple-toolbar{display:grid}.reservation-simple-toolbar>div:last-child{display:grid;grid-template-columns:1fr 1fr}.reservation-simple-hour-card{grid-template-columns:1fr}.reservation-simple-hour-card .switch-row{justify-content:flex-start}.reservation-hour-limit-row{grid-template-columns:1fr}.reservation-hour-limit-row>div{grid-column:auto}.reservation-simple-footer{display:block}.reservation-simple-footer>span{display:none}.reservation-simple-footer>div{width:100%}.reservation-simple-footer #reservationSettingsSaveButton{width:100%;min-width:0}.reservation-simple-advanced>summary{padding:15px}}

/* v1.2.0-fix57: 来店予約設定の入口をヘッダーへ明示 */
.reservation-workspace-nav.reservation-workspace-nav-operations{grid-template-columns:repeat(3,minmax(0,1fr))}
.store-admin-body .topbar .reservation-settings-header-button{border-color:#fff;background:#fff;color:#111;font-weight:900;box-shadow:0 3px 12px rgba(0,0,0,.16)}
.store-admin-body .topbar .reservation-settings-header-button:hover{border-color:#f1ede5;background:#f1ede5;color:#111}
@media(max-width:760px){.reservation-workspace-nav.reservation-workspace-nav-operations{grid-template-columns:repeat(3,minmax(132px,1fr));overflow-x:auto}.store-admin-body .topbar .reservation-settings-header-button{padding-left:10px;padding-right:10px}}
/* v1.2.0-fix59: 来店予約と客席の自動連動 */
.reservation-seat-summary{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:5px 10px;padding:11px 13px;border:1px solid #b8ddc7;border-radius:12px;background:#f2fbf5;color:#155d32}.reservation-seat-summary>span{font-size:.72rem;font-weight:900}.reservation-seat-summary>b{font-size:.95rem;color:#17251d}.reservation-seat-summary>small{color:#47705a;font-weight:800}.reservation-seat-summary.danger{border-color:#efb2ac;background:#fff3f1;color:#9a251c}.reservation-seat-summary.danger>b{color:#7f1f18}.reservation-seat-summary.danger>small{color:#8d514c}.reservation-seat-summary.compact{display:flex;flex-wrap:wrap;padding:6px 9px;border-radius:9px;font-size:12px}.reservation-seat-summary.compact>b{font-size:12px}.reservation-seat-summary.compact>small{font-size:10px}.reservation-seat-auto-guide{display:grid;gap:4px;padding:12px 14px;border:1px solid #b8ddc7;border-radius:13px;background:#f2fbf5}.reservation-seat-auto-guide b{font-size:.88rem;color:#155d32}.reservation-seat-auto-guide span{font-size:.78rem;line-height:1.55;color:#4c6456}.ops-reservation-notes .reservation-seat-summary{white-space:normal;overflow:visible;text-overflow:clip}.ops-reservation-notes .reservation-seat-summary span,.ops-reservation-notes .reservation-seat-summary b,.ops-reservation-notes .reservation-seat-summary small{white-space:normal;overflow:visible;text-overflow:clip}.reservation-table-name+small{line-height:1.45}
@media(max-width:680px){.reservation-seat-summary{grid-template-columns:1fr}.reservation-seat-summary>small{margin-top:1px}.reservation-seat-summary.compact{display:grid}.reservation-seat-auto-guide{padding:11px 12px}}


/* v1.2.0-fix60: 店舗側で予約客席を指定・変更 */
.reservation-seat-editor-block{display:grid;gap:13px;padding:16px;border:1px solid #d9d2c8;border-radius:16px;background:#faf9f6}
.reservation-seat-editor-title>div{display:grid;gap:3px}.reservation-seat-editor-title b{font-size:16px}.reservation-seat-editor-title span{font-size:12px;color:var(--muted);line-height:1.55}
.reservation-seat-mode-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.reservation-seat-mode-cards>label{display:flex;align-items:flex-start;gap:10px;padding:14px;border:2px solid #e1dbd2;border-radius:14px;background:#fff;cursor:pointer}.reservation-seat-mode-cards>label:has(input:checked){border-color:#ff7900;background:#fff8ed;box-shadow:0 0 0 3px rgba(255,121,0,.07)}.reservation-seat-mode-cards input{margin-top:3px;accent-color:#ff7900}.reservation-seat-mode-cards span{display:grid;gap:3px}.reservation-seat-mode-cards b{font-size:14px}.reservation-seat-mode-cards small{color:var(--muted);font-size:11px;line-height:1.5}
#reservationSeatAutoPreview{display:grid;gap:4px;padding:13px 14px;border:1px solid #b8ddc7;border-radius:13px;background:#f2fbf5}#reservationSeatAutoPreview b{color:#155d32}#reservationSeatAutoPreview span{color:#4c6456;font-size:12px;line-height:1.55}
.reservation-seat-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.reservation-seat-option{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;min-height:64px;padding:11px 12px;border:1px solid #dcd6cd;border-radius:13px;background:#fff;cursor:pointer}.reservation-seat-option:has(input:checked){border:2px solid #ff7900;background:#fff8ee}.reservation-seat-option input{width:20px;height:20px;accent-color:#ff7900}.reservation-seat-option span{display:grid;gap:2px}.reservation-seat-option b{font-size:14px}.reservation-seat-option small{color:var(--muted);font-size:11px;line-height:1.4}.reservation-seat-option i{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f1eee8;color:#8b847a;font-style:normal;font-weight:1000}.reservation-seat-option:has(input:checked) i{background:#ff7900;color:#fff}.reservation-seat-option.is-unavailable{opacity:.55;background:#f3f2ef;cursor:not-allowed}
.reservation-seat-selection-summary{display:grid;gap:3px;margin-top:10px;padding:11px 13px;border-radius:12px}.reservation-seat-selection-summary.ok{border:1px solid #b8ddc7;background:#f2fbf5;color:#155d32}.reservation-seat-selection-summary.warning{border:1px solid #efc4a3;background:#fff7ed;color:#8a4514}.reservation-seat-selection-summary span{font-size:11px;line-height:1.5}.reservation-seat-loading,.reservation-seat-empty{padding:14px;border:1px dashed #d7d0c7;border-radius:12px;text-align:center;color:var(--muted);background:#fff}
.reservation-seat-detail-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.reservation-seat-change-button{white-space:nowrap}.reservation-seat-change-sheet{width:min(720px,100%)}
@media(max-width:680px){.reservation-seat-mode-cards,.reservation-seat-option-grid{grid-template-columns:1fr}.reservation-seat-detail-row{grid-template-columns:1fr}.reservation-seat-change-button{width:100%}}

/* v1.2.0-fix64: ミセマル共通UIシステム（全画面横断） */
:root{
  --ui-brand:#ff7900;
  --ui-brand-soft:#fff3e7;
  --ui-focus:rgba(255,121,0,.22);
  --ui-control-height:48px;
  --ui-action-height:44px;
  --ui-radius-control:12px;
  --ui-radius-card:18px;
  --ui-shadow-card:0 3px 14px rgba(32,24,12,.055);
  --ui-shadow-modal:0 24px 70px rgba(0,0,0,.24);
}

/* 操作部品の寸法・余白・状態を役割別に統一 */
:where(.btn,.state-btn,.tab,.icon-btn,button.ui-action,a.ui-action,summary.ui-action){
  -webkit-tap-highlight-color:transparent;
  transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .12s ease,opacity .16s ease;
}
:where(.btn,.state-btn,button.ui-action,a.ui-action,summary.ui-action){
  min-height:var(--ui-action-height);
}
:where(.btn,.state-btn,.tab).ui-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  line-height:1.25;
}
.btn{border-radius:var(--ui-radius-control);box-shadow:0 1px 0 rgba(255,255,255,.08) inset}
.btn.compact{min-height:40px;padding:9px 13px}
.state-btn{min-height:42px;border-radius:var(--ui-radius-control);line-height:1.25}
.tab{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.2}
.icon-btn{display:inline-grid;place-items:center;min-width:42px;min-height:42px;padding:8px;border-radius:var(--ui-radius-control)}
:where(.btn,.state-btn,.tab,.icon-btn,button,a,summary):focus-visible{
  outline:3px solid var(--ui-focus);
  outline-offset:2px;
  border-color:var(--ui-brand)!important;
}
:where(.btn,.state-btn,.tab,.icon-btn,button.ui-action,a.ui-action):active:not(:disabled){transform:translateY(1px)}
:where(.btn,.state-btn,.tab,.icon-btn,button.ui-action):disabled,
:where(.btn,.state-btn,.tab,.icon-btn,button.ui-action)[aria-disabled="true"]{cursor:not-allowed;opacity:.48;transform:none}

/* SVGアイコンは線幅・寸法・配置を全画面で共通化 */
.ui-action-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:19px;height:19px;color:currentColor}
.ui-action-icon .ui-system-svg{display:block;width:100%;height:100%}
.tab .ui-action-icon{width:17px;height:17px}
.btn.compact .ui-action-icon,.state-btn .ui-action-icon{width:17px;height:17px}
.ui-action-icon-only{display:inline-grid!important;place-items:center!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;line-height:1!important}
.ui-action-icon-only .ui-action-icon{width:20px;height:20px}
.ui-system-svg{display:block;width:1em;height:1em}
.ui-symbol-icon{font-size:0!important;line-height:1!important}
.ui-symbol-icon .ui-system-svg{width:55%;height:55%}

/* 入力欄の高さ、角丸、フォーカス、無効状態を統一 */
:where(input.input,select.input,textarea.input){
  min-height:var(--ui-control-height);
  border-radius:var(--ui-radius-control);
  border-color:#d8d6d0;
  transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
:where(textarea.input){min-height:96px;line-height:1.6;resize:vertical}
:where(input.input,select.input,textarea.input):hover:not(:disabled){border-color:#bbb7ae}
:where(input.input,select.input,textarea.input):focus{
  outline:0;
  border-color:var(--ui-brand);
  box-shadow:0 0 0 4px var(--ui-focus);
}
:where(input.input,select.input,textarea.input):disabled{background:#f0efec;color:#7a7771;cursor:not-allowed}
:where(input.input,select.input,textarea.input)::placeholder{color:#96938c;opacity:1}

/* 項目名と必須・任意表示を同じ構造・同じバッジへ統一 */
.field-label,.reservation-field-label{
  display:inline-flex!important;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  min-height:21px;
  font-weight:800;
}
.field-badge,.reservation-field-badge{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:20px;
  margin:0!important;
  padding:2px 7px!important;
  border:1px solid transparent!important;
  border-radius:999px!important;
  font-size:.64rem!important;
  line-height:1!important;
  font-weight:900!important;
  font-style:normal!important;
  letter-spacing:.04em!important;
  white-space:nowrap;
}
.field-badge.is-required,.reservation-field-badge.is-required{
  border-color:#f0b383!important;
  background:#fff0e6!important;
  color:#a84b12!important;
}
.field-badge.is-optional,.reservation-field-badge.is-optional{
  border-color:#d8dde3!important;
  background:#f3f5f7!important;
  color:#5f6872!important;
}
label>small:not(.field-badge):not(.reservation-field-badge){line-height:1.55;color:var(--muted)}

/* カード・モーダル・通知の基礎質感を揃える */
.card{border-radius:var(--ui-radius-card);box-shadow:var(--ui-shadow-card)}
.sheet{box-shadow:var(--ui-shadow-modal)}
.notice{border:1px solid #ead79d;line-height:1.55}
.notice.green-notice{border-color:#b8ddc7}
.empty-state{border-radius:var(--ui-radius-control);color:var(--muted);line-height:1.6}
.pill{display:inline-flex;align-items:center;justify-content:center;min-height:24px;line-height:1.15}

/* ヘッダー内の操作を同じ高さへ揃える */
.topbar .top-actions{align-items:center}
.topbar .top-actions>:where(.btn,.state-btn,.tab){min-height:40px}

/* スマートフォンでアイコン付き操作が窮屈にならないよう調整 */
@media(max-width:560px){
  .ui-action-icon{width:18px;height:18px}
  .btn.ui-action,.state-btn.ui-action{gap:7px}
  .topbar .top-actions .ui-action-icon{width:16px;height:16px}
}

@media(prefers-reduced-motion:reduce){
  :where(.btn,.state-btn,.tab,.icon-btn,button.ui-action,a.ui-action,summary.ui-action,input.input,select.input,textarea.input){transition:none!important;scroll-behavior:auto!important}
}


/* v1.2.0-fix64: ブラウザ標準アラートに頼らない共通入力エラー */
:where(input.input,select.input,textarea.input).is-invalid{
  border-color:#c53a32!important;
  background:#fffafa!important;
  box-shadow:0 0 0 4px rgba(197,58,50,.13)!important;
}
.ui-error-region{
  border-color:#c53a32!important;
  box-shadow:0 0 0 4px rgba(197,58,50,.1)!important;
}
.ui-field-error{
  display:flex!important;
  align-items:flex-start;
  gap:7px;
  width:100%;
  margin:7px 0 0!important;
  color:#a72b25!important;
  font-size:.78rem!important;
  font-weight:800!important;
  line-height:1.45!important;
}
.ui-field-error::before{
  content:'!';
  display:inline-grid;
  place-items:center;
  flex:0 0 18px;
  width:18px;
  height:18px;
  margin-top:1px;
  border-radius:50%;
  background:#c53a32;
  color:#fff;
  font-size:.7rem;
  line-height:1;
  font-weight:900;
}
.reservation-action-result{display:grid;gap:5px;margin:0;padding:16px 18px;border-radius:16px;box-shadow:0 8px 24px rgba(29,52,38,.08)}
.reservation-action-result b{font-size:1rem}
.reservation-action-result span{line-height:1.55}
.reservation-action-result.is-success{border:1px solid #9ed2af;background:#edf9f1;color:#155d32}
.reservation-action-result.is-warning{border:1px solid #e8c06f;background:#fff8df;color:#6d4c00}
.reservation-cancel-error{margin-top:12px;padding:11px 13px;border:1px solid #efb2ac;border-radius:12px;background:#fff3f1;color:#8b1e17;font-size:.84rem;font-weight:800;line-height:1.55}.reservation-cancel-error[hidden]{display:none}

/* v1.2.0-fix72 全画面共通・来店予約更新通知 */
.reservation-global-alerts{position:fixed;top:calc(var(--demo-banner-offset) + var(--platform-banner-offset) + 12px);right:14px;z-index:950;width:min(720px,calc(100vw - 28px));pointer-events:none}
.reservation-global-alerts[hidden]{display:none!important}
.reservation-global-alerts-panel{overflow:hidden;border:1px solid #d8d8d2;border-radius:20px;background:rgba(255,255,255,.98);box-shadow:0 22px 70px rgba(0,0,0,.28);backdrop-filter:blur(16px);pointer-events:auto}
.reservation-global-alerts-panel>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid #e5e5df;background:#111;color:#fff}
.reservation-global-alerts-panel>header>div{display:flex;align-items:center;gap:10px;min-width:0}
.reservation-global-alerts-panel>header span{font-size:.72rem;font-weight:900;letter-spacing:.06em;color:#d5d5cf}
.reservation-global-alerts-panel>header b{font-size:.95rem;white-space:nowrap}
.reservation-global-alerts-panel>header .tab{border-color:#4c4c4c;background:#252525;color:#fff}
.reservation-global-alert-list{display:grid;max-height:min(62vh,520px);overflow:auto}
.reservation-global-alert{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;padding:13px 14px;border-top:1px solid #e8e8e2;background:#fff}
.reservation-global-alert:first-child{border-top:0}
.reservation-global-alert-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;font-size:1.05rem;font-weight:1000}
.reservation-global-alert-copy{display:grid;gap:4px;min-width:0}
.reservation-global-alert-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.reservation-global-alert-title b{font-size:.95rem}
.reservation-global-alert-title span{display:inline-flex;padding:3px 7px;border-radius:999px;background:#f0f0ed;color:#4e5661;font-size:.66rem;font-weight:900}
.reservation-global-alert-copy p{margin:0;font-size:.86rem;font-weight:900;line-height:1.45;overflow-wrap:anywhere}
.reservation-global-alert-copy time{font-size:.68rem;color:#737b85}
.reservation-global-alert-reason{font-size:.75rem;color:#8d2b23;font-weight:800}
.reservation-global-alert-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.reservation-global-alert-actions .state-btn,.reservation-global-alert-actions .tab{white-space:nowrap}
.reservation-global-alert.is-new{background:#f2fbf5}.reservation-global-alert.is-new .reservation-global-alert-icon{background:#dff5e6;color:#176a34}
.reservation-global-alert.is-changed{background:#fffaf0}.reservation-global-alert.is-changed .reservation-global-alert-icon{background:#fff0c2;color:#7b5700}
.reservation-global-alert.is-cancelled{background:#fff4f2}.reservation-global-alert.is-cancelled .reservation-global-alert-icon{background:#ffe0dc;color:#a0251c}.reservation-global-alert.is-cancelled .reservation-global-alert-title b{color:#9d241b}
.reservation-global-alert.is-restored{background:#f2f7ff}.reservation-global-alert.is-restored .reservation-global-alert-icon{background:#dfeaff;color:#2c568e}
.reservation-global-alert-more{width:100%;padding:11px 14px;border:0;border-top:1px solid #e5e5df;background:#f7f7f4;color:#284f95;font-weight:900;cursor:pointer}
.reservation-alert-flash .reservation-global-alerts-panel{animation:reservationAlertFlash .9s ease 2}
@keyframes reservationAlertFlash{0%,100%{box-shadow:0 22px 70px rgba(0,0,0,.28)}50%{box-shadow:0 0 0 5px rgba(255,122,0,.28),0 22px 70px rgba(0,0,0,.34)}}

/* 取消・無断キャンセルを月間カレンダーで見落とさない */
.reservation-month-day.has-cancelled{background:linear-gradient(180deg,#fff 0%,#fff9f8 100%)}
.reservation-month-day.has-cancelled .reservation-month-day-head span{color:#a12820}
.reservation-month-event.status-cancelled{border-color:#edb1ab;border-left-color:#bd2d23;background:#fff1ef;color:#7f1e18;opacity:1}
.reservation-month-event.status-no_show{border-color:#e79a92;border-left-color:#a91e16;background:#ffeae7;color:#781a14;opacity:1}
.reservation-month-event span em{display:inline-flex;align-items:center;margin-right:5px;padding:2px 5px;border-radius:999px;background:#c52d22;color:#fff;font-size:.58rem;font-style:normal;font-weight:1000;vertical-align:1px}
.reservation-week-event.status-cancelled{border-color:#edb1ab;border-left-color:#bd2d23;background:#fff1ef;color:#7f1e18;opacity:1}
.reservation-day-table tbody tr.status-cancelled{background:#fff2f0;opacity:1}.reservation-day-table tbody tr.status-cancelled td:first-child{box-shadow:inset 4px 0 #bd2d23}

@media(max-width:760px){
  .reservation-global-alerts{top:calc(var(--demo-banner-offset) + var(--platform-banner-offset) + 8px);right:8px;width:calc(100vw - 16px)}
  .reservation-global-alerts-panel>header{align-items:flex-start}.reservation-global-alerts-panel>header>div{display:grid;gap:2px}
  .reservation-global-alert{grid-template-columns:34px 1fr}.reservation-global-alert-icon{width:32px;height:32px}.reservation-global-alert-actions{grid-column:1/-1;justify-content:stretch}.reservation-global-alert-actions>*{flex:1}
}
.reservation-global-alerts{z-index:1050}
.reservation-month-event span em.is-new{background:#198754}.reservation-month-event span em.is-changed{background:#d88800}.reservation-month-event span em.is-restored{background:#3569a8}.reservation-month-event span em.is-cancelled{background:#c52d22}
.reservation-checkin-business-notice{display:flex;align-items:center;justify-content:space-between;gap:14px;border-color:#efbd83;background:#fff7ec;color:#70451a}
.reservation-checkin-business-notice>div{display:grid;gap:4px}
.reservation-checkin-business-notice span,.reservation-checkin-business-notice small{display:block;line-height:1.55}
.reservation-checkin-business-notice .btn{flex:0 0 auto;white-space:nowrap}
.reservation-checkin-submit-status{display:grid;gap:8px}
.reservation-checkin-submit-error{border-color:#efaaaa;background:#fff1f1;color:#8d2020}
.reservation-checkin-submit-error span{display:block;margin-top:4px;line-height:1.55}
@media(max-width:680px){.reservation-checkin-business-notice{align-items:stretch;flex-direction:column}.reservation-checkin-business-notice .btn{width:100%}}

/* v1.2.0-fix76: stable business-hours editing and explicit 24-hour operation */
.hour-24-option{display:flex;align-items:center;gap:11px;padding:12px 14px;border:1px solid #dfe5df;border-radius:13px;background:#f8fbf8;cursor:pointer}
.hour-24-option input{width:20px;height:20px;accent-color:#137c42;flex:0 0 auto}
.hour-24-option span{display:grid;gap:2px}
.hour-24-option b{font-size:.9rem;color:#17251d}
.hour-24-option small{font-size:.74rem;line-height:1.45;color:var(--muted)}
.hour-24-option:has(input:checked){border-color:#9bd1af;background:#eef9f2;box-shadow:0 0 0 1px rgba(19,124,66,.08)}
.bulk-hour-24-option{margin-top:-2px}
.hour-slot-card .hour-fields input:disabled,.hours-bulk-card .hour-fields input:disabled{opacity:.72;background:#f0f3f0;color:#47544b;cursor:not-allowed}
.hour-overnight{padding:9px 11px;border-radius:10px;background:#f2f4f5;color:#4f5b66}
.business-open-page{display:grid;gap:16px;max-width:760px}
@media(max-width:640px){.hour-24-option{align-items:flex-start}.business-open-page{padding-inline:14px}}
.hour-slot-save-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:2px}
.hour-slot-save-row .autosave-status{position:static;margin:0;flex:1}
.hour-slot-save-button{min-width:190px}
@media(max-width:640px){.hour-slot-save-row{align-items:stretch;flex-direction:column}.hour-slot-save-button{width:100%;min-width:0}}

/* v1.2.0-fix77: unified save behavior */
.autosave-status{
  position:static!important;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:7px;
  min-height:26px;
  margin:0!important;
  padding:3px 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#65707c!important;
  font-size:12px;
  line-height:1.45;
  font-weight:800;
  text-align:left!important;
  box-shadow:none!important;
}
.autosave-status:empty{display:none}
.autosave-status::before{content:"";width:8px;height:8px;flex:0 0 8px;border-radius:999px;background:#aeb6bf}
.autosave-status.idle::before{background:#aeb6bf}
.autosave-status.idle.is-unsaved{color:#9b4d10!important}
.autosave-status.idle.is-unsaved::before{background:#ef8b21;box-shadow:0 0 0 3px #fff1df}
.autosave-status.saving{color:#765000!important}
.autosave-status.saving::before{background:#e4ad16;animation:save-state-pulse 1s ease-in-out infinite}
.autosave-status.saved{color:#17623a!important}
.autosave-status.saved::before{background:#2da56a}
.autosave-status.error{color:#a0221a!important}
.autosave-status.error::before{background:#d84438}
.autosave-status.compact{font-size:11px;min-height:20px;padding:1px 0!important}
.manual-save-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0 2px;border-top:1px solid var(--line)}
.manual-save-footer .autosave-status{flex:1}
.manual-save-footer .btn{min-width:180px}
.unsaved-settings-sheet{max-width:520px;display:grid;gap:12px}
.unsaved-settings-sheet h2,.unsaved-settings-sheet p{margin:0}
.unsaved-settings-sheet p{color:var(--muted);line-height:1.65}
.unsaved-settings-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
@keyframes save-state-pulse{0%,100%{opacity:.45;transform:scale(.86)}50%{opacity:1;transform:scale(1)}}
@media(max-width:640px){.manual-save-footer{align-items:stretch;flex-direction:column}.manual-save-footer .btn{width:100%;min-width:0}.unsaved-settings-actions{grid-template-columns:1fr}}

/* v1.2.0-fix78 business-hours quick setup redesign and overnight clarity */
.hours-bulk-card{gap:14px;padding:18px;border:1px solid #dedbd4;background:#fff;box-shadow:0 10px 28px rgba(35,32,27,.06)}
.hours-bulk-head{align-items:center;padding:2px 2px 15px;border-bottom:1px solid #ece9e3}
.hours-bulk-head>div{gap:4px}.hours-bulk-head h2{font-size:22px;line-height:1.35}.hours-bulk-head p{max-width:620px;font-size:12px;line-height:1.65}
.hours-bulk-guide-badge{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 10px;border-radius:999px;background:#edf8ef;color:#28713a;font-size:10px;font-weight:1000;white-space:nowrap}
.bulk-hour-step{display:grid;gap:13px;padding:15px;border:1px solid #e5e2dc;border-radius:16px;background:#fafaf8}
.bulk-hour-step-head{display:flex;align-items:center;gap:10px}.bulk-hour-step-head>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#171717;color:#fff;font-size:12px;font-weight:1000;flex:0 0 auto}.bulk-hour-step-head>div{display:grid;gap:2px}.bulk-hour-step-head b{font-size:14px}.bulk-hour-step-head small{color:var(--muted);font-size:10px;line-height:1.45}
.bulk-hour-presets{padding:0}.bulk-hour-presets>span{color:#625e58;font-size:11px}.bulk-hour-presets .tab{min-height:34px;padding:7px 12px}.bulk-hour-presets .tab.active{border-color:#171717;background:#171717;color:#fff}
.bulk-hour-days{gap:7px}.bulk-hour-day-option>span{min-height:40px;border-radius:11px;font-size:12px}.bulk-hour-day-option>input:checked+span{border-color:#f08b28;background:#fff4e7;color:#9c4a00;box-shadow:none}
.bulk-hour-24-option{margin:0;padding:11px 13px;background:#fff}.bulk-hour-24-option b{font-size:13px}.bulk-hour-24-option small{font-size:10px}
.bulk-hour-form{grid-template-columns:minmax(180px,.72fr) minmax(0,1.8fr);gap:12px}.bulk-hour-form .hour-fields{gap:9px}
.hour-fields-with-days label{gap:7px}.hour-field-title{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px;font-weight:900;color:#4f4b45}
.time-day-badge{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:20px;padding:0 7px;border-radius:999px;font-size:9px;font-weight:1000;letter-spacing:.02em}.time-day-badge.is-same-day{background:#eef1f3;color:#5e6872}.time-day-badge.is-next-day{background:#fff0dc;color:#a94f00;border:1px solid #f1c895}
.hour-setting-preview{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"kicker summary" "kicker detail";align-items:center;gap:2px 13px;padding:13px 15px;border-radius:14px}.hour-setting-preview.is-valid{border:1px solid #b9dcc3;background:#f1faf3}.hour-setting-preview.is-error{border:1px solid #edb6ad;background:#fff3f1}.hour-preview-kicker{grid-area:kicker;display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 9px;border-radius:9px;background:#fff;color:#59625b;font-size:9px;font-weight:1000;white-space:nowrap}.hour-setting-preview strong{grid-area:summary;font-size:16px;line-height:1.35;color:#176335}.hour-setting-preview small{grid-area:detail;color:#617067;font-size:10px;line-height:1.5}.hour-setting-preview.is-error strong{color:#a53b2c}.hour-setting-preview.is-error small{color:#8b554c}
.bulk-hour-example{display:flex;align-items:flex-start;gap:9px;padding:10px 12px;border-radius:12px;background:#fff6e8;color:#695746}.bulk-hour-example b{flex:0 0 auto;font-size:10px;color:#a65300}.bulk-hour-example span{font-size:10px;line-height:1.65}
.bulk-hour-final-step{background:#fff}.bulk-hour-actions{gap:9px}.bulk-hour-actions .btn{min-height:46px}.hours-bulk-card>.bulk-hour-step>.autosave-status{position:static;margin:0}
.hour-slot-card{gap:13px}.hour-slot-card .hour-setting-preview{margin-top:1px}.hour-slot-card .hour-fields{gap:9px}
.hour-overnight{display:none}
@media(max-width:760px){.hours-bulk-card{padding:14px}.hours-bulk-head{align-items:flex-start;flex-direction:column}.bulk-hour-presets{align-items:flex-start}.bulk-hour-form{grid-template-columns:1fr}.hour-setting-preview{grid-template-columns:1fr;grid-template-areas:"kicker" "summary" "detail"}.hour-preview-kicker{justify-self:start}.bulk-hour-example{display:grid;gap:3px}}
@media(max-width:480px){.bulk-hour-step{padding:12px}.bulk-hour-days{grid-template-columns:repeat(4,1fr)}.bulk-hour-actions{grid-template-columns:1fr}.hours-bulk-guide-badge{display:none}.hour-fields-with-days{grid-template-columns:1fr}.hour-field-title{justify-content:flex-start}.time-day-badge{margin-left:auto}}

/* v1.2.0-fix79: bulk business-hour weekday selector */
.bulk-hour-presets{
  display:grid;
  grid-template-columns:minmax(150px,1fr) auto;
  align-items:center;
  gap:14px;
  padding:14px;
  border:1px solid #e4ddd3;
  border-radius:16px;
  background:#faf9f6;
}
.bulk-hour-preset-label{display:grid;gap:3px;min-width:0}
.bulk-hour-preset-label b{font-size:13px;line-height:1.35;color:#24211d}
.bulk-hour-preset-label span{font-size:11px;line-height:1.4;color:#77716a;font-weight:800}
.bulk-hour-preset-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.bulk-hour-preset-button{
  min-width:64px;
  min-height:40px;
  padding:8px 14px;
  border:1px solid #d8d2c9;
  border-radius:999px;
  background:#fff;
  color:#37322d;
  font:inherit;
  font-size:13px;
  line-height:1;
  font-weight:900;
  cursor:pointer;
  transition:transform .14s ease,border-color .14s ease,background .14s ease,color .14s ease,box-shadow .14s ease;
}
.bulk-hour-preset-button:hover{border-color:#ef9a48;background:#fff8ef;transform:translateY(-1px)}
.bulk-hour-preset-button:focus-visible{outline:3px solid rgba(255,126,0,.25);outline-offset:2px}
.bulk-hour-preset-button.is-active{border-color:#171717;background:#171717;color:#fff;box-shadow:0 5px 14px rgba(0,0,0,.12)}
.bulk-hour-preset-button.is-clear{min-width:92px}
.bulk-hour-preset-button.is-clear.is-active{border-color:#6a625a;background:#6a625a}
.bulk-hour-days{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:10px;
  width:100%;
}
.bulk-hour-day-button{
  position:relative;
  isolation:isolate;
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  width:100% !important;
  min-width:0;
  min-height:62px;
  margin:0;
  padding:10px 8px;
  border:2px solid #e2dbd1;
  border-radius:15px;
  background:#fff;
  color:#4d4740;
  font:inherit;
  text-align:center;
  cursor:pointer;
  writing-mode:horizontal-tb !important;
  text-orientation:mixed !important;
  transition:transform .14s ease,border-color .14s ease,background .14s ease,color .14s ease,box-shadow .14s ease;
}
.bulk-hour-day-button:hover{border-color:#ef9a48;background:#fff8ef;transform:translateY(-1px)}
.bulk-hour-day-button:focus-visible{outline:3px solid rgba(255,126,0,.27);outline-offset:2px}
.bulk-hour-day-button>span{
  display:block !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:inherit !important;
  box-shadow:none !important;
  writing-mode:horizontal-tb !important;
  text-orientation:mixed !important;
  white-space:nowrap;
}
.bulk-hour-day-name{font-size:18px;font-weight:1000;line-height:1.1}
.bulk-hour-day-state{font-size:10px;font-weight:900;line-height:1.2;color:#8a837b !important}
.bulk-hour-day-button.is-selected{
  border-color:#f07800;
  background:linear-gradient(180deg,#ff8b17 0%,#f27400 100%);
  color:#fff;
  box-shadow:0 7px 17px rgba(235,111,0,.2);
}
.bulk-hour-day-button.is-selected:hover{border-color:#d96400;background:linear-gradient(180deg,#ff951f 0%,#e96e00 100%)}
.bulk-hour-day-button.is-selected .bulk-hour-day-state{color:rgba(255,255,255,.88) !important}
.bulk-hour-day-button.is-selected::after{
  content:"✓";
  position:absolute;
  top:6px;
  right:7px;
  display:grid;
  place-items:center;
  width:18px;
  height:18px;
  border-radius:50%;
  background:rgba(255,255,255,.95);
  color:#dc6700;
  font-size:11px;
  line-height:1;
  font-weight:1000;
}
.bulk-hour-day-button:not(.is-selected).is-saturday{border-color:#cfdced;background:#f7faff;color:#315c8f}
.bulk-hour-day-button:not(.is-selected).is-sunday{border-color:#efd1d1;background:#fff8f8;color:#a64747}
@media(max-width:760px){
  .bulk-hour-presets{grid-template-columns:1fr;align-items:start}
  .bulk-hour-preset-actions{justify-content:flex-start}
  .bulk-hour-days{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:430px){
  .bulk-hour-presets{padding:12px}
  .bulk-hour-preset-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .bulk-hour-preset-button{width:100%;min-width:0}
  .bulk-hour-days{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
  .bulk-hour-day-button{min-height:56px;padding:8px 5px;border-radius:13px}
  .bulk-hour-day-name{font-size:16px}
  .bulk-hour-day-state{font-size:9px}
}

/* v1.2.0-fix80: global smooth scroll-to-top control */
.ui-scroll-top{
  position:fixed;
  right:max(18px,env(safe-area-inset-right));
  bottom:max(20px,env(safe-area-inset-bottom));
  z-index:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-width:76px;
  height:52px;
  padding:0 16px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  background:#111;
  color:#fff;
  box-shadow:0 12px 34px rgba(0,0,0,.28);
  font-weight:900;
  letter-spacing:.02em;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(14px) scale(.94);
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease,background .2s ease,box-shadow .2s ease;
}
.ui-scroll-top.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
}
.ui-scroll-top:hover{
  background:#f57c00;
  box-shadow:0 14px 38px rgba(245,124,0,.32);
}
.ui-scroll-top:focus-visible{
  outline:3px solid rgba(245,124,0,.36);
  outline-offset:4px;
}
.ui-scroll-top:active{transform:translateY(1px) scale(.98)}
.ui-scroll-top-icon{display:grid;place-items:center;width:20px;height:20px}
.ui-scroll-top-icon .ui-system-svg{width:20px;height:20px;stroke-width:2.2}
.ui-scroll-top-label{font-size:.82rem;line-height:1}
body:has(.bottom-nav) .ui-scroll-top{bottom:calc(78px + env(safe-area-inset-bottom))}
.takeout-customer-body .ui-scroll-top,.pickup-customer-body .ui-scroll-top{bottom:calc(94px + env(safe-area-inset-bottom))}
@media(max-width:640px){
  .ui-scroll-top{right:12px;bottom:calc(14px + env(safe-area-inset-bottom));min-width:66px;height:48px;padding:0 13px;gap:5px}
  body:has(.bottom-nav) .ui-scroll-top{bottom:calc(74px + env(safe-area-inset-bottom))}
  .takeout-customer-body .ui-scroll-top,.pickup-customer-body .ui-scroll-top{bottom:calc(92px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.ui-scroll-top{transition:none}}
@media print{.ui-scroll-top{display:none!important}}
.business-start-schedule-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px;border:1px solid #b8ddc7;border-radius:16px;background:linear-gradient(180deg,#f3fbf6 0%,#eaf7ef 100%)}.business-start-schedule-card>div{display:grid;gap:5px}.business-start-schedule-card span{font-size:.74rem;font-weight:900;letter-spacing:.05em;color:#4b6b58}.business-start-schedule-card b{font-size:1.35rem;line-height:1.3;color:#155d32}.business-start-schedule-card small{font-size:.85rem;color:#3f6250}.business-start-schedule-source{min-width:168px;padding:12px 14px;border:1px solid rgba(21,93,50,.15);border-radius:12px;background:rgba(255,255,255,.72)}.business-start-schedule-source b{font-size:.96rem;color:#26372d}.business-start-schedule-card>p{grid-column:1/-1;margin:0;padding:10px 12px;border-radius:10px;background:#fff1cf;color:#8a5200;font-size:.84rem;font-weight:800;line-height:1.55}.business-start-schedule-card.is-24-hours{border-color:#edc575;background:linear-gradient(180deg,#fffaf0 0%,#fff2d8 100%)}.business-start-schedule-card.is-24-hours b{color:#8a5200}.business-start-review-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fafafa}.business-start-review-row span{font-size:.84rem;line-height:1.55;color:var(--muted)}.business-start-review-row .tab{flex:0 0 auto;white-space:nowrap}
@media(max-width:640px){.business-start-schedule-card{grid-template-columns:1fr}.business-start-schedule-source{min-width:0}.business-start-review-row{display:grid}.business-start-review-row .tab{width:100%}}

/* v1.2.0-fix87: 期間限定割引（お客様・テイクアウト・受取口） */
.customer-campaign-price{align-items:flex-start!important;gap:3px!important;white-space:normal!important}
.customer-campaign-price .customer-regular-price{color:#827f78!important;font-size:10px!important;font-weight:800;text-decoration:line-through}
.customer-campaign-price strong{color:#c94e17!important}
.customer-campaign-badge{display:inline-flex;align-items:center;width:max-content;padding:3px 7px;border-radius:999px;background:#d85b18;color:#fff;font-size:9px;font-weight:1000;line-height:1}
.customer-modal-campaign-label{display:inline-block;margin-right:5px;color:#c44b16;font-size:12px}.customer-product-head-meta s{color:#85817a}
.customer-cart-campaign,.customer-history-campaign{display:grid;gap:2px;margin-top:5px;color:#a33e14;font-size:11px}.customer-cart-campaign span,.customer-history-campaign b{font-weight:1000}.customer-cart-campaign b,.customer-history-campaign small{color:#746d66;font-size:10px;font-weight:700}
.takeout-campaign-price{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;margin-top:4px}.takeout-campaign-price small{color:#817c74;font-size:11px;font-weight:800;text-decoration:line-through}.takeout-campaign-price strong{color:#c94e17;font-size:20px}.takeout-campaign-price span{display:inline-flex;padding:3px 7px;border-radius:999px;background:#d85b18;color:#fff;font-size:9px;font-weight:1000;line-height:1}.takeout-modal-campaign-name{display:block;margin-top:3px;color:#a33e14;font-size:11px;font-weight:900}.takeout-cart-campaign{display:block;margin-top:4px;color:#a33e14!important;font-size:10px!important;font-weight:900!important}

/* v1.2.0-fix87: 期間限定割引 管理 */
.discount-campaign-page,.discount-editor-page{padding-bottom:48px}.discount-campaign-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0;padding:28px;border-radius:24px;background:linear-gradient(135deg,#fff8ed,#fff);border:1px solid #f0d9ba}.discount-campaign-hero h1{margin:4px 0 8px;font-size:28px}.discount-campaign-hero p{max-width:760px;margin:0;color:var(--muted);line-height:1.7}.discount-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:28px}.discount-summary-grid article{display:grid;gap:4px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.discount-summary-grid article.active{border-color:#b9dbc8;background:#f3fbf6}.discount-summary-grid span,.discount-summary-grid small{color:var(--muted);font-size:12px}.discount-summary-grid b{font-size:28px}.discount-campaign-list-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:20px 0 12px}.discount-campaign-list-head h2{margin:0}.discount-campaign-list-head p{margin:4px 0 0;color:var(--muted)}.discount-campaign-list-head>span{font-weight:900}.discount-campaign-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.discount-campaign-card{display:grid;gap:16px}.discount-campaign-card.active{border-color:#9dceb2;box-shadow:0 8px 24px rgba(21,102,61,.08)}.discount-campaign-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.discount-campaign-card-head h3{margin:8px 0 4px;font-size:20px}.discount-campaign-card-head p{margin:0;color:var(--muted)}.discount-campaign-card-head>strong{color:#c84c17;font-size:22px;white-space:nowrap}.discount-campaign-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.discount-campaign-card dl>div{padding:11px;border-radius:12px;background:#f7f7f4}.discount-campaign-card dt{color:var(--muted);font-size:11px}.discount-campaign-card dd{margin:4px 0 0;font-weight:800;line-height:1.45}.discount-campaign-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:2px;border-top:1px solid var(--line)}
.discount-editor-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:24px 0}.discount-editor-progress span{padding:10px;text-align:center;border-radius:999px;background:#ecece8;color:#777;font-size:12px;font-weight:900}.discount-editor-progress .active{background:#176b3a;color:#fff}.discount-editor-card{margin-bottom:14px;padding:24px}.discount-step-title{display:flex;gap:14px;align-items:flex-start;margin-bottom:20px}.discount-step-title>span{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#176b3a;color:#fff;font-weight:1000}.discount-step-title h2{margin:0;font-size:21px}.discount-step-title p{margin:4px 0 0;color:var(--muted)}.discount-period-presets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.discount-datetime-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.discount-datetime-grid label,.discount-editor-card>label,.discount-number-field{display:grid;gap:7px}.discount-datetime-grid label>span,.discount-editor-card>label>span,.discount-number-field>span{font-size:12px;font-weight:900}.discount-choice-grid{display:grid;gap:10px;margin-bottom:16px}.discount-choice-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.discount-choice-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.discount-choice-grid label,.discount-channel-grid label,.discount-store-list label,.discount-target-list label{position:relative;display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff;cursor:pointer}.discount-choice-grid label:has(input:checked),.discount-channel-grid label:has(input:checked),.discount-store-list label:has(input:checked),.discount-target-list label:has(input:checked){border-color:#23804d;background:#f2faf5;box-shadow:inset 0 0 0 1px #23804d}.discount-choice-grid input,.discount-channel-grid input,.discount-store-list input,.discount-target-list input{width:18px;height:18px;accent-color:#176b3a}.discount-choice-grid span,.discount-channel-grid span,.discount-store-list span,.discount-target-list span{display:grid;gap:3px}.discount-choice-grid small,.discount-channel-grid small,.discount-store-list small,.discount-target-list small{color:var(--muted);font-size:11px}.discount-target-all,.discount-one-store{display:grid;gap:4px;padding:18px;border-radius:14px;background:#f5f7f4}.discount-target-all span,.discount-one-store span{color:var(--muted);font-size:12px}.discount-target-search{display:flex;gap:8px;margin-bottom:10px}.discount-target-search .input{flex:1}.discount-target-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:360px;overflow:auto;padding:2px}.discount-target-list label[hidden]{display:none}.discount-value-row{display:grid;grid-template-columns:minmax(280px,1.2fr) minmax(170px,.7fr) minmax(220px,.8fr);gap:14px;align-items:end}.discount-number-field{position:relative}.discount-number-field>b{position:absolute;right:14px;bottom:12px;color:var(--muted)}.discount-number-field .input{padding-right:42px}.discount-price-sample{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;min-height:48px;padding:11px 14px;border-radius:14px;background:#fff5e7}.discount-price-sample span{width:100%;color:var(--muted);font-size:10px;font-weight:900}.discount-price-sample s{color:#7d7972;font-size:12px}.discount-price-sample b{color:#c64b16;font-size:20px}.discount-price-sample em{padding:3px 7px;border-radius:999px;background:#d85b18;color:#fff;font-size:9px;font-style:normal;font-weight:1000}.discount-channel-grid,.discount-store-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.discount-store-heading{display:flex;justify-content:space-between;gap:12px;margin-top:22px}.discount-store-heading small,.discount-shared-note{color:var(--muted);font-size:11px}.discount-shared-note{margin:10px 0 0;line-height:1.6}.discount-final-panel{position:sticky;bottom:12px;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding:18px 20px;border-radius:18px;background:#1d1d1b;color:#fff;box-shadow:0 16px 36px rgba(0,0,0,.24)}.discount-final-panel>div{display:grid;gap:4px}.discount-final-panel span,.discount-final-panel small{color:#c9c9c4;font-size:11px}.discount-final-panel b{font-size:16px}.discount-final-panel .btn{flex:0 0 auto;min-width:190px}
@media(max-width:760px){.discount-campaign-hero{align-items:flex-start;flex-direction:column;padding:20px}.discount-campaign-hero h1{font-size:23px}.discount-summary-grid{grid-template-columns:repeat(2,1fr)}.discount-campaign-grid{grid-template-columns:1fr}.discount-campaign-card dl{grid-template-columns:1fr}.discount-editor-progress{grid-template-columns:repeat(2,1fr)}.discount-editor-card{padding:18px}.discount-choice-grid.three,.discount-choice-grid.two,.discount-datetime-grid,.discount-target-list,.discount-channel-grid,.discount-store-list{grid-template-columns:1fr}.discount-value-row{grid-template-columns:1fr}.discount-target-search{flex-wrap:wrap}.discount-target-search .input{flex-basis:100%}.discount-final-panel{position:static;align-items:stretch;flex-direction:column}.discount-final-panel .btn{width:100%}}
.staff-campaign-price{display:grid;justify-items:end;gap:2px}.staff-campaign-price s{color:#817c75;font-size:10px;font-weight:800}.staff-campaign-price strong{color:#c94d17!important}.staff-campaign-price em{padding:3px 6px;border-radius:999px;background:#d85b18;color:#fff;font-size:8px;font-style:normal;font-weight:1000;line-height:1}.staff-cart-campaign{display:block;margin-top:4px;color:#a33e14!important;font-size:10px!important;font-weight:900!important}


/* v1.2.0-fix88: 期間限定割引 共通モーダル・入力エラー・完了通知 */
.discount-dialog-modal{z-index:120}
.discount-dialog-sheet{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;width:min(520px,calc(100% - 24px));padding:24px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:0 24px 70px rgba(0,0,0,.22)}
.discount-dialog-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fff0c2;color:#765000;font-size:24px;font-weight:1000}
.discount-dialog-sheet.error .discount-dialog-symbol,.discount-dialog-sheet.danger .discount-dialog-symbol{background:#ffe1df;color:#8f1710}
.discount-dialog-sheet.success .discount-dialog-symbol{background:#dff4e6;color:#145a31}
.discount-dialog-copy{min-width:0}
.discount-dialog-copy h2{margin:4px 0 8px;font-size:22px}
.discount-dialog-copy p{margin:0;color:var(--muted);line-height:1.75}
.discount-dialog-sheet>.btn,.discount-dialog-actions{grid-column:1/-1}
.discount-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.discount-page-flash{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin:22px 0 0;padding:14px 16px;border:1px solid #aad6bc;border-radius:16px;background:#f1fbf5;color:#155d32}
.discount-page-flash>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#18864a;color:#fff;font-weight:1000}
.discount-page-flash b{display:block}
.discount-page-flash p{margin:3px 0 0;color:#47705a;line-height:1.5}
.discount-page-flash.warning{border-color:#e5c879;background:#fff9e9;color:#765000}
.discount-page-flash.warning>span{background:#9a6700}
.discount-field-error{display:block;margin-top:7px;color:#a51d16;font-size:12px;font-weight:900;line-height:1.5}
.discount-field-error[hidden]{display:none}
.discount-input-error{border-color:#c43b32!important;background:#fff8f7!important;box-shadow:0 0 0 3px rgba(179,38,30,.1)!important}
@media(max-width:699px){
  .discount-dialog-sheet{grid-template-columns:1fr;width:calc(100% - 20px);padding:20px}
  .discount-dialog-symbol{width:42px;height:42px}
  .discount-dialog-actions{grid-template-columns:1fr}
  .discount-page-flash{grid-template-columns:auto minmax(0,1fr)}
  .discount-page-flash>.tab{grid-column:1/-1;width:100%}
}

/* v1.2.0-fix91: 会計確認の共通モーダル化・キャンペーン内訳 */
.checkout-action-overlay{z-index:180}
.staff-checkout-campaign{display:grid!important;gap:2px;padding:7px 9px;border-radius:10px;background:#fff4e8;color:#9e3b13!important}
.staff-checkout-campaign b{color:#b44316;font-size:11px}
.staff-checkout-campaign span{color:#6f5549;font-size:10px;font-weight:800}

/* v1.2.0-fix93: checkout payment buttons, discount details and adjustment guidance */
.checkout-payment-choices{
  grid-template-columns:repeat(6,minmax(0,1fr));
  align-items:stretch;
  gap:10px;
}
.checkout-payment-choice{
  display:block;
  grid-column:span 2;
  width:100%;
  min-width:0;
}
.checkout-payment-choice:nth-child(4){grid-column:2/span 2}
.checkout-payment-choice:nth-child(5){grid-column:4/span 2}
.checkout-payment-choice span{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:56px;
  min-height:56px;
  box-sizing:border-box;
  padding:12px 14px;
  line-height:1.25;
  white-space:normal;
}
.checkout-payment-choice span i{
  position:absolute;
  top:50%;
  left:12px;
  transform:translateY(-50%);
}
.checkout-payment-choice input:checked+span{padding:11px 13px}
.checkout-calculation label small{display:block;margin-top:6px;color:var(--muted);font-size:11px;font-weight:700;line-height:1.45}
@media(max-width:560px){
  .checkout-payment-choices{grid-template-columns:repeat(4,minmax(0,1fr))}
  .checkout-payment-choice,.checkout-payment-choice:nth-child(4){grid-column:span 2}
  .checkout-payment-choice:nth-child(5){grid-column:2/span 2}
}
@media(max-width:360px){
  .checkout-payment-choices{grid-template-columns:1fr}
  .checkout-payment-choice,.checkout-payment-choice:nth-child(4),.checkout-payment-choice:nth-child(5){grid-column:1}
}


/* v1.2.0-fix94 営業画面の現場操作性・実施中割引表示 */
.ops-work-dock{position:sticky;top:calc(var(--demo-banner-offset) + var(--platform-banner-offset) + 82px);z-index:11;margin:0 0 12px;padding:8px 0 2px;background:rgba(245,245,242,.97);backdrop-filter:blur(14px);box-shadow:0 8px 18px rgba(34,30,24,.06)}
.ops-work-dock .ops-navigation,.ops-work-dock .ops-tabs{position:static;top:auto;margin:0;padding:6px 0;background:transparent;backdrop-filter:none;box-shadow:none}
.ops-cards-anchor{scroll-margin-top:230px}
.ops-active-discounts{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 11px;border:1px solid #efb574;border-radius:14px;background:linear-gradient(135deg,#fff9ef,#fff);box-shadow:0 4px 14px rgba(166,82,0,.08)}
.ops-active-discount-heading{display:grid;gap:1px;white-space:nowrap}.ops-active-discount-heading span{color:#a84d00;font-size:9px;font-weight:1000;letter-spacing:.08em}.ops-active-discount-heading b{font-size:13px}
.ops-active-discount-list{display:flex;gap:8px;min-width:0;overflow-x:auto;padding:1px 0;scrollbar-width:thin;overscroll-behavior-inline:contain}
.ops-active-discount-list article{display:flex;align-items:center;gap:8px;flex:0 0 auto;min-width:min(420px,72vw);padding:7px 10px;border-radius:11px;background:#fff;border:1px solid #f2d6b8}
.ops-active-discount-list article>strong{display:inline-grid;place-items:center;min-width:66px;min-height:34px;padding:4px 8px;border-radius:9px;background:#e85b00;color:#fff;font-size:12px;white-space:nowrap}
.ops-active-discount-list article>span{display:grid;gap:1px;min-width:0}.ops-active-discount-list article b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.ops-active-discount-list article small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#74695e;font-size:10px;font-weight:800}
.ops-discount-manage{min-height:34px;padding:6px 10px;border:1px solid #dd9d5e;border-radius:999px;background:#fff;color:#8d4300;font-weight:900;white-space:nowrap;cursor:pointer}
.ops-item-campaign{display:grid;gap:2px;margin:7px 0;padding:8px 10px;border-left:4px solid #ef6b12;border-radius:0 10px 10px 0;background:#fff6ec;color:#8b3d00}.ops-item-campaign span{font-size:11px;font-weight:1000}.ops-item-campaign small{font-size:10px;font-weight:850;color:#6f5140}
.ops-checkout-campaign{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0;padding:10px 12px;border:1px solid #f0c18f;border-radius:12px;background:#fff7ed;color:#8c3f00}.ops-checkout-campaign b{font-size:13px}.ops-checkout-campaign span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800}
@media(max-width:760px){.ops-work-dock{top:calc(var(--demo-banner-offset) + var(--platform-banner-offset) + 72px);margin-left:-18px;margin-right:-18px;padding:7px 12px 2px}.ops-active-discounts{grid-template-columns:1fr auto;gap:7px;padding:8px}.ops-active-discount-heading{display:flex;align-items:center;gap:7px}.ops-active-discount-list{grid-column:1/-1;grid-row:2}.ops-active-discount-list article{min-width:min(360px,86vw)}.ops-discount-manage{grid-column:2;grid-row:1}.ops-cards-anchor{scroll-margin-top:300px}}
@media(max-width:480px){.ops-active-discount-list article{min-width:84vw}.ops-active-discount-list article>strong{min-width:58px}.ops-checkout-campaign{align-items:flex-start;flex-direction:column}.ops-discount-manage{padding:6px 9px;font-size:11px}}

@media(max-width:760px){
  .ops-work-dock .ops-nav-label{display:none}
  .ops-work-dock .ops-nav-row{grid-template-columns:minmax(0,1fr);gap:4px}
  .ops-work-dock .ops-utility-row{grid-template-columns:minmax(0,1fr) auto}
  .ops-work-dock .ops-close-nav{width:auto;margin:0;padding:7px 10px;border-radius:999px;font-size:11px}
  .ops-work-dock .ops-navigation{gap:4px;padding-top:4px}
  .ops-work-dock .ops-status-tab,.ops-work-dock .ops-utility-tab{min-height:38px;padding:7px 10px}
  .ops-active-discounts{grid-template-columns:minmax(0,1fr) auto}
  .ops-active-discount-heading{display:none}
  .ops-active-discount-list{grid-column:1;grid-row:1}
  .ops-active-discount-list article{min-width:min(345px,82vw);padding:6px 8px}
  .ops-discount-manage{grid-column:2;grid-row:1}
}

/* v1.2.0-fix95 営業画面：業務優先レイアウト */
.ops-work-first-layout{display:block}
.ops-work-first-layout .ops-work-dock{margin-bottom:12px}
.ops-work-area{display:grid;gap:12px;min-width:0;scroll-margin-top:230px}
.ops-work-area>.ops-attention-strip{margin:0}
.ops-work-area>.ops-cards-anchor{min-width:0;margin:0}
.ops-reservation-after-work{margin-top:20px;padding-top:2px;scroll-margin-top:230px}
.ops-reservation-after-work>.ops-today-reservations{margin:0}
@media(max-width:760px){
  .ops-work-area{gap:10px;scroll-margin-top:300px}
  .ops-reservation-after-work{margin-top:16px;scroll-margin-top:300px}
}

/* v1.2.0-fix96 営業画面：注意通知の視認性と業務切替エリアの余白調整 */
.ops-work-first-layout .ops-work-dock{
  padding:9px 14px 8px;
  border:1px solid rgba(214,210,200,.72);
  border-radius:15px;
}
.ops-work-first-layout .ops-work-dock .ops-navigation{
  padding:6px 2px 3px;
}
.ops-attention-item.is-call,
.ops-attention-item.is-checkout-pending{
  min-height:82px;
  padding:14px 17px;
  grid-template-columns:minmax(0,1fr) auto;
  column-gap:16px;
  row-gap:5px;
}
.ops-attention-item.is-call .ops-attention-label,
.ops-attention-item.is-checkout-pending .ops-attention-label{
  font-size:18px;
  line-height:1.25;
  letter-spacing:.01em;
}
.ops-attention-item.is-call .ops-attention-label>span,
.ops-attention-item.is-checkout-pending .ops-attention-label>span{
  font-size:inherit;
}
.ops-attention-item.is-call .ops-attention-label i,
.ops-attention-item.is-checkout-pending .ops-attention-label i{
  width:30px;
  height:30px;
  flex-basis:30px;
  font-size:18px;
}
.ops-attention-count{
  grid-column:2;
  grid-row:1/3;
  display:flex;
  align-items:baseline;
  justify-content:flex-end;
  gap:3px;
  min-width:58px;
  white-space:nowrap;
}
.ops-attention-item .ops-attention-count b{
  grid-column:auto;
  grid-row:auto;
  font-size:34px;
  line-height:1;
}
.ops-attention-count em{
  color:currentColor;
  font-size:12px;
  font-style:normal;
  font-weight:900;
}
.ops-attention-item.is-call>small,
.ops-attention-item.is-checkout-pending>small{
  grid-column:1;
  grid-row:2;
  padding-left:38px;
  font-size:12px;
  line-height:1.35;
}
@media(max-width:760px){
  .ops-work-first-layout .ops-work-dock{
    margin-left:-8px;
    margin-right:-8px;
    padding:8px 10px 7px;
    border-radius:13px;
  }
  .ops-attention-item.is-call,
  .ops-attention-item.is-checkout-pending{
    min-height:76px;
    padding:12px 13px;
    column-gap:10px;
  }
  .ops-attention-item.is-call .ops-attention-label,
  .ops-attention-item.is-checkout-pending .ops-attention-label{
    font-size:17px;
  }
  .ops-attention-item .ops-attention-count b{font-size:31px}
  .ops-attention-item.is-call>small,
  .ops-attention-item.is-checkout-pending>small{
    padding-left:34px;
    font-size:11px;
  }
}


/* v1.2.0-fix99 営業画面：権限表示統合と短い業務画面の位置固定 */
.store-admin-body .ops-role-scope{display:none}
.ops-topbar-role{display:flex;align-items:baseline;gap:7px;min-width:0;max-width:620px}
.ops-topbar-role b{flex:0 0 auto;color:#fff;font-size:11px;white-space:nowrap}
.ops-topbar-role span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#aaa79f;font-size:10px;font-weight:700}
.ops-scroll-reserve{height:0;pointer-events:none;visibility:hidden}
@media(max-width:760px){
  .ops-topbar-role span{display:none}
  .ops-topbar-role b{font-size:10px}
}

/* v1.2.0-fix100 営業画面：短いタブでも固定位置まで確実に移動 */
.ops-work-first-layout{min-height:100vh}

/* v1.2.0-fix101 パートナーシップ制度 */
.application-partner-referral{display:grid;gap:3px;margin-top:15px;padding:12px 14px;border:1px solid #bcd8c4;border-radius:14px;background:#f2fbf5;color:#174f2b}.application-partner-referral b{font-size:14px}.application-partner-referral span{font-size:11px;line-height:1.6}#partnershipApplicationForm[hidden],#partnershipApplicationForm[aria-hidden="true"]{display:none!important}.partnership-application-body{background:linear-gradient(180deg,#f6f6f2 0,#eeeee8 100%)}.partnership-hero{align-items:stretch}.partnership-plan{border-color:#b9d5c1;background:linear-gradient(145deg,#f8fff9,#eef8f1)}.partnership-plan b{font-size:22px}.partnership-flow-card{padding-bottom:22px}.partnership-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.partnership-flow article{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid var(--line);border-radius:15px;background:#fafaf7}.partnership-flow article>b{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:999px;background:#111;color:#fff;font-size:13px}.partnership-flow article>span{display:grid;gap:2px}.partnership-flow strong{font-size:12px}.partnership-flow small{color:var(--muted);font-size:10px;line-height:1.45}.partnership-rule-notice{display:grid;gap:7px;margin-bottom:15px;background:#f6faf7;color:#244d31}.partnership-rule-notice p{margin:0;line-height:1.65}.partnership-admin-page{padding-bottom:90px}.partnership-admin-page .platform-hero{align-items:center}.partnership-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.partnership-metrics article>b{display:flex;align-items:baseline;gap:4px}.partnership-metrics article>b small{margin:0;font-size:12px;font-weight:900;color:inherit}.partnership-admin-tabs{display:flex;gap:8px;margin:0 0 18px;padding:7px;border:1px solid #ddd9cf;border-radius:16px;background:#fff}.partnership-admin-tabs .tab{flex:1;justify-content:center;min-height:45px;border:0;background:transparent}.partnership-admin-tabs .tab.active{background:#111;color:#fff}.partnership-admin-tabs i{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:rgba(127,127,127,.15);font-style:normal;font-size:10px}.partnership-load-error{display:grid;gap:12px;padding:30px}.partnership-load-error h1,.partnership-load-error p{margin:0}.partnership-application-list,.partnership-review-list{display:grid}.partnership-application-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:20px 22px;border-top:1px solid var(--line)}.partnership-application-card:first-child{border-top:0}.partnership-card-main{min-width:0}.partnership-card-title{display:flex;align-items:center;gap:11px;margin-bottom:14px}.partnership-card-title>div{display:grid;gap:3px}.partnership-card-title b{font-size:17px}.partnership-card-title small{color:var(--muted);font-size:11px}.partnership-application-card dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}.partnership-application-card dl>div{display:grid;gap:4px;padding:10px;border-radius:11px;background:#f7f7f3}.partnership-application-card dt{color:var(--muted);font-size:10px;font-weight:900}.partnership-application-card dd{margin:0;font-size:12px;line-height:1.55;overflow-wrap:anywhere}.partnership-application-card details{margin-top:12px}.partnership-application-card summary{cursor:pointer;color:#47594c;font-size:12px;font-weight:900}.partnership-application-notes{display:grid;gap:9px;margin-top:10px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fbfbf8}.partnership-application-notes p{display:grid;gap:4px;margin:0;color:#444;font-size:12px;line-height:1.7;white-space:pre-wrap}.partnership-card-actions{display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:145px}.partnership-code-chip{display:block;padding:9px 11px;border-radius:10px;background:#f1f1ed;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;text-align:center}.partnership-filter-row{grid-template-columns:minmax(240px,1fr) 150px}.partnership-partner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.partnership-partner-card{display:grid;gap:14px;padding:18px;border:1px solid #dfddd5;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfaf6)}.partnership-partner-card[hidden]{display:none}.partnership-partner-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.partnership-partner-head>div{display:grid;gap:5px;min-width:0}.partnership-partner-head h3{margin:0;font-size:20px}.partnership-partner-head small{color:var(--muted);overflow-wrap:anywhere}.partnership-partner-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.partnership-partner-stats>div{display:grid;gap:5px;padding:10px;border-radius:12px;background:#f2f3ef}.partnership-partner-stats span{color:var(--muted);font-size:9px;font-weight:900}.partnership-partner-stats b{font-size:14px}.partnership-partner-stats small{color:var(--muted);font-size:9px;line-height:1.35}.partnership-url-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center;padding:11px;border:1px solid #cfe0d3;border-radius:13px;background:#f4fbf6}.partnership-url-box>span{grid-column:1/-1;color:#376044;font-size:10px;font-weight:900}.partnership-url-box code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.partnership-partner-contact{display:flex;flex-wrap:wrap;gap:6px 12px;color:var(--muted);font-size:11px}.partnership-commission-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 20px;background:#f5f5f1;border-bottom:1px solid var(--line)}.partnership-commission-toolbar label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:900}.partnership-commission-list{display:grid}.partnership-commission-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:center;padding:15px 20px;border-top:1px solid var(--line)}.partnership-commission-row:first-child{border-top:0}.partnership-commission-row>div{display:grid;gap:3px}.partnership-commission-row small{color:var(--muted);font-size:10px}.partnership-commission-check{display:grid;place-items:center;width:32px;height:32px}.partnership-commission-check input{width:19px;height:19px}.partnership-commission-amount{justify-items:end}.partnership-commission-amount>b{font-size:18px}.partnership-referral-list{display:grid}.partnership-referral-row{display:grid;grid-template-columns:1.25fr 1fr .8fr 1fr;gap:14px;align-items:center;padding:16px 20px;border-top:1px solid var(--line)}.partnership-referral-row:first-child{border-top:0}.partnership-referral-row>div{display:grid;gap:4px;min-width:0}.partnership-referral-row span:not(.pill),.partnership-referral-row small{color:var(--muted);font-size:10px}.partnership-referral-row b{font-size:13px;overflow-wrap:anywhere}.partnership-form-sheet{width:min(680px,calc(100vw - 24px));overflow:auto}.partnership-form-sheet.wide{max-width:880px}.partnership-form-sheet .platform-detail-section{background:#fafaf7}.partnership-rate-input{display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:center}.partnership-rate-input b{display:grid;place-items:center;height:100%;border:1px solid var(--line);border-left:0;border-radius:0 10px 10px 0;background:#f2f2ee}.partnership-rate-input .input{border-radius:10px 0 0 10px}.partnership-approval-notice{margin-top:16px}.partnership-snapshot-note{margin:12px 0 0;line-height:1.65}.partnership-payment-summary{display:grid;gap:5px;margin:18px 0;padding:18px;border-radius:16px;background:#111;color:#fff;text-align:center}.partnership-payment-summary span,.partnership-payment-summary small{color:#ccc;font-size:11px}.partnership-payment-summary b{font-size:30px}.partnership-payment-notice{margin-top:14px}.partnership-application-source{color:#24623a!important;font-weight:900}.partnership-application-source-detail{background:#f3faf5}.platform-nav button{padding-inline:10px}
@media(max-width:1000px){.partnership-flow{grid-template-columns:1fr 1fr}.partnership-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.partnership-partner-grid{grid-template-columns:1fr}.partnership-referral-row{grid-template-columns:1fr 1fr}.partnership-application-card dl{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.partnership-hero{display:grid}.partnership-flow{grid-template-columns:1fr}.partnership-admin-page .platform-hero .top-actions{display:grid;width:100%}.partnership-admin-tabs{position:sticky;top:68px;z-index:20;overflow-x:auto}.partnership-admin-tabs .tab{flex:0 0 auto;min-width:145px}.partnership-application-card{grid-template-columns:1fr;padding:17px 16px}.partnership-card-actions{flex-direction:row;min-width:0}.partnership-card-actions>*{flex:1}.partnership-application-card dl{grid-template-columns:1fr}.partnership-partner-grid{padding:12px}.partnership-partner-stats{grid-template-columns:1fr 1fr}.partnership-url-box{grid-template-columns:1fr}.partnership-url-box .tab{width:100%}.partnership-commission-row{grid-template-columns:auto 1fr;padding:14px}.partnership-commission-amount{grid-column:2;justify-items:start;padding-top:8px;border-top:1px solid var(--line)}.partnership-referral-row{grid-template-columns:1fr;padding:15px}.partnership-referral-row>div+div{padding-top:8px;border-top:1px solid var(--line)}.partnership-commission-toolbar{align-items:flex-start;flex-direction:column}.partnership-filter-row{grid-template-columns:1fr}.partnership-form-sheet{padding:16px}.partnership-metrics{grid-template-columns:1fr 1fr}.partnership-payment-summary b{font-size:25px}}
@media(max-width:420px){.partnership-metrics{grid-template-columns:1fr}.partnership-card-actions{flex-direction:column}}


/* v1.2.0-fix102 パートナー申込：上部成果カードの文字コントラスト修正 */
.partnership-plan{border:1px solid #9fc7aa;background:linear-gradient(145deg,#f7fff9,#e8f5ec);color:#123d20;box-shadow:0 18px 44px rgba(24,79,43,.13)}
.partnership-plan small{color:#3b6848}
.partnership-plan b{color:#123d20}
.partnership-plan p{color:#45614c}

/* v1.2.0-fix104 最高管理者 共通確認モーダル */
.platform-dialog-modal{z-index:140;align-items:center;justify-content:center;padding:18px;background:rgba(17,17,17,.62);backdrop-filter:blur(3px)}
.platform-dialog-sheet{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px 15px;width:min(500px,100%);max-height:calc(100dvh - 36px);padding:24px;border:1px solid rgba(255,255,255,.45);border-radius:24px;background:#f8f8f4;box-shadow:0 30px 90px rgba(0,0,0,.32);overflow:auto}
.platform-dialog-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:#e8f2ea;color:#176b3a;font-size:22px;font-weight:1000;line-height:1}
.platform-dialog-icon.danger{background:#ffe5e2;color:#9a201a}
.platform-dialog-copy{display:grid;gap:5px;min-width:0}
.platform-dialog-copy .platform-kicker{font-size:10px}
.platform-dialog-copy h2{margin:0;font-size:23px;line-height:1.3}
.platform-dialog-copy p{margin:0;color:#5f5f5a;font-size:13px;line-height:1.75;overflow-wrap:anywhere}
.platform-dialog-field{grid-column:1/-1;display:grid;gap:7px;padding:14px;border:1px solid #dfdfd8;border-radius:15px;background:#fff}
.platform-dialog-field>span{font-size:12px;font-weight:900;color:#5d5d58}
.platform-dialog-field .input{min-height:50px;font-size:17px;font-weight:800}
.platform-dialog-field-error{display:block;color:#a62920;font-size:12px;font-weight:900;line-height:1.55}
.platform-dialog-field-error[hidden]{display:none}
.platform-dialog-field .input.is-invalid{border-color:#c43b32!important;background:#fff8f7!important;box-shadow:0 0 0 3px rgba(179,38,30,.1)!important}
.platform-dialog-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:3px}
.platform-dialog-actions .btn{display:flex;align-items:center;justify-content:center;min-height:50px;padding:12px 14px}
.platform-dialog-actions .btn:only-child{grid-column:1/-1}
@media(max-width:560px){.platform-dialog-modal{align-items:flex-end;padding:0}.platform-dialog-sheet{width:100%;max-height:calc(100dvh - 10px);padding:21px 17px calc(17px + env(safe-area-inset-bottom));border-radius:23px 23px 0 0}.platform-dialog-copy h2{font-size:21px}.platform-dialog-actions{grid-template-columns:1fr}.platform-dialog-actions .btn{width:100%;min-height:52px}.platform-dialog-actions .btn:only-child{grid-column:auto}}

/* v1.2.0-fix106: 期間限定割引と店舗ミニホームページ告知を自動連動 */
.discount-editor-progress{grid-template-columns:repeat(5,1fr)}
.discount-public-state{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 13px;border:1px solid var(--line);border-radius:14px;background:#f7f7f4}.discount-public-state.green{border-color:#b6dac4;background:#f1faf4}.discount-public-state.yellow{border-color:#ead6a7;background:#fff9e9}.discount-public-state.red{border-color:#e7b9b5;background:#fff4f3}.discount-public-state>div{display:grid;gap:2px;min-width:0}.discount-public-state>div b{font-size:13px}.discount-public-state>div small{color:var(--muted);font-size:10px}.discount-public-open{white-space:nowrap}
.discount-public-toggle{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;gap:13px!important;align-items:center!important;margin-top:16px;padding:16px!important;border:1px solid #b9d8c4!important;border-radius:16px!important;background:#f3faf5!important;cursor:pointer}.discount-public-toggle:has(input:not(:checked)){border-color:var(--line)!important;background:#f7f7f4!important}.discount-public-toggle input{width:22px;height:22px;accent-color:#176b3a}.discount-public-toggle>span{display:grid;gap:3px}.discount-public-toggle>span b{font-size:15px}.discount-public-toggle>span small{color:var(--muted);font-size:11px}.discount-public-toggle>i{padding:5px 9px;border-radius:999px;background:#176b3a;color:#fff;font-size:10px;font-style:normal;font-weight:900;white-space:nowrap}.discount-public-toggle:has(input:not(:checked))>i{background:#777}
.discount-public-page-notice{display:grid;gap:3px;margin-top:12px}.discount-public-page-notice span{color:var(--muted);font-size:11px;line-height:1.6}
.discount-public-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff}.discount-public-fields label{display:grid;gap:7px}.discount-public-fields label>span{font-size:12px;font-weight:900}.discount-public-fields.is-disabled{opacity:.48;background:#f4f4f1}.discount-public-fields textarea{resize:vertical;min-height:92px}
.discount-public-preview{display:grid;gap:8px;margin-top:14px}.discount-public-preview>span{color:var(--muted);font-size:11px;font-weight:900}.discount-public-preview>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;padding:15px;border:1px solid #efd1bc;border-radius:16px;background:linear-gradient(135deg,#fff7ed,#fff)}.discount-public-preview-badge{display:grid;place-items:center;min-width:88px;min-height:70px;padding:9px;border-radius:14px;background:linear-gradient(145deg,#e7661f,#bd3d12);color:#fff}.discount-public-preview-badge small{font-size:8px;font-weight:1000;letter-spacing:.16em}.discount-public-preview-badge b{font-size:18px}.discount-public-preview>div>div:last-child{min-width:0}.discount-public-preview>div>div:last-child>span{color:#b34a17;font-size:10px;font-weight:900}.discount-public-preview h3{margin:2px 0;font-size:17px}.discount-public-preview p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}
@media(max-width:760px){.discount-editor-progress{grid-template-columns:repeat(5,minmax(82px,1fr));overflow-x:auto}.discount-public-state{grid-template-columns:auto minmax(0,1fr)}.discount-public-open{grid-column:2;width:max-content}.discount-public-fields{grid-template-columns:1fr}}
@media(max-width:520px){.discount-public-toggle{grid-template-columns:auto minmax(0,1fr)}.discount-public-toggle>i{grid-column:2;width:max-content}.discount-public-preview>div{grid-template-columns:1fr}.discount-public-preview-badge{display:flex;justify-content:flex-start;gap:7px;min-width:0;min-height:0;width:max-content;border-radius:999px}.discount-public-state{grid-template-columns:1fr}.discount-public-state>.pill,.discount-public-open{grid-column:1;width:max-content}}
@media(max-width:520px){
  .discount-editor-progress{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;overflow:visible}
  .discount-editor-progress span{min-width:0;padding:9px 3px;font-size:10px;white-space:nowrap}
}

/* v1.2.0-fix108 滞在時間分析 */
.stay-duration-grid{display:grid;grid-template-columns:minmax(220px,.8fr) repeat(2,minmax(260px,1fr));gap:12px}.stay-duration-main{display:grid;align-content:center;gap:7px;text-align:center;background:#111;color:#fff}.stay-duration-main>span{font-weight:900;opacity:.75}.stay-duration-main>b{font-size:34px}.stay-duration-main>small{line-height:1.6;opacity:.78}.stay-duration-breakdown{display:grid;gap:0}.stay-duration-row{display:grid;grid-template-columns:minmax(72px,1fr) auto;gap:4px 12px;padding:10px 0;border-bottom:1px solid var(--line)}.stay-duration-row:last-child{border-bottom:0}.stay-duration-row>span{font-weight:900}.stay-duration-row>b{text-align:right}.stay-duration-row>small{grid-column:1/-1;color:var(--muted)}@media(max-width:860px){.stay-duration-grid{grid-template-columns:1fr 1fr}.stay-duration-main{grid-column:1/-1}}@media(max-width:560px){.stay-duration-grid{grid-template-columns:1fr}.stay-duration-main{grid-column:auto}}

/* v1.2.0-fix110 メール認証エラー見出しの不自然な末尾折返しを防止 */
.verification-card .verification-error-title{font-size:30px;line-height:1.35;letter-spacing:-.02em;white-space:nowrap}
.verification-card .verification-error-title>span{display:inline}
@media(max-width:620px){
  .verification-card .verification-error-title{font-size:clamp(23px,7vw,28px);white-space:normal}
  .verification-card .verification-error-title>span{display:block}
}

/* v1.2.0-fix123: today business hour actions */
.hour-today-action{white-space:nowrap;border-color:#f0a64a;background:#fff7e8;color:#8a4a00;font-weight:900}.hour-today-action:hover{background:#ffefd2}.hour-today-action[hidden]{display:none!important}@media(max-width:640px){.hour-today-action{width:100%}}

/* v1.2.0-fix125 取消済み注文履歴を保持した来店取消 */
.business-close-visit-panel{display:grid;gap:12px;padding:16px;border:1px solid #efc7c3;border-radius:17px;background:#fff9f8}
.business-close-visit-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.business-close-visit-heading h3{margin:0;font-size:17px}
.business-close-visit-heading p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.6}
.business-close-visit-list{display:grid;gap:9px}
.business-close-visit-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:center;padding:13px;border:1px solid #e1dfd8;border-radius:14px;background:#fff}
.business-close-visit-row.is-cancellable{border-color:#e5c19c;background:#fffaf3}
.business-close-visit-number{display:grid;place-items:center;align-content:center;width:68px;min-height:68px;border-radius:13px;background:#171817;color:#fff;text-align:center}
.business-close-visit-number small{font-size:9px;font-weight:900;opacity:.72}
.business-close-visit-number b{font-size:24px;line-height:1.1}
.business-close-visit-copy{display:grid;gap:5px;min-width:0}
.business-close-visit-copy>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.business-close-visit-copy>div>b{font-size:14px}
.business-close-visit-copy>small{color:var(--muted);font-size:10px}
.business-close-visit-copy>p{margin:0;color:#55534e;font-size:11px;line-height:1.65}
.business-close-visit-actions{min-width:175px}
.business-close-visit-actions .btn{width:100%;min-height:44px}
@media(max-width:760px){
  .business-close-visit-row{grid-template-columns:auto minmax(0,1fr)}
  .business-close-visit-actions{grid-column:1/-1;min-width:0}
}
@media(max-width:480px){
  .business-close-visit-panel{padding:13px}
  .business-close-visit-heading{align-items:flex-start}
  .business-close-visit-row{grid-template-columns:1fr;padding:12px}
  .business-close-visit-number{width:100%;min-height:52px;grid-template-columns:auto auto;gap:7px}
  .business-close-visit-number b{font-size:21px}
  .business-close-visit-actions{grid-column:auto}
}

/* v1.2.0-fix128 時間帯加算 お客様向け案内・注文確認改善 */
.time-surcharge-banner-slot:empty,.time-surcharge-cart-summary-slot:empty{display:none}
.time-surcharge-banner{display:grid;gap:5px;margin:12px 0 14px;padding:13px 14px;border:1px solid #d6c89a;border-radius:15px;background:#fff9e8;color:#4f4218}
.time-surcharge-banner>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.time-surcharge-banner b{font-size:14px}.time-surcharge-banner span,.time-surcharge-banner small{font-size:11px;line-height:1.55}
.time-surcharge-banner.is-active{border-color:#dc9c55;background:#fff3e2;color:#6d3500;box-shadow:0 7px 18px rgba(151,84,19,.08)}
.time-surcharge-banner.is-active:before{content:'加算中';width:max-content;padding:3px 8px;border-radius:999px;background:#a95000;color:#fff;font-size:9px;font-weight:1000;letter-spacing:.06em}
.time-surcharge-banner.is-upcoming{border-color:#e0bd6e;background:#fff9e8;color:#654b0d;box-shadow:0 7px 18px rgba(136,96,10,.07)}
.time-surcharge-banner.is-upcoming:before{content:'まもなく';width:max-content;padding:3px 8px;border-radius:999px;background:#9a6a00;color:#fff;font-size:9px;font-weight:1000;letter-spacing:.06em}
.time-surcharge-banner.is-inactive{background:#f7f7f3;color:#555;border-color:var(--line)}
.time-surcharge-line{display:flex!important;align-items:center;justify-content:space-between;gap:10px;margin-top:6px;padding:7px 9px;border-radius:10px;background:#fff4e7;color:#7b3a00;font-size:11px;font-weight:900}
.time-surcharge-summary-row,.time-surcharge-cart-totals>div,.time-surcharge-order-totals>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 0}
.time-surcharge-summary-row.accent,.time-surcharge-cart-totals>div:last-child,.time-surcharge-order-totals>div:last-child{color:#8a4200}
.time-surcharge-summary-row.total{margin-top:5px;padding-top:12px;border-top:2px solid #222;color:var(--ink)}
.time-surcharge-cart-totals,.time-surcharge-order-totals{display:grid;gap:0;margin:12px 0;padding:10px 14px;border:1px solid #e4c38f;border-radius:14px;background:#fffaf0}
.time-surcharge-cart-totals span,.time-surcharge-order-totals span{font-size:12px;font-weight:800}.time-surcharge-cart-totals b,.time-surcharge-order-totals b{font-size:15px}
.time-surcharge-copy{display:grid;gap:3px;min-width:0}.time-surcharge-copy small{color:#765b39;font-size:10px;font-weight:700;line-height:1.5}.time-surcharge-current-state{margin:2px 0 5px;padding:8px 10px;border-radius:10px;font-size:11px;font-weight:900;line-height:1.5}.time-surcharge-current-state.is-active{background:#fff0dc;color:#7b3a00}.time-surcharge-current-state.is-inactive{background:#f0f1ed;color:#4c514b}.time-surcharge-banner>strong{font-size:13px;line-height:1.5}.customer-time-surcharge-cart-summary{margin:14px 0}
.time-surcharge-upcoming-note{display:grid;gap:5px;margin:12px 0;padding:11px 13px;border:1px solid #e0bd6e;border-radius:13px;background:#fff9e8;color:#654b0d}.time-surcharge-upcoming-note b{font-size:13px}.time-surcharge-upcoming-note span{font-size:11px;font-weight:700;line-height:1.6}
.staff-checkout-surcharge{display:block!important;margin-top:4px;color:#8a4200!important;font-weight:900!important}

.time-surcharge-settings{max-width:920px;margin-inline:auto}
.time-surcharge-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.time-surcharge-heading h2{margin:2px 0 4px}.time-surcharge-heading p{max-width:650px;margin:0;line-height:1.7}
.time-surcharge-current{display:grid;gap:4px;padding:15px 16px;border:1px solid #dfb77c;border-radius:16px;background:#fff7e9}
.time-surcharge-current b{font-size:15px}.time-surcharge-current span{font-size:12px;line-height:1.65;color:#6d4a1c}
.time-surcharge-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff;transition:opacity .15s,background .15s}
.time-surcharge-fields.is-disabled{opacity:.62;background:#f5f5f1}
.time-surcharge-fields>label{display:grid;align-content:start;gap:7px;min-width:0}.time-surcharge-fields>label>span,.time-surcharge-time-grid label>span{font-size:12px;font-weight:900}
.time-surcharge-fields small,.time-surcharge-time-grid small{color:var(--muted);font-size:10px;line-height:1.55}
.time-surcharge-time-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.time-surcharge-time-grid label{display:grid;gap:7px}
.time-surcharge-rate-input{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px}.time-surcharge-rate-input b{display:grid;place-items:center;height:47px;border:1px solid var(--line);border-radius:12px;background:#f4f4ef}
.time-surcharge-rule-card{display:grid;gap:0;border:1px solid #cbd8cd;border-radius:17px;background:#f7fbf7;overflow:hidden}.time-surcharge-rule-card h3{margin:0;padding:14px 16px;background:#eaf4ec;font-size:16px}.time-surcharge-rule-card>div{display:grid;gap:4px;padding:13px 16px;border-top:1px solid #dde7df}.time-surcharge-rule-card b{font-size:13px}.time-surcharge-rule-card span{color:#4c5f50;font-size:11px;line-height:1.65}
.time-surcharge-example{display:grid;grid-template-columns:minmax(170px,.6fr) minmax(260px,1fr);gap:18px;align-items:center;padding:17px;border:1px solid #e1c491;border-radius:17px;background:#fffaf0}.time-surcharge-example h3{margin:3px 0 0}.time-surcharge-example-lines{display:grid;gap:7px}.time-surcharge-example-lines>div{display:flex;justify-content:space-between;gap:12px}.time-surcharge-example-lines .time-surcharge-example-fee{color:#8a4200}.time-surcharge-example-lines .final{padding-top:9px;border-top:2px solid #222;font-size:18px}.time-surcharge-example small{display:block;margin-top:7px;color:var(--muted);font-size:10px;line-height:1.55}
.checkout-surcharge-row{padding:10px 0;border-top:1px dashed #d6b47d;border-bottom:1px dashed #d6b47d;color:#7b3a00}.checkout-surcharge-row>span{display:grid;gap:3px}.checkout-surcharge-row small{color:#8a6a42;font-size:10px;line-height:1.45}.checkout-calculation .checkout-surcharge-row>b{color:#8a4200}
.checkout-calculation-order{grid-template-columns:1fr!important;padding:9px 10px;border-radius:10px;background:#f4f4ef}.checkout-calculation-order span{font-size:10px;font-weight:900;color:var(--muted)}.checkout-calculation-order b{text-align:left!important;font-size:11px!important;line-height:1.5}
.analytics-adjustment .plus b{color:#8a4200}.analytics-table-head,.analytics-table-row{grid-template-columns:minmax(140px,1.3fr) minmax(100px,.9fr) minmax(90px,.75fr) minmax(90px,.8fr) minmax(100px,.9fr) minmax(80px,.7fr);min-width:760px}
.report-visit-metrics small,.takeaway-metrics small{display:block;margin-top:2px;color:#8a4200;font-size:9px;font-weight:800}

@media(max-width:720px){
  .time-surcharge-heading{display:grid}.time-surcharge-heading .public-master-switch{width:100%}
  .time-surcharge-fields{grid-template-columns:1fr;padding:14px}.time-surcharge-time-grid{grid-template-columns:1fr 1fr}
  .time-surcharge-example{grid-template-columns:1fr}
  .time-surcharge-banner>div{display:grid;gap:3px}
}
@media(max-width:480px){
  .time-surcharge-time-grid{grid-template-columns:1fr}.time-surcharge-current{padding:13px}
  .time-surcharge-cart-totals,.time-surcharge-order-totals{padding:9px 11px}
  .checkout-surcharge-row{grid-template-columns:1fr!important}.checkout-calculation .checkout-surcharge-row>b{text-align:left}
}

/* v1.2.0-fix131 注文履歴の時間帯加算表示を再設計 */
.customer-history-summary.has-surcharge{grid-template-columns:72px 72px minmax(145px,.9fr) minmax(160px,1fr)}
.customer-history-summary>.surcharge{align-items:center;justify-items:end;padding-inline:13px;background:#fffaf0}
.customer-history-summary>.surcharge>span{justify-self:start;color:#8a4200}
.customer-history-summary>.surcharge>b{color:#8a4200;font-size:20px}
.customer-order-card-head{justify-content:flex-start}
.customer-order-total-breakdown{display:grid;padding:9px 15px 13px;border-top:1px solid #e9e5dd;background:#fbfaf8}
.customer-order-total-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:34px;padding:6px 0}
.customer-order-total-breakdown>div+div{border-top:1px solid #eeeae2}
.customer-order-total-breakdown span{font-size:11px;font-weight:800;color:#68645d}
.customer-order-total-breakdown>div>b{flex:0 0 auto;font-size:15px}
.customer-order-total-breakdown .fee{color:#8a4200}
.customer-order-total-breakdown .fee>span{display:grid;gap:2px;color:#8a4200}
.customer-order-total-breakdown .fee>span>b{font-size:12px}
.customer-order-total-breakdown .fee small{color:#8b6a43;font-size:9px;font-weight:700;line-height:1.45}
.customer-order-total-breakdown .fee>b{color:#8a4200}
.customer-order-total-breakdown .total{min-height:42px;margin-top:3px;padding-top:10px;border-top:2px solid #242424}
.customer-order-total-breakdown .total span{color:#222;font-size:12px;font-weight:900}
.customer-order-total-breakdown .total b{font-size:19px}
.customer-order-total-breakdown.is-simple{padding-top:8px}
.customer-order-total-breakdown.is-simple .total{margin-top:0}
@media(max-width:640px){
  .customer-history-summary,.customer-history-summary.has-surcharge{grid-template-columns:repeat(2,minmax(0,1fr))}
  .customer-history-summary:not(.has-surcharge)>.total{grid-column:1/-1}
  .customer-history-summary>.surcharge,.customer-history-summary>.total{justify-items:center;padding-inline:8px}
  .customer-history-summary>.surcharge>span,.customer-history-summary>.total>span{justify-self:center}
}
@media(max-width:430px){
  .customer-order-total-breakdown{padding-inline:13px}
}
.customer-history-summary>div>span{display:block;padding:0;border-radius:0;background:transparent;text-align:inherit}
.customer-order-card{gap:0}
.customer-order-total-breakdown.is-simple .total{padding-top:6px;border-top:0}

/* v1.2.0-fix132 注文履歴カードの状態表示・集計ラベル最終調整 */
.customer-order-total-breakdown .fee small{font-size:10px;line-height:1.55}
.customer-order-status{padding:11px 15px 13px;border-top:1px solid #e9e5dd;background:#fff}
.customer-order-status-summary{display:flex;align-items:center;justify-content:space-between;gap:12px}
.customer-order-status-summary>span:last-child{color:#747069;font-size:10px;font-weight:700;text-align:right;line-height:1.5}
.customer-order-status.is-multiple{display:grid;gap:8px}
.customer-order-status-heading{color:#68645d;font-size:11px;font-weight:900}
.customer-order-status-list{display:grid;gap:7px}
.customer-order-status-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding-top:7px;border-top:1px solid #efede7}
.customer-order-status-product{display:flex;align-items:baseline;gap:6px;min-width:0}
.customer-order-status-product b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.customer-order-status-product small{color:#77736c;font-size:10px;font-weight:800}
.customer-order-status-state{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.customer-order-status-state>small{max-width:190px;color:#747069;font-size:10px;font-weight:700;text-align:right;line-height:1.45}
@media(max-width:430px){
  .customer-order-status{padding-inline:13px}
  .customer-order-status-summary{align-items:flex-start}
  .customer-order-status-summary>span:last-child{padding-top:4px}
  .customer-order-status-row{grid-template-columns:1fr;gap:6px}
  .customer-order-status-state{justify-content:space-between}
  .customer-order-status-state>small{max-width:none}
}


/* v1.2.0-fix135 注文履歴の取消集計を明確化 */
.customer-history-summary.has-cancelled{grid-template-columns:82px 82px 82px minmax(160px,1fr)}
.customer-history-summary.has-cancelled.has-surcharge{grid-template-columns:76px 76px 76px minmax(132px,.9fr) minmax(155px,1fr)}
.customer-history-summary>.cancelled{background:#fff3f1}
.customer-history-summary>.cancelled>span{color:#a63c2f}
.customer-history-summary>.cancelled>b{color:#a63c2f}
@media(max-width:640px){
  .customer-history-summary.has-cancelled,.customer-history-summary.has-cancelled.has-surcharge{grid-template-columns:repeat(2,minmax(0,1fr))}
  .customer-history-summary.has-cancelled:not(.has-surcharge)>.total{grid-column:auto}
  .customer-history-summary.has-cancelled.has-surcharge>.total{grid-column:1/-1;justify-items:center}
  .customer-history-summary.has-cancelled.has-surcharge>.total>span{justify-self:center}
}

/* v1.2.0-fix136 未提供商品の会計依頼防止 */
.checkout-unserved-sheet{max-width:560px}.checkout-unserved-mark{background:#b85b00}.checkout-unserved-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:17px 0}.checkout-unserved-summary>div{display:grid;gap:5px;padding:13px;border:1px solid #efc48f;border-radius:13px;background:#fff7e9;text-align:center}.checkout-unserved-summary span{font-size:12px;font-weight:800;color:#80501d}.checkout-unserved-summary b{font-size:20px}.checkout-unserved-notice{margin:14px 0;line-height:1.55;text-align:left}
@media(max-width:560px){.checkout-unserved-summary{grid-template-columns:1fr}.checkout-unserved-summary>div{grid-template-columns:1fr auto;align-items:center;text-align:left}}

.checkout-unserved-override{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0;padding:14px;border:1px solid #d99a55;border-radius:14px;background:#fff7e9}.checkout-unserved-override>div{display:grid;gap:4px}.checkout-unserved-override span{font-size:12px;line-height:1.45;color:#744716;font-weight:700}.checkout-unserved-override.is-enabled{border-color:#b85b00;background:#fff0dd}.checkout-unserved-override.is-enabled b{color:#8b3f00}@media(max-width:620px){.checkout-unserved-override{align-items:stretch;flex-direction:column}.checkout-unserved-override .btn{width:100%}}

/* v1.2.0-fix138: 会計後お客様アンケート */
.customer-survey-card{margin-top:18px;border:1px solid rgba(25,106,76,.16);box-shadow:0 12px 34px rgba(20,62,48,.09);overflow:hidden}
.customer-survey-eyebrow{display:inline-flex;align-items:center;min-height:28px;padding:5px 11px;border-radius:999px;background:#eaf7f1;color:#176748;font-size:12px;font-weight:900;letter-spacing:.06em}
.customer-survey-card h2{margin:12px 0 8px;font-size:clamp(22px,6vw,30px);line-height:1.35;color:#18352c}
.customer-survey-card p{margin:0;color:#566961;line-height:1.75}
.customer-survey-anonymous-note{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;margin:18px 0;padding:12px 14px;border-radius:14px;background:#f3f8f5;color:#476057;font-size:13px}
.customer-survey-anonymous-note b{color:#176748;font-size:14px}
.customer-survey-invitation{text-align:center;padding:26px 20px}
.customer-survey-invitation-actions{display:grid;gap:10px;margin-top:20px}
.customer-survey-start{min-height:58px;font-size:17px}
.customer-survey-form-card{padding:20px 16px}
.customer-survey-form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.customer-survey-form-head h2{margin-top:9px}
.customer-survey-form-close{flex:0 0 44px;width:44px;height:44px;border:0;border-radius:50%;background:#eef2f0;color:#42554d;font-size:28px;line-height:1;cursor:pointer}
.customer-survey-inline-error{margin:0 0 16px;padding:13px 15px;border-radius:12px;background:#fff0ed;border:1px solid #efb8ae;color:#9f2f1f;font-weight:800;line-height:1.55}
.customer-survey-rating-group{margin:0 0 18px;padding:16px 12px 14px;border:1px solid #dce8e2;border-radius:17px;background:#fbfdfc}
.customer-survey-rating-group.has-error{border-color:#d85c48;background:#fff8f5;box-shadow:0 0 0 3px rgba(216,92,72,.13)}
.customer-survey-rating-group.has-error legend span,.customer-survey-rating-group.has-error legend b{color:#a73525}
.customer-survey-rating-group legend{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0 3px 8px;font-weight:900;color:#1e3c32}
.customer-survey-rating-group legend span{font-size:18px}
.customer-survey-rating-group legend b{font-size:13px;color:#18704e}
.customer-survey-stars{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.customer-survey-star{display:flex;min-width:0;min-height:58px;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #d9e4df;border-radius:13px;background:#fff;color:#c7cfcb;cursor:pointer;touch-action:manipulation;transition:transform .12s ease,border-color .12s ease,background .12s ease,color .12s ease}
.customer-survey-star span{font-size:30px;line-height:1}
.customer-survey-star small{font-size:11px;font-weight:900;color:#7b8983}
.customer-survey-star.is-selected{border-color:#e3a51d;background:#fff8e6;color:#efa900;box-shadow:0 4px 12px rgba(207,146,9,.12)}
.customer-survey-star:active{transform:scale(.94)}
.customer-survey-comment,.customer-survey-low-reason label{display:block;margin-top:8px}
.customer-survey-comment>span,.customer-survey-low-reason label>span{display:block;color:#1f3c33;font-size:17px;font-weight:900}
.customer-survey-comment>small{display:block;margin:5px 0 9px;color:#6a7b74;line-height:1.55}
.customer-survey-comment textarea,.customer-survey-low-reason textarea{width:100%;min-height:118px;margin-top:9px;padding:14px;border:1px solid #ccd9d3;border-radius:14px;background:#fff;color:#24372f;font:inherit;font-size:16px;line-height:1.65;resize:vertical;box-sizing:border-box}
.customer-survey-comment textarea:focus,.customer-survey-low-reason textarea:focus{outline:3px solid rgba(27,131,91,.16);border-color:#25855f}
.customer-survey-comment>b,.customer-survey-low-reason label>b{display:block;margin-top:5px;color:#73817b;font-size:12px;text-align:right}
.customer-survey-low-reason{margin-top:20px;padding:18px 14px;border-radius:17px;background:#fff9ee;border:1px solid #ead9b9}
.customer-survey-low-reason h3{margin:0 0 7px;color:#624919;font-size:17px;line-height:1.55}
.customer-survey-low-reason p{font-size:13px;color:#776747}
.customer-survey-reasons{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}
.customer-survey-reason{min-height:46px;padding:10px 16px;border:1px solid #dacba9;border-radius:999px;background:#fff;color:#5f543b;font:inherit;font-weight:800;cursor:pointer;touch-action:manipulation}
.customer-survey-reason.is-selected{border-color:#946c18;background:#75520b;color:#fff;box-shadow:0 4px 12px rgba(99,70,11,.16)}
.customer-survey-submit-area{display:grid;gap:10px;margin-top:22px}
.customer-survey-submit-area p{font-size:12px;text-align:center}
.customer-survey-submit-area .btn{min-height:56px}
.customer-survey-complete{text-align:center;padding:30px 20px}
.customer-survey-complete-mark,.customer-survey-close-message>div{display:grid;width:62px;height:62px;margin:0 auto 12px;place-items:center;border-radius:50%;background:#e6f7ef;color:#167049;font-size:31px;font-weight:900}
.customer-survey-close-message{text-align:center;padding:12px 2px}
.customer-survey-close-message h2{font-size:23px}
@media (min-width:640px){.customer-survey-card{padding-left:26px;padding-right:26px}.customer-survey-stars{gap:10px}.customer-survey-star{min-height:68px}.customer-survey-star span{font-size:36px}.customer-survey-invitation-actions{grid-template-columns:1.5fr 1fr}.customer-survey-invitation-actions .btn{width:100%}}
@media print{.customer-survey-card{display:none!important}}

/* v1.2.0-fix138: 店舗側お客様アンケート */
.survey-admin-page{padding-bottom:56px}
.survey-admin-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:24px 0 18px;padding:24px;border-radius:22px;background:linear-gradient(135deg,#153c31,#24684f);color:#fff;box-shadow:0 16px 38px rgba(18,70,53,.2)}
.survey-admin-hero h1{margin:7px 0 6px;font-size:clamp(27px,5vw,38px)}
.survey-admin-hero p{margin:0;color:rgba(255,255,255,.82)}
.survey-admin-period{display:flex;min-width:210px;flex-direction:column;gap:5px;padding:13px 16px;border-radius:14px;background:rgba(255,255,255,.13);text-align:right}
.survey-admin-period b{font-size:15px}.survey-admin-period span{font-size:12px;color:rgba(255,255,255,.76)}
.survey-admin-filter{margin-bottom:16px;padding:16px}
.survey-preset-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-bottom:14px}
.survey-preset-tabs button{min-height:44px;border:1px solid #d6e1dc;border-radius:11px;background:#f7faf8;color:#496057;font:inherit;font-weight:800;cursor:pointer}
.survey-preset-tabs button.active{border-color:#1f7655;background:#1f7655;color:#fff;box-shadow:0 5px 14px rgba(31,118,85,.18)}
.survey-filter-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:10px;align-items:end}
.survey-filter-row label{display:grid;gap:5px}.survey-filter-row label>span{font-size:12px;font-weight:800;color:#53665e}.survey-filter-row .btn{min-height:46px}
.survey-admin-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:16px}
.survey-admin-metric{display:flex;min-width:0;gap:12px;align-items:center;padding:17px 15px;border:1px solid #dce6e1;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(20,68,51,.06)}
.survey-admin-metric-icon{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border-radius:13px;background:#eaf6f0;color:#1b704f;font-size:16px;font-weight:900}
.survey-admin-metric div{display:flex;min-width:0;flex-direction:column}.survey-admin-metric small{color:#718078;font-size:11px}.survey-admin-metric b{margin-top:2px;color:#193b30;font-size:23px;white-space:nowrap}.survey-admin-metric div>small:last-child{margin-top:2px;white-space:normal}
.survey-comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.survey-comparison-card{padding:18px}.survey-comparison-card>span{font-size:12px;font-weight:900;color:#1e7856}.survey-comparison-card h3{margin:6px 0 14px;font-size:15px;color:#3b5048}.survey-comparison-card>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:12px;background:#f5f8f6}.survey-comparison-card>div>b{font-size:18px}.survey-comparison-card>small{display:block;margin-top:10px;color:#77857f;line-height:1.5}
.survey-comparison{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:12px;font-weight:900}.survey-comparison.up{background:#e3f5ec;color:#147248}.survey-comparison.down{background:#fff0ed;color:#ad3929}.survey-comparison.neutral{background:#edf1ef;color:#65736d}
.survey-admin-two-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.survey-admin-section{padding:20px;margin-bottom:16px}.survey-admin-two-columns .survey-admin-section{margin-bottom:0}
.survey-admin-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:17px}.survey-admin-section-head span{color:#1d7554;font-size:11px;font-weight:900;letter-spacing:.1em}.survey-admin-section-head h2{margin:4px 0 0;color:#203d33;font-size:21px}.survey-admin-section-head p{margin:5px 0 0;color:#75827d;font-size:12px;line-height:1.55}.survey-admin-section-head>b{font-size:19px;color:#274c3e}
.survey-distribution{display:grid;gap:12px}.survey-distribution>div{display:grid;grid-template-columns:44px minmax(70px,1fr) 64px;gap:10px;align-items:center}.survey-distribution span{color:#8b6908;font-weight:900}.survey-distribution>div>div{height:11px;border-radius:999px;background:#edf1ef;overflow:hidden}.survey-distribution i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#f2b820,#dd8e0c)}.survey-distribution b{text-align:right;font-size:13px}
.survey-reason-summary{display:grid;gap:9px}.survey-reason-summary>div{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-radius:12px;background:#fff9ed;border:1px solid #ebdec3}.survey-reason-summary span{font-weight:800;color:#604f2e}.survey-reason-summary b{color:#7c5c10}
.survey-daily-table{overflow-x:auto;border:1px solid #dfe7e3;border-radius:14px}.survey-daily-table>div{display:grid;min-width:710px;grid-template-columns:1.6fr .65fr repeat(4,.8fr);gap:8px;align-items:center;padding:11px 13px;border-top:1px solid #edf1ef}.survey-daily-table>div:first-child{border-top:0}.survey-daily-head{background:#f2f7f4;color:#5e7068;font-size:12px;font-weight:900}.survey-daily-table>div:not(.survey-daily-head):nth-child(odd){background:#fafcfb}.survey-daily-table b{color:#1e5f45}
.survey-comments-section{margin-top:20px}.survey-comment-list{display:grid;gap:12px}.survey-comment-card{padding:17px}.survey-comment-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.survey-comment-top>div{display:flex;align-items:center;gap:10px}.survey-comment-top>div>b{font-size:18px;color:#203d33}.survey-comment-top time{font-size:12px;color:#77847f}.survey-comment-scores{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0}.survey-comment-scores span{padding:7px 10px;border-radius:9px;background:#f0f6f3;color:#51635b;font-size:12px}.survey-comment-scores b{color:#176a4a;font-size:15px}.survey-comment-reasons{display:flex;flex-wrap:wrap;gap:7px 11px;margin:10px 0;padding:12px;border-radius:11px;background:#fff8e9;color:#655230;font-size:13px}.survey-comment-reasons p{flex-basis:100%;margin:2px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.survey-comment-body{padding:14px;border-radius:12px;background:#f8faf9}.survey-comment-body p{margin:0;line-height:1.7;overflow-wrap:anywhere}.survey-comment-body .is-empty,.survey-comment-body .is-hidden{color:#7a8781;font-style:normal}.survey-comment-card footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:#78857f;font-size:11px}.survey-comment-card footer>div{display:flex;gap:6px}.tab.danger{border-color:#d9a59e;color:#a23b2e}
.survey-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:16px}.survey-pagination .btn{min-width:90px}.survey-pagination span{font-size:12px;color:#697872}
.survey-public-settings{margin-top:20px;padding:20px}.survey-public-options{display:grid;gap:10px;margin-bottom:16px}.survey-public-options label{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #dce5e1;border-radius:13px;cursor:pointer}.survey-public-options label.is-selected{border-color:#26815e;background:#f0faf5;box-shadow:0 0 0 2px rgba(38,129,94,.08)}.survey-public-options input{width:20px;height:20px;margin-top:2px;accent-color:#207b57}.survey-public-options span{display:grid;gap:4px}.survey-public-options b{color:#243f35}.survey-public-options small{color:#708078;line-height:1.5}
.empty-state.compact{padding:24px 10px}
@media(max-width:900px){.survey-admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.survey-admin-metric:last-child{grid-column:1/-1}.survey-comparison-grid{grid-template-columns:1fr}.survey-filter-row{grid-template-columns:1fr 1fr}.survey-filter-row label:nth-child(3),.survey-filter-row .btn{grid-column:auto}.survey-admin-two-columns{grid-template-columns:1fr}}
@media(max-width:640px){.survey-admin-hero{align-items:stretch;flex-direction:column;margin-top:14px;padding:19px}.survey-admin-period{text-align:left;min-width:0}.survey-preset-tabs{grid-template-columns:repeat(3,1fr)}.survey-filter-row{grid-template-columns:1fr}.survey-filter-row label:nth-child(3),.survey-filter-row .btn{grid-column:1}.survey-admin-metrics{grid-template-columns:1fr 1fr;gap:9px}.survey-admin-metric{padding:13px 11px;gap:8px}.survey-admin-metric-icon{width:35px;height:35px;flex-basis:35px;font-size:13px}.survey-admin-metric b{font-size:19px}.survey-admin-metric:last-child{grid-column:1/-1}.survey-admin-section{padding:16px}.survey-comment-top,.survey-comment-card footer{align-items:flex-start;flex-direction:column}.survey-comment-card footer>div{width:100%;flex-wrap:wrap}.survey-comment-card footer .tab{flex:1}.survey-pagination{gap:8px}.survey-pagination span{text-align:center}.survey-pagination .btn{min-width:70px;padding-left:10px;padding-right:10px}}


/* v1.2.0-fix142: tablet-first staff takeaway reception workspace */
.staff-order-modal .takeaway-order-entry-sheet{width:min(1180px,calc(100vw - 24px));max-width:1180px;height:min(720px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);min-height:min(560px,calc(100dvh - 24px))}
.takeaway-order-header .takeaway-order-steps{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
.takeaway-order-steps span{display:flex;align-items:center;gap:7px;min-width:0;padding:8px 11px;border:1px solid #e0ddd5;border-radius:999px;background:#faf9f6;color:#777168;font-size:11px;font-weight:900;white-space:nowrap}
.takeaway-order-steps span b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e9e6df;color:#5f5b54;font-size:11px}
.takeaway-order-steps span.active{border-color:#efb46f;background:#fff7ea;color:#8b4b00}
.takeaway-order-steps span.active b{background:#ff7900;color:#fff}
.takeaway-order-workspace{grid-template-columns:minmax(0,1fr) 330px}
.takeaway-order-entry-sheet .staff-order-catalog-controls{display:grid;gap:9px;padding:12px 16px 11px}
.takeaway-order-entry-sheet .staff-order-search-row{margin:0}
.takeaway-order-entry-sheet .staff-order-categories{overflow-x:auto;scrollbar-width:none}
.takeaway-order-entry-sheet .time-surcharge-banner{margin:0;padding:9px 11px;border-radius:12px}
.takeaway-order-entry-sheet .staff-order-product-scroll{padding:14px 16px 18px;overflow-x:hidden}
.takeaway-order-entry-sheet .staff-order-products{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px}
.takeaway-order-entry-sheet .staff-order-product{grid-template-columns:68px minmax(0,1fr) auto;min-height:100px;padding:11px;gap:11px;border-radius:16px}
.takeaway-order-entry-sheet .staff-order-product-media{width:68px;height:68px}
.takeaway-order-entry-sheet .staff-order-product-main b{font-size:16px}
.takeaway-order-entry-sheet .staff-order-product-action{min-width:108px}
.takeaway-order-entry-sheet .takeaway-limit-note{display:block!important;padding:4px 7px;border-radius:8px;background:#fff7df;color:#765200!important;font-size:9px!important;line-height:1.4;overflow-wrap:anywhere}
.takeaway-order-cart-panel{min-width:0}
.takeaway-order-cart-item .takeaway-order-cart-options{display:block;padding:7px 8px;border-radius:8px;background:#f5f1e9;color:#625a4f;line-height:1.45}
.takeaway-order-cart-item .staff-order-cart-item-actions{justify-content:space-between}
@media(max-width:900px){
  .staff-order-modal .takeaway-order-entry-sheet{width:100%;max-width:none;height:96dvh;max-height:96dvh;min-height:0;border-radius:20px 20px 0 0}
  .takeaway-order-header .takeaway-order-steps{grid-column:1/-1;order:3;justify-content:flex-start;overflow-x:auto;padding-bottom:1px;scrollbar-width:none}
  .takeaway-order-steps span{padding:6px 9px}.takeaway-order-steps span b{width:20px;height:20px}
  .takeaway-order-workspace{display:block}
  .takeaway-order-entry-sheet .staff-order-product-scroll{padding-bottom:100px}
  .takeaway-order-entry-sheet .staff-order-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
}
@media(max-width:560px){
  .takeaway-order-steps span{font-size:10px}
  .takeaway-order-entry-sheet .staff-order-products{grid-template-columns:1fr}
  .takeaway-order-entry-sheet .staff-order-product{grid-template-columns:58px minmax(0,1fr) auto;min-height:84px;padding:8px}
  .takeaway-order-entry-sheet .staff-order-product-media{width:58px;height:58px}
  .takeaway-order-entry-sheet .staff-order-product-action{min-width:82px}
}

/* v1.2.0-fix143: prevent takeaway product names collapsing into vertical one-character lines */
.takeaway-order-entry-sheet .takeaway-order-products{
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
}
.takeaway-order-entry-sheet .takeaway-order-product{
  width:100%;
  min-width:0;
  grid-template-columns:72px minmax(0,1fr) minmax(84px,auto);
  align-items:center;
}
.takeaway-order-entry-sheet .takeaway-order-product .staff-order-product-main{
  min-width:0;
  writing-mode:horizontal-tb;
}
.takeaway-order-entry-sheet .takeaway-order-product .staff-order-product-main>*{
  writing-mode:horizontal-tb;
}
.takeaway-order-entry-sheet .takeaway-order-product .staff-order-product-main b{
  display:-webkit-box;
  max-width:100%;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  white-space:normal;
  word-break:normal;
  overflow-wrap:anywhere;
  line-height:1.4;
}
.takeaway-order-entry-sheet .takeaway-order-product .staff-order-product-category,
.takeaway-order-entry-sheet .takeaway-order-product .staff-order-product-main em{
  display:block;
  max-width:100%;
  white-space:normal;
  word-break:normal;
  overflow-wrap:anywhere;
}
.takeaway-order-entry-sheet .takeaway-order-product .staff-order-product-action{
  min-width:84px;
  align-self:stretch;
  align-content:center;
}
@media(max-width:900px){
  .takeaway-order-entry-sheet .takeaway-order-products{
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  }
}
@media(max-width:560px){
  .takeaway-order-entry-sheet .takeaway-order-products{grid-template-columns:1fr}
  .takeaway-order-entry-sheet .takeaway-order-product{
    grid-template-columns:58px minmax(0,1fr) minmax(78px,auto);
  }
  .takeaway-order-entry-sheet .takeaway-order-product .staff-order-product-action{min-width:78px}
}

/* v1.2.0-fix144: scroll-safe tablet-first takeaway product option sheet */
.staff-order-modal .staff-product-sheet{
  width:min(860px,calc(100vw - 24px));
  max-width:860px;
  height:min(820px,calc(100dvh - 24px));
  max-height:calc(100dvh - 24px);
  min-height:min(600px,calc(100dvh - 24px));
  padding:0;
  overflow:hidden;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  border-radius:24px;
  background:#f7f6f2;
}
.staff-product-header{
  min-width:0;
  padding:18px 22px 15px;
  background:#fff;
}
.staff-product-header-main{min-width:0}
.staff-product-header-main h2{
  margin:2px 0 5px;
  overflow-wrap:anywhere;
}
.staff-product-price-line{
  display:flex;
  align-items:center;
  gap:8px 12px;
  flex-wrap:wrap;
  margin-top:9px;
}
.staff-product-price-line>b{font-size:22px;color:#171717}
.staff-product-price-line>span{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:5px 9px;
  border-radius:999px;
  background:#fff1dd;
  color:#855000;
  font-size:11px;
  font-weight:900;
}
.staff-product-header .takeaway-product-rule{
  margin:10px 0 0;
  padding:9px 11px;
  font-size:11px;
}
.staff-product-scroll{
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
  padding:4px 22px 24px;
  touch-action:pan-y;
}
.staff-product-scroll .staff-option-group{
  padding:15px;
  border:1px solid #e2e0d9;
  border-radius:17px;
  background:#fff;
}
.staff-product-scroll .staff-option-group.is-invalid{
  border-color:#d44a3a;
  box-shadow:0 0 0 3px rgba(179,38,30,.09);
}
.staff-product-scroll .staff-option-group.is-invalid .staff-option-group-head>div>b{color:#a62920}
.staff-product-scroll .staff-order-note{
  padding:15px;
  border:1px solid #e2e0d9;
  border-radius:17px;
  background:#fff;
}
.staff-product-footer{
  position:relative;
  z-index:2;
  flex:0 0 auto;
}
.staff-product-footer-main{
  grid-template-columns:minmax(240px,.9fr) minmax(250px,1.1fr);
}
.staff-product-total{
  min-width:0;
}
.staff-product-total>div{
  display:grid;
  justify-items:end;
  gap:1px;
  min-width:0;
}
.staff-product-total>div>small{
  color:var(--muted);
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
}
.staff-product-option-status{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  padding:0 6px;
  line-height:1.45;
}
.staff-product-option-status.warning::before,
.staff-product-option-status.ready::before{
  display:inline-grid;
  place-items:center;
  width:18px;
  height:18px;
  margin-right:6px;
  border-radius:50%;
  font-size:11px;
  font-weight:1000;
}
.staff-product-option-status.warning::before{content:'!';background:#ffe2dd;color:#a62920}
.staff-product-option-status.ready::before{content:'✓';background:#def3e5;color:#176b3a}
@media(max-width:700px){
  .staff-order-modal .staff-product-sheet{
    width:100%;
    max-width:none;
    height:96dvh;
    max-height:96dvh;
    min-height:0;
    border-radius:20px 20px 0 0;
  }
  .staff-product-header{padding:15px 14px 13px}
  .staff-product-header .tab{font-size:12px;padding:8px 10px}
  .staff-product-price-line>b{font-size:20px}
  .staff-product-scroll{padding:3px 13px 18px;scrollbar-gutter:auto}
  .staff-product-scroll .staff-option-group,
  .staff-product-scroll .staff-order-note{padding:12px;border-radius:14px}
  .staff-product-footer-main{grid-template-columns:1fr 1fr}
}
@media(max-width:470px){
  .staff-product-header-main .product-modal-description{display:none}
  .staff-product-price-line{gap:6px}
  .staff-product-price-line>span{font-size:10px;padding:4px 7px}
  .staff-product-footer-main{grid-template-columns:1fr}
  .staff-product-total{justify-content:space-between}
  .staff-product-total>div{justify-items:end}
}


/* v1.2.0-fix145: remove duplicate cart close control and keep one functional mobile drawer toggle */
.takeaway-order-cart-panel .staff-order-cart-panel-head{min-height:54px}
.takeaway-order-cart-panel .staff-order-cart-panel-head>div{width:100%;justify-content:space-between}
.takeaway-order-cart-panel .staff-order-cart-mobile-toggle strong{display:inline-flex;align-items:center;justify-content:center;min-width:96px}
@media(min-width:901px){
  .takeaway-order-cart-panel .staff-order-cart-mobile-toggle{display:none!important}
}

/* v1.2.0-fix146: clarify required fields in staff takeaway reception */
.takeaway-form-grid .field-badge{vertical-align:middle}
.takeaway-form-grid .is-invalid{scroll-margin-block:110px}

/* v1.2.0-fix147: reception-channel-aware takeaway phone requirement */
.takeaway-form-grid .takeaway-field-help{display:block;margin-top:6px;color:var(--muted);font-size:.75rem;font-weight:600;line-height:1.5}

/* v1.2.0-fix151 QR営業端末追加 */
.terminal-management-page{display:grid;gap:18px;padding-bottom:72px}.terminal-management-hero{display:flex;align-items:stretch;justify-content:space-between;gap:18px;padding:24px;border-radius:24px;background:linear-gradient(135deg,#152219,#233b2a);color:#fff;box-shadow:0 16px 34px rgba(22,34,25,.16)}.terminal-management-hero h1{margin:5px 0 8px;font-size:clamp(25px,4vw,38px)}.terminal-management-hero p{margin:0;color:rgba(255,255,255,.76);line-height:1.7}.terminal-management-metrics{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:10px;min-width:300px}.terminal-management-metrics article{display:flex;flex-direction:column;justify-content:center;padding:16px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:rgba(255,255,255,.08)}.terminal-management-metrics span,.terminal-management-metrics small{color:rgba(255,255,255,.68)}.terminal-management-metrics b{font-size:30px;line-height:1.15}.terminal-add-card{display:flex;align-items:center;justify-content:space-between;gap:20px}.terminal-add-card h2{margin:4px 0 7px}.terminal-add-card p{margin:0;color:var(--muted);line-height:1.65}.terminal-add-card .btn{min-width:200px;min-height:52px}.terminal-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:4px 2px 12px}.terminal-section-head h2{margin:3px 0 0}.terminal-section-head>b{padding:6px 10px;border-radius:999px;background:#edf6ef;color:#28643b}.terminal-device-list{display:grid;gap:10px}.terminal-device-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(36,50,40,.055)}.terminal-device-card.is-current{border-color:#8bc49a;box-shadow:0 0 0 3px rgba(70,145,88,.10)}.terminal-device-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#edf6ef;color:#2f7242}.terminal-device-icon .store-ui-icon{width:25px;height:25px}.terminal-device-title{display:flex;align-items:center;gap:8px;min-width:0}.terminal-device-title b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:17px}.terminal-device-title span{flex:none;padding:3px 7px;border-radius:999px;background:#2f7242;color:#fff;font-size:11px}.terminal-device-copy p{margin:3px 0 8px;color:var(--muted)}.terminal-device-copy dl{display:flex;flex-wrap:wrap;gap:7px 16px;margin:0}.terminal-device-copy dl div{display:flex;gap:5px;font-size:12px}.terminal-device-copy dt{color:var(--muted)}.terminal-device-copy dd{margin:0;font-weight:700}.terminal-device-logout{min-height:42px}.terminal-pairing-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;border-color:#8cc89a;background:linear-gradient(145deg,#fff,#f2faf4)}.terminal-pairing-copy h2{margin:4px 0 8px}.terminal-pairing-copy p{max-width:650px;color:var(--muted);line-height:1.7}.terminal-pairing-steps{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.terminal-pairing-steps span{display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#e7f3ea;font-size:12px;font-weight:700}.terminal-pairing-steps b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#2e7141;color:#fff}.terminal-qr-wrap{display:flex;flex-direction:column;align-items:center;min-width:230px}.terminal-qr-code{padding:10px;border:1px solid #d8e4da;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(29,63,37,.12)}.terminal-qr-code svg{display:block;width:min(220px,44vw);height:auto}.terminal-qr-wrap>b{margin-top:9px;font-variant-numeric:tabular-nums;font-size:24px}.terminal-qr-wrap small{color:var(--muted)}.terminal-approval-card{border:2px solid #e49a2e;background:linear-gradient(145deg,#fffaf1,#fff)}.terminal-approval-card.is-approved{border-color:#5ca872;background:linear-gradient(145deg,#f0faf3,#fff)}.terminal-approval-head{display:flex;align-items:center;gap:12px}.terminal-approval-head h2{margin:3px 0}.terminal-pulse{width:16px;height:16px;border-radius:50%;background:#ed9d2d;box-shadow:0 0 0 0 rgba(237,157,45,.45);animation:terminalPulse 1.4s infinite}.is-approved .terminal-pulse{background:#4e9f65}.terminal-approval-card>p{color:var(--muted);line-height:1.7}.terminal-confirm-code.source{display:flex;align-items:center;justify-content:center;gap:15px;width:min(330px,100%);margin:18px auto;padding:14px;border:1px dashed #d79431;border-radius:18px;background:#fff}.terminal-confirm-code.source small{font-weight:700;color:var(--muted)}.terminal-confirm-code.source b{font-size:38px;letter-spacing:.16em;font-variant-numeric:tabular-nums}.terminal-approval-actions{display:grid;grid-template-columns:1fr 2fr;gap:10px;max-width:520px;margin:0 auto}.terminal-approval-actions .btn{min-height:52px}.terminal-security-note span,.terminal-business-notice span{display:block;margin-top:3px}.terminal-connect-body{min-height:100vh;background:radial-gradient(circle at top,#eff8f1,#f7f8f6 48%,#eef1ed);color:#19231c}.terminal-connect-page{width:min(620px,calc(100% - 28px));margin:0 auto;padding:clamp(24px,7vw,58px) 0 48px}.terminal-connect-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:18px}.terminal-connect-brand img{width:42px;height:42px;object-fit:contain}.terminal-connect-brand div{display:flex;flex-direction:column}.terminal-connect-brand span{font-size:10px;letter-spacing:.18em;color:#5a6c60}.terminal-connect-brand b{font-size:17px}.terminal-connect-card{padding:clamp(20px,5vw,34px);border:1px solid #dce6de;border-radius:28px;background:#fff;box-shadow:0 20px 50px rgba(34,55,40,.12)}.terminal-connect-kicker{font-size:11px;font-weight:800;letter-spacing:.15em;color:#34734a}.terminal-connect-card h1{margin:8px 0 10px;font-size:clamp(25px,7vw,36px);line-height:1.25}.terminal-connect-card p{color:#637068;line-height:1.75}.terminal-connect-intro label{display:grid;gap:7px;margin:22px 0 14px}.terminal-connect-intro label span{font-size:13px;font-weight:800}.terminal-connect-intro .input{min-height:52px;font-size:16px}.terminal-connect-intro .btn{min-height:56px;font-size:16px}.terminal-connect-intro>small,.terminal-connect-wait>small{display:block;margin-top:13px;color:#768078;line-height:1.65}.terminal-confirm-code{display:flex;flex-direction:column;align-items:center;margin:22px 0;padding:18px;border-radius:20px;background:#f2f8f3;border:1px solid #cee0d2}.terminal-confirm-code small{font-weight:700;color:#647268}.terminal-confirm-code b{font-size:44px;letter-spacing:.18em;font-variant-numeric:tabular-nums}.terminal-connect-device{display:flex;justify-content:space-between;gap:12px;padding:13px 15px;border-radius:14px;background:#f5f6f4}.terminal-connect-device span{color:#68736b}.terminal-connect-progress{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:18px;padding:13px;border-radius:14px;background:#fff7e7;color:#80520f;font-weight:800}.terminal-connect-progress i,.terminal-connect-loading span{width:18px;height:18px;border:3px solid currentColor;border-right-color:transparent;border-radius:50%;animation:terminalSpin .8s linear infinite}.terminal-connect-result{text-align:center}.terminal-connect-result>span{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 16px;border-radius:50%;background:#e8f5eb;color:#2f7b45;font-size:34px;font-weight:900}.terminal-connect-result.danger>span{background:#fff0ee;color:#b43b2f}.terminal-connect-result .btn{margin-top:15px;min-height:52px}.terminal-connect-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:160px;color:#477255}.terminal-connect-security{margin:15px 12px 0;text-align:center;color:#647067;font-size:12px;line-height:1.7}@keyframes terminalPulse{70%{box-shadow:0 0 0 10px rgba(237,157,45,0)}100%{box-shadow:0 0 0 0 rgba(237,157,45,0)}}@keyframes terminalSpin{to{transform:rotate(360deg)}}
@media(max-width:720px){.terminal-management-hero{display:grid;padding:20px}.terminal-management-metrics{min-width:0}.terminal-add-card{align-items:stretch;flex-direction:column}.terminal-add-card .btn{width:100%}.terminal-pairing-card{grid-template-columns:1fr}.terminal-qr-wrap{min-width:0}.terminal-device-card{grid-template-columns:auto minmax(0,1fr)}.terminal-device-logout{grid-column:1/-1;width:100%}.terminal-device-copy dl{display:grid;grid-template-columns:1fr 1fr}.terminal-approval-actions{grid-template-columns:1fr}.terminal-management-page{gap:14px}.terminal-connect-page{width:min(100% - 20px,620px);padding-top:20px}.terminal-connect-card{border-radius:22px}.terminal-confirm-code b{font-size:38px}}

/* v1.2.0-fix154: 営業中の端末追加導線 */
.ops-terminal-button{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;border-color:#d7c7ad;background:#fffaf2;color:#342b20}
.ops-terminal-button:hover{border-color:#e07a19;background:#fff4e5}
.ops-terminal-button b{display:inline-flex;align-items:center;justify-content:center;min-width:40px;padding:3px 7px;border-radius:999px;background:#ff7a00;color:#fff;font-size:10px;line-height:1.2}
.ops-terminal-button.is-locked{border-color:#d8d4cd;background:#f3f1ed;color:#6d6860}
.ops-terminal-button.is-locked b{min-width:auto;background:#777168;color:#fff}
@media(max-width:650px){.ops-terminal-button{gap:5px;padding-left:8px!important;padding-right:8px!important}.ops-terminal-button span{font-size:0}.ops-terminal-button span::after{content:'端末';font-size:11px}.ops-terminal-button b{min-width:34px;padding:3px 5px}}

/* v1.2.0-fix159 headquarters home header */
.store-admin-body .headquarters-topbar .wrap{
  display:grid;
  grid-template-columns:185px minmax(220px,1fr) auto;
  column-gap:20px;
  row-gap:12px;
  align-items:center;
  min-height:0;
  padding-top:14px;
  padding-bottom:14px;
}
.store-admin-body .headquarters-topbar .wrap::before{
  grid-column:1;
  grid-row:1;
}
.headquarters-heading{
  grid-column:2;
  grid-row:1;
  display:grid;
  gap:2px;
  min-width:0;
}
.headquarters-heading .staff-order-kicker{
  margin:0;
  font-size:10px;
  line-height:1.2;
  letter-spacing:.16em;
}
.store-admin-body .headquarters-heading .brand{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:22px;
  line-height:1.2;
}
.store-admin-body .headquarters-heading .sub{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  line-height:1.45;
}
.headquarters-session-actions{
  grid-column:3;
  grid-row:1;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  min-width:max-content;
}
.headquarters-session-actions>*{
  min-height:40px;
  white-space:nowrap;
}
.headquarters-navigation{
  grid-column:1/-1;
  grid-row:2;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.12);
  scrollbar-width:thin;
}
.headquarters-navigation .btn{
  flex:0 0 auto;
  min-height:40px;
  white-space:nowrap;
}
@media(max-width:1040px){
  .store-admin-body .headquarters-topbar .wrap{
    grid-template-columns:155px minmax(180px,1fr) auto;
    column-gap:14px;
  }
}
@media(max-width:760px){
  .store-admin-body .headquarters-topbar .wrap{
    grid-template-columns:48px minmax(0,1fr);
    column-gap:10px;
    row-gap:9px;
  }
  .store-admin-body .headquarters-topbar .wrap::before{
    grid-column:1;
    grid-row:1;
  }
  .headquarters-heading{
    grid-column:2;
    grid-row:1;
  }
  .store-admin-body .headquarters-heading .brand{
    font-size:18px;
  }
  .store-admin-body .headquarters-heading .sub{
    font-size:10px;
  }
  .headquarters-session-actions{
    grid-column:1/-1;
    grid-row:2;
    width:100%;
    min-width:0;
  }
  .headquarters-session-actions>*{
    flex:1;
  }
  .headquarters-navigation{
    grid-column:1/-1;
    grid-row:3;
    margin-left:-2px;
    margin-right:-2px;
  }
}
@media(max-width:480px){
  .store-admin-body .headquarters-topbar .wrap{
    grid-template-columns:42px minmax(0,1fr);
  }
  .headquarters-session-actions .state-btn,
  .headquarters-session-actions .tab,
  .headquarters-navigation .btn{
    font-size:11px;
  }
}

/* v1.2.0-fix160: 本部配下ページの共通ヘッダー・ページ操作 */
.headquarters-navigation .headquarters-nav-button.is-active{
  border:1px solid #ff9838;
  background:#fff;
  color:#1a1a1a;
  box-shadow:inset 0 -3px 0 #ff7a00,0 5px 14px rgba(255,122,0,.16);
}

/* v1.2.0-fix161: 選択中の本部メニューはhover・focus・押下中も文字色を保持 */
.store-admin-body .topbar .headquarters-navigation .headquarters-nav-button.is-active,
.store-admin-body .topbar .headquarters-navigation .headquarters-nav-button.is-active:hover,
.store-admin-body .topbar .headquarters-navigation .headquarters-nav-button.is-active:focus-visible,
.store-admin-body .topbar .headquarters-navigation .headquarters-nav-button.is-active:active{
  border-color:#ff9838;
  background:#fff;
  color:#1a1a1a;
  box-shadow:inset 0 -3px 0 #ff7a00,0 5px 14px rgba(255,122,0,.16);
}
.headquarters-page-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:20px 0 14px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 5px 18px rgba(0,0,0,.035);
}
.headquarters-page-toolbar>span{
  flex:0 0 auto;
  color:var(--muted);
  font-size:.76rem;
  font-weight:900;
  white-space:nowrap;
}
.headquarters-page-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:8px;
  min-width:0;
}
.headquarters-page-actions>*{
  flex:0 0 auto;
  min-height:40px;
  white-space:nowrap;
}
.headquarters-page-actions .compact-select{
  width:auto;
  min-width:180px;
  padding-top:9px;
  padding-bottom:9px;
}
@media(max-width:760px){
  .headquarters-page-toolbar{
    align-items:stretch;
    flex-direction:column;
    margin-top:14px;
  }
  .headquarters-page-toolbar>span{
    white-space:normal;
  }
  .headquarters-page-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    justify-content:stretch;
  }
  .headquarters-page-actions>*{
    width:100%;
    min-width:0;
    text-align:center;
  }
  .headquarters-page-actions .compact-select{
    grid-column:1/-1;
    width:100%;
    min-width:0;
  }
}
@media(max-width:480px){
  .headquarters-page-actions{
    grid-template-columns:1fr;
  }
  .headquarters-page-actions .compact-select{
    grid-column:auto;
  }
}

/* v1.2.0-fix162: 店舗設定コピーのスマートフォン操作ボタン */
@media(max-width:760px){
  .company-settings-compose-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    width:100%;
  }
  .company-settings-compose-actions .btn{
    width:100%;
    min-width:0;
  }
  .company-settings-compose-actions .btn:last-child{
    grid-column:1/-1;
  }
}

/* v1.2.0-fix163: 店舗駐車場設定・営業画面・お客様QR */
.parking-settings{max-width:980px}
.parking-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.parking-type-option{position:relative;display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;padding:16px;border:2px solid #e2e3e1;border-radius:16px;background:#fff;cursor:pointer;transition:.15s ease}
.parking-type-option:hover,.parking-type-option.selected{border-color:#ff7200;background:#fff9f3;box-shadow:0 8px 22px rgba(128,66,16,.09)}
.parking-type-option input{margin-top:4px;accent-color:#ff7200}.parking-type-option span{display:grid;gap:5px}.parking-type-option b{font-size:15px}.parking-type-option small{color:#66706b;line-height:1.55}
.parking-type-notice{display:flex;gap:10px;align-items:center;padding:13px 15px;border-radius:13px;background:#f3f5f4}.parking-type-notice b{white-space:nowrap}.parking-type-notice span{color:#61706a;font-size:13px}
.parking-managed-fields{display:grid;gap:16px}.parking-setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.parking-setting-grid label,.parking-description-fields label{display:grid;gap:7px}.parking-setting-grid small,.parking-description-fields small{color:#68726e;line-height:1.5}
.parking-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.parking-photo-card{overflow:hidden;border:1px solid #dedfdd;border-radius:14px;background:#fff}.parking-photo-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.parking-photo-card footer{display:flex;justify-content:space-between;align-items:center;padding:9px 10px}.parking-photo-picker{display:grid;place-items:center;min-height:150px;border:2px dashed #cfd2cf;border-radius:14px;background:#fafbfa;cursor:pointer;text-align:center}.parking-photo-picker input{display:none}.parking-photo-picker span{font-weight:900}.parking-photo-picker small{color:#6b746f}
.ops-parking-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:13px;padding:12px 14px;border:1px solid #bee0c9;border-radius:15px;background:linear-gradient(135deg,#f2fff6,#fff);box-shadow:0 7px 20px rgba(26,91,52,.07)}
.ops-parking-card.is-few{border-color:#efd49d;background:linear-gradient(135deg,#fffaf0,#fff)}.ops-parking-card.is-full{border-color:#efb4ae;background:linear-gradient(135deg,#fff5f4,#fff)}
.ops-parking-card-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#17683f;color:#fff;font-size:23px;font-weight:1000}.ops-parking-card.is-few .ops-parking-card-icon{background:#a66a00}.ops-parking-card.is-full .ops-parking-card-icon{background:#ad3029}
.ops-parking-card-copy{display:grid;min-width:0}.ops-parking-card-copy>span{color:#5c6d64;font-size:10px;font-weight:900;letter-spacing:.08em}.ops-parking-card-copy>b{font-size:17px}.ops-parking-card-copy>small{color:#657069}.ops-parking-card-free{display:grid;justify-items:end}.ops-parking-card-free>span{font-size:10px;color:#64716a;font-weight:800}.ops-parking-card-free strong{font-size:25px;line-height:1}.ops-parking-card-free small{font-size:12px;margin-left:3px}.ops-parking-manage{min-height:42px;padding:0 14px;border:0;border-radius:11px;background:#111;color:#fff;font-weight:900;cursor:pointer}
.parking-manager-sheet{width:min(860px,calc(100vw - 24px));max-height:calc(100vh - 30px);overflow:auto}.parking-manager-heading{align-items:flex-start}.parking-manager-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px;border-radius:16px;background:#effaf3;border:1px solid #bbdfc8}.parking-manager-summary.is-few{background:#fff9ed;border-color:#efd39b}.parking-manager-summary.is-full{background:#fff3f2;border-color:#efb0ab}.parking-manager-summary>div{display:grid}.parking-manager-summary>div span{font-size:11px;color:#627069;font-weight:900}.parking-manager-summary>div b{font-size:22px}.parking-manager-summary>div small{color:#66716c}.parking-manager-summary>strong{display:flex;align-items:baseline;gap:4px;font-size:36px}.parking-manager-summary>strong span{font-size:12px}.parking-manager-summary>strong small{font-size:13px}.parking-manager-tools{display:flex;align-items:center;gap:12px;margin:14px 0}.parking-manager-tools>span{color:#68716d;font-size:12px}.parking-manager-list{display:grid;gap:8px;margin-top:16px}.parking-manager-list h3{margin:0;font-size:15px}.parking-manager-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:13px;border:1px solid #e0e2df;border-radius:13px;background:#fff}.parking-manager-row-main{display:flex;gap:12px;align-items:center;min-width:0}.parking-manager-number{flex:0 0 auto;padding:6px 8px;border-radius:8px;background:#edf1ef;font-size:11px;font-weight:900}.parking-manager-row-main>div{display:grid;min-width:0}.parking-manager-row-main small{color:#6a746f}.parking-manager-row>strong{font-size:22px}.parking-manager-row>strong small{font-size:11px;margin-left:2px}.parking-manager-actions{display:flex;gap:6px}.parking-manager-static{color:#707873;font-size:11px}.parking-manager-empty{padding:18px;border-radius:12px;background:#f6f7f6;color:#6a736e;text-align:center}
.customer-parking-page{min-height:100dvh;display:grid;place-items:center;padding-top:22px;padding-bottom:22px}.customer-parking-card{width:min(560px,100%);padding:28px;text-align:center}.customer-parking-mark{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 12px;border-radius:20px;background:#17683f;color:#fff;font-size:39px;font-weight:1000;box-shadow:0 12px 30px rgba(23,104,63,.2)}.customer-parking-kicker{color:#17683f;font-size:11px;font-weight:1000;letter-spacing:.12em}.customer-parking-card h1{margin:7px 0 10px;font-size:28px;line-height:1.35}.customer-parking-card>p{margin:0 auto 20px;max-width:430px;color:#617069;line-height:1.7}.customer-parking-choice,.customer-parking-count{display:grid;gap:10px}.customer-parking-count h2{margin:4px 0 6px;font-size:19px}.customer-parking-count-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.customer-parking-count-grid button{display:grid;place-items:center;min-height:68px;border:2px solid #d9ddda;border-radius:13px;background:#fff;cursor:pointer}.customer-parking-count-grid button:hover,.customer-parking-count-grid button.active{border-color:#ff7200;background:#fff8f1}.customer-parking-count-grid b{font-size:25px}.customer-parking-count-grid span{font-size:11px}.customer-parking-count-other{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;text-align:left}.customer-parking-back{margin-top:16px;border:0;background:none;color:#4f6258;text-decoration:underline;cursor:pointer}.customer-parking-disclaimer{display:block;margin-top:17px;color:#7a837e;line-height:1.55}.customer-parking-status{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;margin-bottom:12px;padding:11px 13px;border:1px solid #c8dfd0;border-radius:13px;background:#f4fbf6}.customer-parking-status.is-unused{border-color:#dfe2df;background:#f7f8f7}.customer-parking-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#17683f;color:#fff;font-weight:1000}.customer-parking-status>div{display:grid}.customer-parking-status small{color:#65716a}.customer-parking-status button{border:0;background:transparent;color:#17683f;font-weight:900;text-decoration:underline;cursor:pointer}.customer-parking-checkout-card{display:grid;gap:12px;margin-top:14px;padding:16px;border:1px solid #b9d9c4;border-radius:15px;background:#f3fbf6;text-align:left}.customer-parking-checkout-heading{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:11px}.customer-parking-checkout-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#17683f;color:#fff;font-size:21px;font-weight:1000}.customer-parking-checkout-heading>div{display:grid;gap:2px}.customer-parking-checkout-heading small{color:#17683f;font-size:10px;font-weight:1000;letter-spacing:.08em}.customer-parking-checkout-heading b{font-size:16px}.customer-parking-checkout-card>p{margin:0;color:#4f5f56;line-height:1.6}.customer-parking-release-button{background:#17683f;border-color:#17683f}.customer-parking-release-button:hover,.customer-parking-release-button:focus-visible{background:#105732;border-color:#105732}.customer-parking-checkout-auto{display:block;color:#66746c;line-height:1.55}.customer-parking-release-button:disabled{opacity:.55;cursor:wait}@media(max-width:560px){.customer-parking-checkout-card{padding:14px}.customer-parking-checkout-heading b{font-size:15px}}
@media(max-width:760px){.parking-type-grid,.parking-setting-grid{grid-template-columns:1fr}.parking-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-parking-card{grid-template-columns:auto minmax(0,1fr) auto}.ops-parking-manage{grid-column:1/-1;width:100%}.parking-manager-row{grid-template-columns:minmax(0,1fr) auto}.parking-manager-actions,.parking-manager-row>.state-btn,.parking-manager-static{grid-column:1/-1;width:100%}.parking-manager-actions .state-btn{flex:1}.parking-manager-tools{align-items:stretch;flex-direction:column}.customer-parking-card{padding:22px 17px}.customer-parking-card h1{font-size:24px}.customer-parking-count-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:420px){.parking-photo-grid{grid-template-columns:1fr}.customer-parking-count-grid{grid-template-columns:repeat(2,1fr)}.customer-parking-status{grid-template-columns:auto 1fr}.customer-parking-status button{grid-column:1/-1;text-align:right}}

/* v1.2.0-fix166: 駐車場設定画面の情報設計・画像登録UI刷新 */
.parking-settings{max-width:980px;gap:18px;padding:22px}
.parking-settings-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:4px}
.parking-settings-heading h2{margin:3px 0 6px;font-size:24px}
.parking-current-type{flex:0 0 auto;margin-top:4px}
.parking-section{display:grid;gap:16px;padding:20px;border:1px solid #e4e0d8;border-radius:17px;background:#fbfaf7}
.parking-section-heading{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;align-items:start}
.parking-section-heading>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#111;color:#fff;font-size:14px;font-weight:1000}
.parking-section-heading h3{margin:0 0 3px;font-size:18px}
.parking-section-heading p{margin:0;color:#6d706c;font-size:12px;line-height:1.65}
.parking-type-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;border:0;min-width:0}
.parking-type-option{position:relative;display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:11px;align-items:center;min-height:92px;padding:15px;border:2px solid #e0ded8;border-radius:15px;background:#fff;cursor:pointer;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease}
.parking-type-option:hover{border-color:#e5a76e;transform:translateY(-1px)}
.parking-type-option.selected{border-color:#ff7900;background:#fff8f1;box-shadow:0 7px 20px rgba(174,91,24,.09)}
.parking-type-option input{width:18px;height:18px;margin:0;accent-color:#ff7900}
.parking-type-option>span:last-child{display:grid;gap:4px;min-width:0}
.parking-type-option b{font-size:14px;line-height:1.45}
.parking-type-option small{color:#69716d;font-size:11px;line-height:1.55}
.parking-type-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#f0efeb;color:#4a4d49;font-size:12px;font-weight:1000}
.parking-type-option.selected .parking-type-icon{background:#ff7900;color:#fff}
.parking-type-notice{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 12px;align-items:center;margin:0;padding:13px 15px;border:1px solid #e5e4df;border-radius:12px;background:#fff}
.parking-type-notice b{white-space:nowrap;font-size:13px}.parking-type-notice span{color:#66716b;font-size:12px;line-height:1.55}
.parking-managed-fields[hidden]{display:none!important}
.parking-number-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.parking-setting-field{display:grid;align-content:start;gap:7px;padding:14px;border:1px solid #e3e1db;border-radius:13px;background:#fff}
.parking-setting-field>span{font-size:13px;font-weight:900}
.parking-setting-field>small{color:#6d756f;font-size:11px;line-height:1.6}
.parking-unit-input{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.parking-unit-input .input{border:0;border-radius:0;box-shadow:none}
.parking-unit-input b{padding:0 14px;color:#555e59;font-size:13px}
.parking-display-field{padding:15px}
.parking-guide-settings{background:#fff}
.parking-guide-fields{display:grid;gap:12px}
.parking-guide-fields textarea{resize:vertical;min-height:128px;line-height:1.7}
.parking-setting-field em{display:inline-block;margin-left:5px;padding:2px 6px;border-radius:999px;background:#f0efeb;color:#70736f;font-size:10px;font-style:normal}
.parking-photo-panel{display:grid;gap:13px;padding:16px;border:1px solid #dedbd3;border-radius:15px;background:#f8f7f3}
.parking-photo-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.parking-photo-heading h4{margin:0 0 3px;font-size:15px}
.parking-photo-heading p{margin:0;color:#6b726d;font-size:11px;line-height:1.6}
.parking-photo-count{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#fff;border:1px solid #ddd9d1;color:#505650;font-size:11px;font-weight:900}
.parking-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.parking-photo-card,.parking-photo-upload{min-height:184px;border-radius:14px;background:#fff}
.parking-photo-card{overflow:hidden;border:1px solid #dedbd4;box-shadow:0 3px 12px rgba(43,37,29,.04)}
.parking-photo-preview{position:relative}.parking-photo-preview img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.parking-photo-preview>span{position:absolute;top:8px;left:8px;display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:rgba(17,17,17,.82);color:#fff;font-size:11px;font-weight:1000}
.parking-photo-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 11px}.parking-photo-card footer>div{display:grid;min-width:0}.parking-photo-card footer small{color:#777d78;font-size:9px}.parking-photo-card footer b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.parking-photo-delete{flex:0 0 auto;border:1px solid #efc7c3;border-radius:9px;background:#fff;color:#a62d25;padding:7px 9px;font-size:10px;font-weight:900;cursor:pointer}
.parking-photo-delete:hover{background:#fff3f2}
.parking-photo-upload{display:grid;place-items:center;align-content:center;gap:7px;padding:18px;border:2px dashed #c8c5bd;cursor:pointer;text-align:center;transition:border-color .15s ease,background .15s ease,transform .15s ease}
.parking-photo-upload:hover{border-color:#ff7900;background:#fff8f1;transform:translateY(-1px)}
.parking-photo-upload-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#ff7900;color:#fff;font-size:28px;font-weight:500;line-height:1;box-shadow:0 8px 18px rgba(255,121,0,.19)}
.parking-photo-upload b{font-size:13px}.parking-photo-upload small{color:#6f7671;font-size:10px;line-height:1.55}
.parking-photo-upload.is-full{border-style:solid;background:#f0efeb;cursor:default;transform:none}.parking-photo-upload.is-full .parking-photo-upload-icon{background:#a7aaa6;box-shadow:none}.parking-photo-upload.is-full:hover{border-color:#c8c5bd;background:#f0efeb}
.parking-settings .autosave-status{position:static;margin:0;padding:9px 11px;font-size:11px}
.parking-photo-status{background:#ecebe7!important;color:#666d68!important;font-weight:700!important}
.parking-save-footer{display:grid;gap:8px;padding-top:2px}.parking-save-footer .btn{min-height:50px}
@media(max-width:820px){.parking-type-options{grid-template-columns:1fr}.parking-type-option{min-height:76px}.parking-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.parking-settings{padding:17px;gap:14px}.parking-settings-heading{display:grid}.parking-current-type{justify-self:start}.parking-section{padding:15px}.parking-number-grid{grid-template-columns:1fr}.parking-photo-heading{display:grid;gap:8px}.parking-photo-count{justify-self:start}.parking-photo-grid{grid-template-columns:1fr}.parking-photo-card,.parking-photo-upload{min-height:0}.parking-photo-upload{min-height:150px}.parking-type-notice{grid-template-columns:1fr}.parking-type-notice b{white-space:normal}}
.parking-settings .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}


/* v1.2.0-fix176 お客様スマートフォン画面の文字サイズ・改行最適化 */
.customer-survey-thanks-prefix{display:inline}
@media(max-width:600px){
  .customer-survey-invitation{padding:28px 18px}
  .customer-survey-card h2{font-size:clamp(21px,6.2vw,27px);line-height:1.35;letter-spacing:-.02em}
  .customer-survey-card h2>span:last-child{white-space:nowrap}
  .customer-survey-thanks-prefix{display:block}
  .customer-survey-card p{font-size:16px;line-height:1.75}
  .customer-survey-eyebrow{min-height:32px;padding:6px 12px;font-size:13px}
  .customer-survey-anonymous-note{font-size:14px;line-height:1.55}
  .customer-survey-anonymous-note b{font-size:15px}

  .customer-cart-sheet-head{gap:10px;padding:18px 16px 16px}
  .customer-cart-sheet-head>div{gap:5px}
  .customer-cart-kicker{font-size:13px;line-height:1.4}
  .customer-cart-sheet-head h2{font-size:30px;line-height:1.25}
  .customer-cart-sheet-head p{font-size:16px;line-height:1.5}
  .customer-cart-close{min-width:92px;min-height:48px;padding:10px 14px;font-size:16px}
  .customer-cart-item-title>b{font-size:20px}
  .customer-cart-item-head>strong{font-size:22px}
  .customer-cart-actions button{min-height:42px;padding:9px 12px;font-size:14px}
  .customer-cart-quantity>span{font-size:13px}
  .customer-cart-quantity .cart-qty button{width:42px;height:42px;font-size:23px}
  .customer-cart-quantity .cart-qty b{font-size:18px}
  .customer-cart-allergy-head b{font-size:17px}
  .customer-cart-allergy-head small{font-size:11px}
  .customer-cart-allergy p{font-size:14px;line-height:1.65}
  .customer-cart-allergy textarea{font-size:16px;line-height:1.6}
  .customer-cart-allergy-disclaimer{font-size:12px;line-height:1.55}
  .customer-cart-total>span,.customer-cart-total small{font-size:13px}
  .customer-cart-total strong{font-size:28px}
  .customer-cart-submit{min-height:56px;font-size:17px}

  .customer-history-page{padding-top:20px}
  .customer-history-head{gap:12px;margin-bottom:18px}
  .customer-history-head>div:first-child{gap:4px}
  .customer-history-kicker{font-size:13px;line-height:1.4}
  .customer-history-head h1{font-size:34px;line-height:1.2}
  .customer-history-head p{font-size:16px;line-height:1.55}
  .customer-history-refresh{gap:7px}
  .customer-history-refresh>span{font-size:13px}
  .customer-history-refresh button{min-width:82px;min-height:46px;padding:10px 15px;font-size:16px}
  .customer-history-summary>div>span{font-size:13px}
  .customer-history-summary>div>b{font-size:25px}
  .customer-history-summary>div>b small{font-size:12px}
  .customer-history-summary>.total>b{font-size:29px}
  .customer-order-number{font-size:18px}
  .customer-order-card-head small{font-size:13px}
  .customer-order-card-head>strong{font-size:22px}
  .customer-order-item-title b{font-size:19px}
  .customer-order-item-title span{font-size:15px}
  .customer-order-item-title>strong{font-size:18px}
  .customer-history-options small{font-size:12px}
  .customer-history-options b{font-size:14px}
  .customer-order-item .service-plan-history-label{font-size:12px}
  .customer-order-item .item-special-request{font-size:13px}
  .customer-order-item-status>span:last-child{font-size:13px;line-height:1.45}
  .customer-item-status{min-height:30px;padding:6px 10px;font-size:13px}
  .customer-order-card .history-allergy-note,.customer-order-card .history-group-request{font-size:14px}
}
@media(max-width:430px){
  .customer-history-head p{max-width:none}
  .customer-history-refresh>span{display:none}
  .customer-history-summary{grid-template-columns:82px 82px minmax(0,1fr)}
  .customer-history-summary>div{min-height:64px;padding:8px 5px}
  .customer-history-summary>.total>b{font-size:27px}
}
@media(max-width:370px){
  .customer-cart-sheet-head h2{font-size:27px}
  .customer-cart-sheet-head p{font-size:15px}
  .customer-cart-close{min-width:82px;padding-inline:12px}
  .customer-history-head h1{font-size:31px}
  .customer-history-head p{font-size:15px}
  .customer-history-summary{grid-template-columns:1fr 1fr}
  .customer-history-summary>.total{grid-column:1/-1;justify-items:center}
  .customer-history-summary>.total>span{justify-self:center}
}


/* v1.2.0-fix177 注文履歴の状態案内をスマートフォンで拡大 */
@media(max-width:600px){
  .customer-order-status-summary>span:last-child{font-size:16px;line-height:1.55;font-weight:800;color:#5f5a53}
  .customer-order-status-state>small{font-size:15px;line-height:1.55;font-weight:800;color:#5f5a53}
}
@media(max-width:430px){
  .customer-order-status-summary{align-items:center}
  .customer-order-status-summary>span:last-child{padding-top:0}
}

/* v1.2.0-fix184 お客様QRメニューの商品画像拡大表示 */
.customer-product-image-button{
  position:relative;
  display:grid;
  place-items:center;
  width:100%;
  padding:0;
  border:0;
  border-radius:14px;
  overflow:hidden;
  background:transparent;
  cursor:zoom-in;
  -webkit-tap-highlight-color:transparent;
}
.customer-product-image-button:focus-visible{
  outline:3px solid #ff7900;
  outline-offset:3px;
}
.customer-product-image-button .customer-thumb{
  transition:transform .16s ease,box-shadow .16s ease;
}
/* v1.2.0-fix185 画像拡大可能であることを示す虫眼鏡アイコン */
.customer-product-image-zoom-hint{
  position:absolute;
  right:6px;
  bottom:6px;
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border:1px solid rgba(255,255,255,.78);
  border-radius:999px;
  background:rgba(17,21,19,.76);
  color:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.28);
  pointer-events:none;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  transition:background .16s ease,transform .16s ease;
}
.customer-product-image-zoom-hint svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
@media(hover:hover){
  .customer-product-image-button:hover .customer-thumb{
    transform:scale(1.03);
    box-shadow:0 8px 20px rgba(0,0,0,.16);
  }
  .customer-product-image-button:hover .customer-product-image-zoom-hint{
    background:#ff7900;
    transform:scale(1.06);
  }
}
.customer-product-lightbox-open{overflow:hidden;touch-action:none}
.customer-product-lightbox{
  position:fixed;
  inset:0;
  z-index:20000;
  display:grid;
  place-items:center;
  box-sizing:border-box;
  padding:max(30px,env(safe-area-inset-top)) max(30px,env(safe-area-inset-right)) max(30px,env(safe-area-inset-bottom)) max(30px,env(safe-area-inset-left));
  background:rgba(8,10,9,.86);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  cursor:zoom-out;
}
.customer-product-lightbox-frame{
  position:relative;
  display:grid;
  place-items:center;
  gap:12px;
  max-width:100%;
  max-height:100%;
}
.customer-product-lightbox-image-button{
  display:grid;
  place-items:center;
  max-width:100%;
  max-height:calc(100dvh - 150px);
  padding:0;
  border:0;
  border-radius:16px;
  background:transparent;
  cursor:zoom-out;
  -webkit-tap-highlight-color:transparent;
}
.customer-product-lightbox-image-button img{
  display:block;
  max-width:min(1200px,calc(100vw - 60px));
  max-height:calc(100dvh - 150px);
  width:auto;
  height:auto;
  object-fit:contain;
  image-orientation:from-image;
  border-radius:16px;
  box-shadow:0 24px 80px rgba(0,0,0,.5);
}
.customer-product-lightbox-close{
  position:fixed;
  top:max(14px,env(safe-area-inset-top));
  right:max(14px,env(safe-area-inset-right));
  z-index:2;
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  padding:0;
  border:1px solid rgba(255,255,255,.55);
  border-radius:999px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:31px;
  line-height:1;
  cursor:pointer;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.customer-product-lightbox-close:focus-visible{
  outline:3px solid #ff7900;
  outline-offset:3px;
}
.customer-product-lightbox-caption{
  display:grid;
  justify-items:center;
  gap:2px;
  max-width:min(680px,calc(100vw - 60px));
  color:#fff;
  text-align:center;
  pointer-events:none;
}
.customer-product-lightbox-caption b{
  overflow:hidden;
  max-width:100%;
  font-size:15px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.customer-product-lightbox-caption span{color:rgba(255,255,255,.76);font-size:12px}
@media(max-width:520px){
  .customer-product-image-zoom-hint{right:5px;bottom:5px;width:27px;height:27px}
  .customer-product-image-zoom-hint svg{width:16px;height:16px}
}
@media(max-width:600px){
  .customer-product-lightbox{
    padding:max(64px,calc(env(safe-area-inset-top) + 46px)) max(18px,env(safe-area-inset-right)) max(28px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));
  }
  .customer-product-lightbox-image-button,
  .customer-product-lightbox-image-button img{max-height:calc(100dvh - 170px)}
  .customer-product-lightbox-image-button img{max-width:calc(100vw - 36px);border-radius:14px}
  .customer-product-lightbox-caption{max-width:calc(100vw - 36px)}
}

/* fix188: 基本・共通カテゴリと店舗限定商品を迷わず同じ分類へ追加 */
.menu-category-unified-guide{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;border:1px solid #b9dfd0;background:#f2fbf7;border-radius:14px;color:#183d31;margin:0 0 14px}
.menu-category-unified-guide::before{content:'✓';display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:50%;background:#18845e;color:#fff;font-weight:900}
.menu-category-unified-guide b{display:block;font-size:14px;line-height:1.45;margin-bottom:3px}
.menu-category-unified-guide span{display:block;font-size:13px;line-height:1.65;color:#46655a}
.menu-category-unified-guide.category-page-guide{margin-top:12px}
@media(max-width:640px){.menu-category-unified-guide{padding:13px 14px;border-radius:12px}.menu-category-unified-guide b{font-size:13px}.menu-category-unified-guide span{font-size:12px}}


/* v1.2.0-fix189 operations management home link */
.ops-management-home-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--ink);font-weight:900;text-decoration:none}
.ops-management-home-link svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ops-management-home-link b{font-size:11px;line-height:1;color:#68645e}
.ops-management-home-link:hover,.ops-management-home-link:focus-visible{border-color:#aaa59b;background:#faf9f6}
@media(max-width:760px){.ops-management-home-link{min-height:36px;padding:8px 10px;font-size:11px}.ops-management-home-link svg{width:15px;height:15px}.ops-management-home-link b{font-size:10px}}
@media(max-width:390px){.ops-topbar .top-actions{gap:4px}.ops-management-home-link{padding-inline:9px}}

/* v1.2.0-fix190 unified menu management */
.unified-menu-topbar .wrap{align-items:center}
.unified-menu-heading{min-width:0}
.unified-menu-heading .brand{font-size:24px;font-weight:950;letter-spacing:.01em}
.unified-menu-heading .sub{margin-top:3px;color:#cbc7c0;font-size:12px}
.unified-menu-page{padding-top:26px;padding-bottom:56px}
.unified-menu-scope{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px;padding:16px 18px;border:1px solid #ded9cf;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(37,31,22,.06)}
.unified-menu-scope>div:first-child{display:grid;gap:3px;min-width:0}
.unified-menu-scope>div:first-child>span{font-size:11px;font-weight:900;letter-spacing:.08em;color:#8a8378}
.unified-menu-scope>div:first-child>b{font-size:19px;color:#171512}
.unified-menu-scope>div:first-child>small{color:#726c62;line-height:1.55}
.unified-menu-scope-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.unified-menu-scope-actions .state-btn.active{border-color:#ff7900;background:#fff4e8;color:#b64f00;box-shadow:inset 0 0 0 1px #ff7900}
.unified-menu-auto-note,.unified-menu-editor-scope{display:flex;align-items:flex-start;gap:10px;margin:14px 0 22px;padding:13px 15px;border:1px solid #b9dfd0;border-radius:14px;background:#f2fbf7;color:#183d31}
.unified-menu-auto-note::before,.unified-menu-editor-scope::before{content:'✓';display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:#18845e;color:#fff;font-weight:950}
.unified-menu-auto-note b,.unified-menu-editor-scope b{display:block;font-size:13px;line-height:1.45}
.unified-menu-auto-note span,.unified-menu-editor-scope span{display:block;margin-top:2px;color:#49675d;font-size:12px;line-height:1.6}
.unified-menu-editor-scope{margin-top:4px;margin-bottom:18px}
.unified-menu-page .menu-section-tabs{margin-top:0}
.unified-menu-page .company-menu-section-head{margin-top:22px}
.unified-menu-page .company-menu-card-foot{align-items:center}
@media(max-width:760px){
  .unified-menu-heading .brand{font-size:20px}
  .unified-menu-heading .sub{max-width:220px;line-height:1.45}
  .unified-menu-page{padding-top:18px}
  .unified-menu-scope{align-items:stretch;flex-direction:column;padding:14px;border-radius:14px}
  .unified-menu-scope-actions{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}
  .unified-menu-scope-actions .state-btn{flex:0 0 auto;white-space:nowrap}
  .unified-menu-auto-note,.unified-menu-editor-scope{padding:12px 13px}
}
/* v1.2.0-fix194 partner monthly closing and payouts */
.partnership-partner-stats.fix194{grid-template-columns:repeat(3,minmax(0,1fr))}.partnership-partner-stats .small-value{font-size:13px;line-height:1.45}.partnership-payout-list{display:grid;gap:14px}.partnership-payout-card{border:1px solid var(--line,#e5ded7);border-radius:18px;padding:18px;background:#fff}.partnership-payout-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.partnership-payout-head h3{margin:8px 0 4px}.partnership-payout-head strong{font-size:28px}.partnership-payout-breakdown{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0}.partnership-payout-breakdown span{background:#f6f3ef;border-radius:999px;padding:7px 11px;font-size:12px}.partnership-payout-destination{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px;border:1px solid #ebe4dd;border-radius:14px}.partnership-payout-destination span,.partnership-payout-destination small{display:block;color:#756b62;font-size:11px}.partnership-payout-destination b{display:block;margin:4px 0;font-size:13px}.partnership-paid-record{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px;padding:11px 13px;background:#eaf8f0;border-radius:12px;color:#176b43}.partnership-paid-record small{width:100%}.partnership-closing-list{display:grid;gap:8px}.partnership-closing-list article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;border:1px solid #ebe4dd;border-radius:13px;padding:12px 14px}.partnership-closing-list small{display:block;color:#756b62;margin-top:3px}.platform-checkbox-field{display:flex!important;align-items:flex-start!important;gap:10px!important;padding:12px;border:1px solid #e6dfd8;border-radius:13px}.platform-checkbox-field input{width:20px;height:20px;flex:0 0 auto}.platform-panel-head.compact{margin-bottom:12px}.fix194-partner-edit{max-width:980px}.application-header-actions{display:flex;gap:8px}.partnership-admin-tabs button i{font-style:normal}
@media(max-width:800px){.partnership-partner-stats.fix194{grid-template-columns:repeat(2,minmax(0,1fr))}.partnership-payout-destination{grid-template-columns:1fr}.partnership-closing-list article{grid-template-columns:1fr auto}.partnership-closing-list article .pill{grid-column:1/-1;justify-self:start}.partnership-payout-head{flex-direction:column}.application-header-actions{flex-wrap:wrap;justify-content:flex-end}}

/* v1.2.0-fix195 ミセマル専用サポート・お問い合わせフォーム（SMTP・迷惑送信対策強化） */
.support-page-body{background:linear-gradient(180deg,#f8f7f3 0,#f1efe8 100%)}
.support-main{padding-block:42px 76px}
.support-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:24px;align-items:stretch;margin-bottom:22px}
.support-hero>div{padding:34px 8px 24px 0}
.support-hero h1{margin:8px 0 16px;font-size:clamp(34px,5.5vw,58px);line-height:1.08;letter-spacing:-.035em}
.support-hero p{max-width:680px;margin:0;color:#68645d;font-size:15px;line-height:1.9}
.support-hero aside{display:grid;align-content:center;gap:12px;padding:24px;border:1px solid #ddd7cc;border-radius:22px;background:#171614;color:#fff;box-shadow:0 18px 42px rgba(25,20,12,.12)}
.support-hero aside>b{font-size:16px}
.support-hero aside ul{display:grid;gap:9px;margin:0;padding:0;list-style:none}
.support-hero aside li{position:relative;padding-left:21px;color:#d9d5ce;font-size:12px;line-height:1.7}
.support-hero aside li::before{content:'✓';position:absolute;left:0;top:0;color:#ff8a1c;font-weight:950}
.support-form-card{padding:30px;border:1px solid #dcd7cc;border-radius:24px;background:#fff;box-shadow:0 16px 44px rgba(31,25,16,.07)}
.support-form-card form{display:grid;gap:18px}
.support-section-head{display:flex;align-items:flex-start;gap:13px;margin-top:12px;padding-top:24px;border-top:1px solid #ece8df}
.support-section-head:first-of-type{margin-top:0;padding-top:0;border-top:0}
.support-section-head>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:#151412;color:#fff;font-weight:950}
.support-section-head h2{margin:1px 0 4px;font-size:21px}
.support-section-head p{margin:0;color:#79736a;font-size:12px;line-height:1.6}
.support-contact-methods{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.support-contact-card{position:relative;display:grid;align-content:start;gap:8px;min-height:142px;padding:22px;border:1px solid #d9d5cd;border-radius:18px;background:#fff;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}
.support-contact-card input{position:absolute;opacity:0;pointer-events:none}
.support-contact-card .support-contact-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f1efe9;color:#171512;font-size:18px}
.support-contact-card b{font-size:18px}
.support-contact-card small{color:#6e6962;font-size:12px;line-height:1.65}
.support-contact-card.is-selected{border-color:#151412;background:#151412;color:#fff;box-shadow:0 12px 26px rgba(0,0,0,.13);transform:translateY(-1px)}
.support-contact-card.is-selected .support-contact-icon{background:#ff7900;color:#fff}
.support-contact-card.is-selected small{color:#d9d5cf}
.support-contact-card:focus-within{outline:3px solid rgba(255,121,0,.32);outline-offset:3px}
.support-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.support-form-grid label{display:grid;align-content:start;gap:7px}
.support-form-grid label>span,.support-callback-fieldset legend{font-size:12px;font-weight:900}
.support-form-grid label>span>b,.support-callback-fieldset legend>b{display:inline-block;margin-left:4px;padding:2px 6px;border-radius:5px;background:#171512;color:#fff;font-size:9px;vertical-align:1px}
.support-form-grid label>span>small{margin-left:5px;color:#817b71;font-size:10px;font-weight:800}
.support-form-grid label>small{color:#777168;font-size:10px;line-height:1.6}
.support-wide{grid-column:1/-1}
.support-conditional-fields[hidden],.support-scheduled-fields[hidden]{display:none!important}
.support-callback-fieldset{display:grid;gap:10px;margin:0;padding:15px;border:1px solid #ddd8ce;border-radius:15px;background:#faf9f6}
.support-callback-fieldset legend{padding:0 7px}
.support-callback-options{display:flex;gap:8px;flex-wrap:wrap}
.support-callback-options label{position:relative;cursor:pointer}
.support-callback-options input{position:absolute;opacity:0}
.support-callback-options span{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border:1px solid #d8d3ca;border-radius:999px;background:#fff;font-size:12px;font-weight:900}
.support-callback-options input:checked+span{border-color:#151412;background:#151412;color:#fff}
.support-callback-options input:focus-visible+span{outline:3px solid rgba(255,121,0,.3);outline-offset:2px}
.support-callback-fieldset p{margin:0;color:#777168;font-size:10px;line-height:1.6}
.support-scheduled-fields{margin-top:-3px}
.support-message{min-height:190px;resize:vertical;line-height:1.75}
.support-privacy{display:flex;align-items:flex-start;gap:10px;margin-top:4px;padding:14px 15px;border:1px solid #ddd8ce;border-radius:14px;background:#faf9f6;font-size:13px;font-weight:800;line-height:1.65}
.support-privacy input{flex:0 0 auto;width:20px;height:20px;margin-top:1px;accent-color:#ff7900}
.support-privacy a{color:inherit}
.support-field-error{display:block;color:#b3261e;font-size:11px;font-weight:900;line-height:1.5}
.support-error-summary{display:grid;gap:4px;padding:14px 16px;border:1px solid #e8b7b2;border-radius:14px;background:#fff2f0;color:#8e211a}
.support-error-summary b{font-size:14px}.support-error-summary span{font-size:12px;line-height:1.6}
.support-submit-button{min-height:56px;font-size:16px}
.support-submit-button:disabled{cursor:wait;opacity:.7}
.support-submit-note{margin:0;color:#7d776d;font-size:10px;line-height:1.7;text-align:center}
.support-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.support-complete-card{display:grid;justify-items:center;gap:12px;max-width:720px;margin:28px auto;padding:48px 38px;border:1px solid #d9d5cb;border-radius:26px;background:#fff;text-align:center;box-shadow:0 18px 50px rgba(31,25,16,.08)}
.support-complete-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:50%;background:#e4f6ea;color:#16703b;font-size:34px;font-weight:950}
.support-complete-card h1{margin:4px 0 0;font-size:clamp(28px,5vw,42px)}
.support-complete-card>p{margin:0;color:#6f6960;line-height:1.8}
.support-complete-card dl{width:min(100%,520px);margin:10px 0 0;border:1px solid #e1ddd4;border-radius:15px;overflow:hidden;text-align:left}
.support-complete-card dl>div{display:grid;grid-template-columns:150px 1fr;gap:15px;padding:13px 15px;border-top:1px solid #e8e4dc}
.support-complete-card dl>div:first-child{border-top:0}
.support-complete-card dt{color:#777168;font-size:11px;font-weight:900}.support-complete-card dd{margin:0;font-weight:900;overflow-wrap:anywhere}
.support-complete-note{max-width:560px;padding:13px 15px;border-radius:13px;background:#f7f6f2;font-size:11px!important}
.support-home-button{min-width:230px;margin-top:8px;text-decoration:none}
@media(hover:hover){.support-contact-card:hover{border-color:#aaa49a;transform:translateY(-1px)}.support-contact-card.is-selected:hover{border-color:#151412}}
@media(max-width:820px){
  .support-main{padding-block:28px 60px}.support-hero{grid-template-columns:1fr}.support-hero>div{padding:18px 0 0}.support-hero aside{padding:20px;border-radius:18px}
  .support-form-card{padding:22px;border-radius:20px}.support-form-grid{grid-template-columns:1fr}.support-wide{grid-column:auto}
}
@media(max-width:560px){
  .support-main{width:min(100% - 20px,980px)}.support-hero h1{font-size:35px}.support-hero p{font-size:13px}.support-contact-methods{grid-template-columns:1fr}
  .support-contact-card{min-height:0;padding:18px}.support-section-head h2{font-size:19px}.support-form-card{padding:18px 14px;border-radius:17px}
  .support-callback-options{display:grid;grid-template-columns:1fr}.support-callback-options span{width:100%}.support-complete-card{padding:36px 18px;border-radius:20px}
  .support-complete-card dl>div{grid-template-columns:1fr;gap:4px}.support-home-button{width:100%;min-width:0}
}

/* v1.2.0-fix196: support acknowledgment email now includes the sender's submitted details. */

/* v1.2.0-fix197: support contact method cards and mandatory receipt email */
.support-contact-card{
  grid-template-columns:58px minmax(0,1fr) 28px;
  align-items:center;
  align-content:center;
  gap:16px;
  min-height:124px;
  padding:20px;
  border:1px solid #d9d5cd;
  background:#fff;
  color:#171512;
  box-shadow:0 1px 0 rgba(23,21,18,.02);
}
.support-contact-card .support-contact-icon{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  border:1px solid #e7e1d8;
  border-radius:17px;
  background:#f7f4ee;
  color:#171512;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
.support-contact-card .support-contact-icon svg{
  width:28px;
  height:28px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.support-contact-copy{display:grid;gap:6px;min-width:0}
.support-contact-card .support-contact-copy b{font-size:18px;line-height:1.35}
.support-contact-card .support-contact-copy small{color:#6e6962;font-size:12px;line-height:1.65}
.support-contact-selection{
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  border:1px solid #cbc5bb;
  border-radius:50%;
  background:#fff;
  color:#fff;
  transition:background .16s ease,border-color .16s ease,transform .16s ease;
}
.support-contact-selection svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform:scale(.72);transition:opacity .16s ease,transform .16s ease}
.support-contact-card.is-selected{
  border-color:#ff7900;
  background:#fffaf5;
  color:#171512;
  box-shadow:0 12px 28px rgba(255,121,0,.13);
  transform:none;
}
.support-contact-card.is-selected .support-contact-icon{border-color:#ff7900;background:#ff7900;color:#fff;transform:none}
.support-contact-card.is-selected .support-contact-copy small{color:#655f57}
.support-contact-card.is-selected .support-contact-selection{border-color:#171512;background:#171512;transform:none}
.support-contact-card.is-selected .support-contact-selection svg{opacity:1;transform:scale(1)}
.support-contact-card:focus-within{outline:3px solid rgba(255,121,0,.28);outline-offset:3px}
.support-complete-mail-note{border:1px solid #cce8d5;background:#edf9f1!important;color:#155d35!important}
@media(hover:hover){
  .support-contact-card:hover{border-color:#b8b1a7;box-shadow:0 9px 22px rgba(35,28,18,.08);transform:none}
  .support-contact-card.is-selected:hover{border-color:#ff7900;box-shadow:0 14px 30px rgba(255,121,0,.16);transform:none}
}
/* v1.2.0-fix198: contact method cards keep identical geometry in every state */
.support-contact-card,.support-contact-card .support-contact-icon,.support-contact-selection{box-sizing:border-box}
.support-contact-card{align-self:stretch;transform:none}
.support-contact-card.is-selected,.support-contact-card:hover,.support-contact-card.is-selected:hover{transform:none}
.support-contact-card.is-selected .support-contact-icon,.support-contact-card.is-selected .support-contact-selection{transform:none}

@media(max-width:560px){
  .support-contact-card{grid-template-columns:52px minmax(0,1fr) 26px;gap:13px;min-height:108px;padding:16px}
  .support-contact-card .support-contact-icon{width:52px;height:52px;border-radius:15px}
  .support-contact-card .support-contact-icon svg{width:25px;height:25px}
  .support-contact-card .support-contact-copy b{font-size:16px}
  .support-contact-card .support-contact-copy small{font-size:11px}
}

/* v1.2.0-fix199: center contact-method SVGs exactly inside their icon tiles */
.support-contact-card .support-contact-icon{
  position:relative;
  display:block;
  padding:0;
  overflow:hidden;
}
.support-contact-card .support-contact-icon svg{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  display:block!important;
  margin:0!important;
  transform:translate(-50%,-50%)!important;
  transform-origin:center center!important;
}
.support-contact-card.is-selected .support-contact-icon svg,
.support-contact-card:hover .support-contact-icon svg,
.support-contact-card.is-selected:hover .support-contact-icon svg{
  transform:translate(-50%,-50%)!important;
}


/* v1.2.0-fix201 current onboarding guide */
.onboarding-guide-link{text-decoration:none}
.onboarding-section-heading>div>span,.onboarding-section-heading>span{color:#8c5b2e;font-size:10px;font-weight:1000;letter-spacing:.12em}
.onboarding-step-parts{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.onboarding-step-parts>span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #e2ddd3;border-radius:999px;background:#fff;color:#6f6a62;font-size:11px;font-weight:900}
.onboarding-step-parts>span i{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#eee9e1;color:#777;font-style:normal;font-size:11px}
.onboarding-step-parts>span small{font-size:9px;color:#8a8176}
.onboarding-step-parts>span.complete{border-color:#c9e0cf;background:#f5fbf6;color:#246a3f}
.onboarding-step-parts>span.complete i{background:#dff3e5;color:#176b3a}
.onboarding-step-parts>span.complete small{color:#3f8057}
.onboarding-more-features{margin-top:16px;border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}
.onboarding-more-features>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;cursor:pointer;list-style:none}
.onboarding-more-features>summary::-webkit-details-marker{display:none}
.onboarding-more-features>summary span{display:grid;gap:3px}
.onboarding-more-features>summary b{font-size:16px}
.onboarding-more-features>summary small{color:var(--muted);font-size:11px}
.onboarding-more-features>summary i{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f3efe8;font-style:normal;font-size:20px;transition:transform .2s ease}
.onboarding-more-features[open]>summary i{transform:rotate(45deg)}
.onboarding-extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:0 18px 18px}
.onboarding-extra-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:15px;border:1px solid #e5dfd6;border-radius:15px;background:#faf9f6}
.onboarding-extra-card>div{display:grid;gap:4px}
.onboarding-extra-card h3,.onboarding-extra-card p{margin:0}
.onboarding-extra-card h3{font-size:15px}
.onboarding-extra-card p{color:var(--muted);font-size:11px;line-height:1.55}
@media(max-width:700px){.onboarding-extra-grid{grid-template-columns:1fr}.onboarding-extra-card{grid-template-columns:1fr}.onboarding-extra-card .state-btn{width:100%}.onboarding-guide-link{display:inline-flex}}

/* fix203: data management support form and legal cards */
.operations-section-heading{display:flex;align-items:flex-start;gap:14px}.operations-section-heading h2{margin:2px 0 5px}.operations-section-heading .sub{margin:0;line-height:1.7}.operations-section-icon{width:48px;height:48px;flex:0 0 48px;border-radius:15px;display:grid;place-items:center}.operations-section-icon .store-ui-icon{width:23px;height:23px}.operations-section-icon.is-support{color:#c95a00;background:#fff1e2;border:1px solid #f2cfaa}.operations-section-icon.is-legal{color:#305d4d;background:#eef8f2;border:1px solid #cbe3d5}.operations-support-section{gap:16px}.operations-support-form-link{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:15px;padding:17px 18px;border:1px solid #f0b879;border-radius:17px;background:linear-gradient(135deg,#fffaf3 0%,#fff3e2 100%);color:#17120d!important;text-decoration:none!important;box-shadow:0 8px 20px rgba(179,88,8,.08);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.operations-support-form-link:hover{border-color:#ff7800;background:linear-gradient(135deg,#fff8ed 0%,#ffe9cc 100%);box-shadow:0 10px 24px rgba(179,88,8,.13)}.operations-support-form-icon{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;background:#ff7900;color:#fff}.operations-support-form-icon .store-ui-icon{width:25px;height:25px}.operations-support-form-copy{display:grid;gap:4px;min-width:0}.operations-support-form-copy b{font-size:16px}.operations-support-form-copy small{color:#725e4b;font-size:12px;line-height:1.55}.operations-support-form-arrow{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#17120d;color:#fff;font-size:15px;font-weight:900}.operations-support-note{margin:0;padding:11px 13px;border-radius:12px;background:#f6f3ed;color:#6d665d;font-size:11px;line-height:1.7}.operations-legal-section{gap:17px}.operations-legal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.operations-legal-card{position:relative;min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:start;padding:17px 42px 17px 16px;border:1px solid #e2ded5;border-radius:16px;background:#fff;color:#171717!important;text-decoration:none!important;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}.operations-legal-card:hover{border-color:#d7aa78;background:#fffaf4;box-shadow:0 8px 20px rgba(62,45,25,.07)}.operations-legal-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#f5eee5;color:#c45d00}.operations-legal-icon .store-ui-icon{width:21px;height:21px}.operations-legal-copy{min-width:0;display:grid;gap:4px}.operations-legal-copy small{color:#ae6624;font-size:9px;font-weight:950;letter-spacing:.13em}.operations-legal-copy b{font-size:14px;line-height:1.45}.operations-legal-copy span{color:#706a62;font-size:11px;line-height:1.65}.operations-legal-arrow{position:absolute;top:16px;right:16px;color:#b06a2a;font-size:13px;font-weight:900}.operations-store-page .operations-support-form-link:focus-visible,.operations-store-page .operations-legal-card:focus-visible{outline:3px solid rgba(255,121,0,.3);outline-offset:3px}.operations-legal-list{display:none}
@media(max-width:850px){.operations-legal-grid{grid-template-columns:1fr}.operations-legal-card{grid-template-columns:42px minmax(0,1fr)}}
@media(max-width:560px){.operations-section-heading{gap:11px}.operations-section-icon{width:43px;height:43px;flex-basis:43px;border-radius:13px}.operations-support-form-link{grid-template-columns:46px minmax(0,1fr) 30px;gap:11px;padding:14px}.operations-support-form-icon{width:46px;height:46px;border-radius:13px}.operations-support-form-copy b{font-size:14px}.operations-support-form-copy small{font-size:10px}.operations-support-form-arrow{width:30px;height:30px}.operations-legal-card{padding:15px 38px 15px 14px}.operations-legal-copy b{font-size:13px}}

/* v1.2.0-fix205: clear headquarters / store navigation */
.store-scope-switcher{
  display:flex;
  align-items:stretch;
  gap:5px;
  padding:4px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:16px;
  background:rgba(255,255,255,.06);
}
.store-scope-button{
  min-width:88px;
  min-height:44px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:auto auto;
  align-content:center;
  column-gap:7px;
  padding:7px 11px;
  border:0;
  border-radius:12px;
  background:transparent;
  color:#fff;
  text-align:left;
  cursor:pointer;
}
.store-scope-button span{
  grid-column:1;
  font-size:8px;
  font-weight:900;
  letter-spacing:.11em;
  opacity:.7;
}
.store-scope-button b{
  grid-column:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  line-height:1.25;
}
.store-scope-button i{
  grid-column:2;
  grid-row:1/3;
  align-self:center;
  font-style:normal;
  opacity:.7;
}
.store-scope-button:hover{background:rgba(255,255,255,.1)}
.store-scope-button.is-current{
  max-width:210px;
  background:#fff;
  color:#171717;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}
.store-scope-button.is-static{cursor:default}
.store-scope-button.is-static:hover{background:#fff}

.headquarters-single-dashboard,
.company-dashboard{padding-bottom:56px}
.headquarters-single-hero,
.headquarters-multi-hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:28px 0 18px;
  padding:24px 26px;
  border:1px solid #e5ded4;
  border-radius:24px;
  background:linear-gradient(135deg,#fff 0%,#fffaf2 100%);
  box-shadow:0 12px 32px rgba(50,35,18,.07);
}
.headquarters-single-hero h1,
.headquarters-multi-hero h1{margin:4px 0 7px;font-size:clamp(24px,3vw,36px);line-height:1.18}
.headquarters-single-hero p,
.headquarters-multi-hero p{margin:0;color:var(--muted);line-height:1.75}
.headquarters-single-hero .store-home-kicker,
.headquarters-multi-hero .store-home-kicker{color:#b55600}
.headquarters-single-hero-badge{
  flex:0 0 auto;
  min-width:150px;
  display:grid;
  gap:4px;
  padding:16px 18px;
  border-radius:18px;
  background:#181512;
  color:#fff;
  text-align:center;
}
.headquarters-single-hero-badge span{font-size:9px;font-weight:950;letter-spacing:.12em;color:#ffad57}
.headquarters-single-hero-badge b{font-size:18px}
.headquarters-single-hero-badge small{font-size:10px;opacity:.72}
.headquarters-scope-guide{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:18px;
}
.headquarters-scope-guide article{
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  gap:13px;
  align-items:center;
  padding:17px 18px;
  border:1px solid #e4ded5;
  border-radius:18px;
  background:#fff;
}
.headquarters-scope-guide article.is-headquarters{border-color:#dfc4a6;background:#fffaf4}
.headquarters-scope-guide article.is-store{border-color:#cddfd3;background:#f7fbf8}
.headquarters-scope-guide .scope-icon{
  width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#f3eee7;color:#c45b00
}
.headquarters-scope-guide article.is-store .scope-icon{background:#e7f3ea;color:#28734a}
.headquarters-scope-guide .store-ui-icon{width:23px;height:23px}
.headquarters-scope-guide b{display:block;margin-bottom:3px;font-size:15px}
.headquarters-scope-guide span{display:block;color:var(--muted);font-size:11px;line-height:1.6}
.company-store-grid.single{grid-template-columns:minmax(0,560px)}
.headquarters-add-store-card{
  display:grid;
  grid-template-columns:64px minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  margin:20px 0;
  padding:22px;
  border:1px solid #ffb86d;
  border-radius:22px;
  background:linear-gradient(135deg,#fffaf3 0%,#ffedd7 100%);
  box-shadow:0 10px 26px rgba(211,100,0,.1);
}
.headquarters-add-store-icon{
  width:64px;height:64px;border-radius:18px;display:grid;place-items:center;background:#ff7900;color:#fff
}
.headquarters-add-store-icon .store-ui-icon{width:30px;height:30px}
.headquarters-add-store-card span{font-size:9px;font-weight:1000;letter-spacing:.14em;color:#b15400}
.headquarters-add-store-card h2{margin:3px 0 5px;font-size:20px}
.headquarters-add-store-card p{margin:0;color:#6e5e4d;font-size:12px;line-height:1.7}
.headquarters-feature-preview{
  margin-top:20px;
  padding:22px;
  border:1px dashed #d7d0c6;
  border-radius:22px;
  background:#f8f6f2;
}
.headquarters-feature-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-top:14px;
}
.headquarters-feature-grid article{
  display:grid;
  gap:7px;
  align-content:start;
  min-height:124px;
  padding:15px;
  border:1px solid #e5dfd6;
  border-radius:15px;
  background:#fff;
}
.headquarters-feature-grid .store-ui-icon{width:22px;height:22px;color:#c45a00}
.headquarters-feature-grid b{font-size:13px}
.headquarters-feature-grid span{color:var(--muted);font-size:10px;line-height:1.55}
.headquarters-feature-grid article.is-action .state-btn{justify-self:start;margin-top:auto}
.headquarters-core-features{border-style:solid;border-color:#ead2b8;background:#fffaf4}
.headquarters-core-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.headquarters-core-feature-grid article{min-height:142px}
.headquarters-multi-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.headquarters-multi-hero{margin-bottom:22px}

/* additional-store setup: menu inheritance without exposing internal architecture */
.additional-menu-setup{display:grid;gap:10px}
.additional-menu-choice{
  position:relative;
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  gap:11px;
  align-items:start;
  padding:15px 16px;
  border:1px solid #ddd7ce;
  border-radius:16px;
  background:#fff;
  cursor:pointer;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.additional-menu-choice:hover{border-color:#d6a675;background:#fffaf4}
.additional-menu-choice.is-selected{border-color:#ff7900;background:#fff8ef;box-shadow:0 0 0 2px rgba(255,121,0,.1)}
.additional-menu-choice input{margin:3px 0 0;accent-color:#ff7900}
.additional-menu-choice span{display:grid;gap:4px}
.additional-menu-choice b{font-size:14px}
.additional-menu-choice small{color:var(--muted);font-size:11px;line-height:1.6}
.additional-menu-choice em{display:inline-flex;width:max-content;margin-top:2px;padding:3px 7px;border-radius:999px;background:#ff7900;color:#fff;font-size:9px;font-style:normal;font-weight:950}
.additional-source-store{
  display:grid;
  gap:7px;
  margin:0 0 2px 33px;
  padding:13px 14px;
  border-left:3px solid #ff7900;
  border-radius:0 12px 12px 0;
  background:#f8f5f0;
}
.additional-source-store label{font-size:10px;font-weight:950;color:#6f6254}
.additional-source-store .input{background:#fff}

@media(max-width:980px){
  .store-admin-topbar .top-actions{gap:7px}
  .store-scope-button{min-width:76px;padding:7px 9px}
  .store-scope-button.is-current{max-width:160px}
  .headquarters-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .store-admin-topbar .wrap{align-items:flex-start;gap:10px;flex-wrap:wrap}
  .store-admin-topbar .top-actions{width:100%;justify-content:space-between}
  .store-scope-switcher{min-width:0;flex:1}
  .store-scope-button{min-width:0;flex:1}
  .store-scope-button.is-current{max-width:none}
  .headquarters-single-hero,.headquarters-multi-hero{align-items:flex-start;flex-direction:column;padding:20px}
  .headquarters-single-hero-badge{width:100%;box-sizing:border-box}
  .headquarters-scope-guide{grid-template-columns:1fr}
  .headquarters-add-store-card{grid-template-columns:52px minmax(0,1fr);padding:18px}
  .headquarters-add-store-icon{width:52px;height:52px;border-radius:15px}
  .headquarters-add-store-card .btn{grid-column:1/-1;width:100%}
  .headquarters-feature-preview{padding:17px}
}
@media(max-width:500px){
  .store-scope-button span{font-size:7px}
  .store-scope-button b{font-size:11px}
  .headquarters-feature-grid{grid-template-columns:1fr}
  .headquarters-feature-grid article{min-height:0}
  .additional-source-store{margin-left:0}
}

/* fix205 menu-copy choice alignment */
.additional-menu-choice{
  grid-template-columns:22px 42px minmax(0,1fr) auto;
  align-items:center;
}
.additional-menu-choice>input{grid-column:1;grid-row:1;margin:0}
.additional-menu-choice>span{grid-column:2;grid-row:1;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#f4efe8;color:#c45b00}
.additional-menu-choice>span .store-ui-icon{width:21px;height:21px}
.additional-menu-choice>div{grid-column:3;grid-row:1;display:grid;gap:4px;min-width:0}
.additional-menu-choice>i{grid-column:4;grid-row:1;align-self:start}
.additional-menu-choice.is-selected>span{background:#ff7900;color:#fff}
@media(max-width:560px){
  .additional-menu-choice{grid-template-columns:22px 38px minmax(0,1fr);padding:13px}
  .additional-menu-choice>span{width:38px;height:38px;border-radius:12px}
  .additional-menu-choice>i{grid-column:3;grid-row:2;margin-top:4px}
}

/* v1.2.0-fix207 company menu authority */
.company-menu-application{display:grid;gap:12px;margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}
.company-menu-application h3,.company-menu-application p{margin:0}.company-menu-application-radios{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.company-menu-application-radios>label{display:flex;align-items:flex-start;gap:10px;min-height:72px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer}.company-menu-application-radios>label:has(input:checked){border-color:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 14%,transparent)}.company-menu-application-radios span{display:grid;gap:3px}.company-menu-application-radios small{color:var(--muted)}
.company-menu-application-stores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.company-menu-application-stores>label{display:flex;align-items:center;gap:9px;min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.company-menu-store-prices{margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.company-menu-store-prices>summary,.company-menu-product-stores>summary{cursor:pointer;font-weight:800;color:var(--primary);min-height:36px}.company-menu-store-prices>div{display:grid;gap:10px;margin-top:12px}.company-menu-store-prices article{padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}.company-menu-store-price-toggle{display:flex;align-items:center;gap:10px;min-height:46px}.company-menu-store-price-toggle>span{display:grid;gap:2px}.company-menu-store-price-toggle small{color:var(--muted)}.company-menu-store-price-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.company-menu-store-price-fields label{display:grid;gap:5px}.company-menu-store-price-fields label>span{font-size:.78rem;color:var(--muted)}
.company-menu-product-image-preview{display:block;width:min(220px,100%);max-height:150px;object-fit:cover;border-radius:12px;border:1px solid var(--line);margin-bottom:8px}.company-menu-product-stores{padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}.company-menu-product-stores>div{display:grid;gap:8px;margin-top:8px}.company-menu-product-stores article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--line)}.company-menu-product-stores article:first-child{border-top:0}.company-menu-product-stores article>span{display:grid;gap:2px}.company-menu-product-stores small{color:var(--muted)}.company-menu-choice-list .pill{gap:6px}.company-menu-choice-list .pill button{border:0;background:transparent;color:var(--primary);font-weight:800;cursor:pointer;padding:2px 4px}.company-menu-choice-list .pill button.danger-text{color:var(--danger)}
@media(max-width:700px){.company-menu-application-radios,.company-menu-application-stores,.company-menu-store-price-fields{grid-template-columns:1fr}.company-menu-product-stores article{align-items:flex-start;flex-direction:column}.company-menu-product-stores article .state-btn{width:100%;min-height:44px}.company-menu-form-actions{display:grid;grid-template-columns:1fr}.company-menu-form-actions .btn{width:100%}}
.company-menu-store-publication{display:grid;gap:12px;margin:14px 0 18px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff}.company-menu-store-publication>div:first-child h2,.company-menu-store-publication>div:first-child p{margin:0}.company-menu-store-publication>div:first-child p{margin-top:4px;color:var(--muted)}.company-menu-store-publication>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.company-menu-store-publication article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;border:1px solid var(--line);border-radius:11px;background:var(--soft)}.company-menu-store-publication article>span{display:grid;gap:2px}.company-menu-store-publication small{color:var(--muted)}
@media(max-width:700px){.company-menu-store-publication>div:last-child{grid-template-columns:1fr}.company-menu-store-publication article{align-items:flex-start;flex-direction:column}.company-menu-store-publication article .state-btn{width:100%;min-height:44px}}

/* v1.2.0-fix208 store sales state */
.sales-state-page{display:grid;gap:16px;padding-bottom:72px}.sales-state-role{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid #dbe4ee;border-radius:18px;background:linear-gradient(135deg,#f8fbff,#eef5ff)}.sales-state-role div{display:grid;gap:4px}.sales-state-role span{font-size:11px;font-weight:900;letter-spacing:.08em;color:#49627d}.sales-state-role b{font-size:20px}.sales-state-role small{color:var(--muted);line-height:1.6}.sales-state-role>em{font-style:normal;font-size:12px;font-weight:900;padding:8px 12px;border-radius:999px;background:#111;color:#fff;white-space:nowrap}.sales-state-tabs{margin:0}.sales-state-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.sales-state-summary article{display:grid;gap:4px;padding:14px 16px;border:1px solid var(--line);border-radius:15px;background:#fff}.sales-state-summary span{font-size:12px;color:var(--muted);font-weight:800}.sales-state-summary b{font-size:26px}.sales-state-summary .selling{border-color:#b8e0c5;background:#f1fbf4}.sales-state-summary .soldout{border-color:#f0c3c3;background:#fff5f5}.sales-state-summary .paused{border-color:#f1d29d;background:#fff9ee}.sales-state-summary .inventory{border-color:#c8d2e0;background:#f5f7fb}.sales-state-summary .option{border-color:#d6c9ee;background:#faf7ff}.sales-state-filter{display:grid;gap:12px}.sales-state-search{width:100%;min-height:46px}.sales-state-products{display:grid;gap:10px}.sales-state-product{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 18px;border-left:5px solid #b8e0c5}.sales-state-product.soldout{border-left-color:#dc5a5a}.sales-state-product.paused,.sales-state-product.takeaway{border-left-color:#dba13a}.sales-state-product.inventory{border-left-color:#77879a}.sales-state-product-main{display:flex;align-items:center;gap:13px;min-width:0}.sales-state-product-main>div{display:grid;gap:4px;min-width:0}.sales-state-product-main b{font-size:17px}.sales-state-product-main small,.sales-state-product-main em{color:var(--muted);font-size:12px;font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sales-state-badge{justify-self:start;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:900;background:#e4f5e9;color:#176736}.sales-state-badge.soldout{background:#fee4e4;color:#9e2525}.sales-state-badge.paused,.sales-state-badge.takeaway{background:#fff0cf;color:#8a5a00}.sales-state-badge.inventory{background:#e7ebf0;color:#455467}.sales-state-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.sales-state-actions .state-btn{min-height:42px}.state-btn.warning.active{background:#ad6d00;border-color:#ad6d00;color:#fff}.sales-state-inventory-lock{grid-column:1/-1;display:flex;gap:8px;align-items:center;padding:10px 12px;border-radius:12px;background:#eef1f5;color:#44505e}.sales-state-inventory-lock span{font-size:12px}.sales-state-options-intro{padding:4px 2px}.sales-state-options-intro h2{margin:0 0 4px}.sales-state-options-intro p{margin:0;color:var(--muted)}.sales-state-option-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sales-state-option-group{padding:0;overflow:hidden}.sales-state-option-group header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:16px;border-bottom:1px solid var(--line)}.sales-state-option-group header h3{margin:0}.sales-state-option-group header small{display:block;margin-top:4px;color:var(--muted);line-height:1.45}.sales-state-option-group header>span{font-size:12px;font-weight:900;white-space:nowrap}.sales-state-option-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;border-bottom:1px solid var(--line);background:#fff;padding:14px 16px;text-align:left;color:inherit;cursor:pointer}.sales-state-option-row:last-child{border-bottom:0}.sales-state-option-row span{display:grid;gap:3px}.sales-state-option-row small{color:var(--muted)}.sales-state-option-row em{font-style:normal;font-weight:900;font-size:12px;color:#245f36}.sales-state-option-row.soldout{background:#fff4f4}.sales-state-option-row.soldout em{color:#a02626}.sales-state-pause-sheet{max-width:560px}.sales-state-pause-sheet label{display:grid;gap:7px}.sales-state-pause-sheet label>span{font-weight:900}.sales-state-reason-chips{display:flex;gap:8px;flex-wrap:wrap}.sales-state-reason-chips button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 12px;font-weight:800;cursor:pointer}
@media(max-width:900px){.sales-state-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-state-option-groups{grid-template-columns:1fr}.sales-state-product{grid-template-columns:1fr}.sales-state-actions{justify-content:stretch}.sales-state-actions .state-btn{flex:1 1 160px}}
@media(max-width:640px){.sales-state-role{align-items:flex-start;flex-direction:column;padding:15px}.sales-state-role b{font-size:18px}.sales-state-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-state-summary article{padding:12px}.sales-state-product{padding:14px}.sales-state-product-main{align-items:flex-start}.sales-state-product-main .product-thumb{width:64px;height:64px}.sales-state-product-main small,.sales-state-product-main em{white-space:normal}.sales-state-actions{display:grid;grid-template-columns:1fr}.sales-state-actions .state-btn{width:100%}.sales-state-inventory-lock{align-items:flex-start;flex-direction:column}.sales-state-option-row{min-height:62px}.sales-state-pause-sheet{max-height:calc(100dvh - 20px);overflow:auto}}

/* v1.2.0-fix209: 店舗ごとの放題プラン・期間限定割引の本日状態 */
.sales-state-offers{display:grid;gap:14px}
.sales-state-offer-card{display:flex;align-items:center;justify-content:space-between;gap:20px;border-left:4px solid #22a06b;padding:20px}
.sales-state-offer-card.today-paused{border-left-color:#d49311;background:#fffaf0}
.sales-state-offer-card.master-off{border-left-color:#8b8f97;background:#f7f7f5}
.sales-state-offer-card.scheduled{border-left-color:#6486c8}
.sales-state-offer-card>div:first-child{min-width:0;display:grid;gap:5px}
.sales-state-offer-card h3{margin:0;font-size:1.08rem}
.sales-state-offer-card p,.sales-state-offer-card small,.sales-state-offer-card em{margin:0;color:var(--muted);font-style:normal}
.sales-state-offer-actions{display:flex;flex:0 0 auto}
.sales-state-badge.today-paused{background:#fff0c9;color:#8c5b00}
.sales-state-badge.master-off{background:#ececeb;color:#5d6269}
.sales-state-badge.scheduled{background:#edf3ff;color:#3d5f9d}
@media(max-width:760px){.sales-state-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.sales-state-tabs .tab{white-space:nowrap}.sales-state-offer-card{align-items:stretch;flex-direction:column}.sales-state-offer-actions,.sales-state-offer-actions .state-btn{width:100%}}
.company-offer-ended{margin-top:24px;padding:0;overflow:hidden}.company-offer-ended>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;list-style:none}.company-offer-ended>summary::-webkit-details-marker{display:none}.company-offer-ended>summary>div{display:grid;gap:3px}.company-offer-ended>summary b{font-size:17px}.company-offer-ended>summary small{color:var(--muted)}.company-offer-ended>summary>span{font-weight:800}.company-offer-ended-list{display:grid;border-top:1px solid var(--line)}.company-offer-ended-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid var(--line)}.company-offer-ended-list article:last-child{border-bottom:0}.company-offer-ended-list article>div{display:grid;gap:3px}.company-offer-ended-list small{color:var(--muted)}
@media(max-width:720px){.company-offer-ended>summary,.company-offer-ended-list article{padding:14px}.company-offer-ended-list article{align-items:flex-start}.company-offer-ended-list .state-btn{min-height:44px;white-space:nowrap}}

/* fix209 public offers hotfix */
.service-plan-switches .service-plan-public-auto{flex:1 1 100%;display:grid;gap:3px;padding:12px 14px;border:1px solid #cfe3d5;border-radius:13px;background:#f2fbf5;color:#173f28}
.service-plan-switches .service-plan-public-auto b{font-size:13px}
.service-plan-switches .service-plan-public-auto span{color:#4e6b58;font-size:12px;line-height:1.6}


/* v1.2.0-fix210 company inventory master and store inventory work */
.inventory-work-page{display:grid;gap:16px;padding-bottom:76px}.inventory-work-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid #dbe4ee;border-radius:18px;background:linear-gradient(135deg,#f8fbff,#eef5ff)}.inventory-work-intro div{display:grid;gap:4px}.inventory-work-intro h2,.inventory-work-intro p{margin:0}.inventory-work-intro p{color:var(--muted);line-height:1.6}.inventory-work-filters{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:10px}.inventory-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inventory-work-card{display:grid;gap:14px;padding:17px 18px;border-left:5px solid #3ea66b}.inventory-work-card.low{border-left-color:#d89b24;background:#fffbf2}.inventory-work-card.out{border-left-color:#d45050;background:#fff7f7}.inventory-work-card>.row{align-items:flex-start}.inventory-work-quantity{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.inventory-work-quantity b{font-size:30px;line-height:1}.inventory-work-quantity span{font-size:13px;color:var(--muted);font-weight:800}.inventory-work-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.inventory-work-actions .btn,.inventory-work-actions .state-btn{min-height:44px;width:100%;padding:9px 10px}.company-inventory-application{display:grid;gap:10px;margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--soft)}.company-inventory-application-radios{display:flex;gap:10px;flex-wrap:wrap}.company-inventory-application-radios label{display:flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:800}.company-inventory-application-stores{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.company-inventory-application-stores label{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:#fff}.company-inventory-recipe-grid{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:14px}.company-inventory-recipe-products,.company-inventory-recipe-editor{display:grid;gap:10px}.company-inventory-recipe-product{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;cursor:pointer}.company-inventory-recipe-product.active{border-color:#111;background:#f6f5f1}.company-inventory-recipe-rows{display:grid;gap:8px}.company-inventory-recipe-row{display:grid;grid-template-columns:minmax(0,1fr) 140px auto;gap:8px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff}.company-inventory-recipe-row .state-btn{min-height:42px}
@media(max-width:980px){.inventory-work-grid{grid-template-columns:1fr}.inventory-work-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.company-inventory-recipe-grid{grid-template-columns:1fr}}
@media(max-width:640px){.inventory-work-intro{align-items:flex-start;flex-direction:column;padding:15px}.inventory-work-filters{grid-template-columns:1fr}.inventory-work-card{padding:14px}.inventory-work-card>.row{gap:10px}.inventory-work-quantity b{font-size:26px}.inventory-work-actions{grid-template-columns:1fr}.company-inventory-application-stores{grid-template-columns:1fr}.company-inventory-recipe-row{grid-template-columns:1fr}.company-inventory-recipe-row .state-btn{width:100%}}

/* v1.2.0-fix210 inventory management layout hotfix */
.inventory-management-topbar .top-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.company-inventory-page.single-store{max-width:1120px;padding-top:22px}
.company-inventory-page.single-store .headquarters-page-toolbar{margin-top:0}
.company-inventory-page.single-store>.notice{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:10px 16px;padding:16px 18px;border:1px solid #efd38b;border-radius:16px;background:#fff5d6;line-height:1.65}
.company-inventory-page.single-store>.notice b{white-space:nowrap}
.company-inventory-page.single-store>.notice span{min-width:0}
.company-inventory-page.single-store .company-inventory-summary{grid-template-columns:repeat(4,minmax(0,1fr));margin:18px 0 16px}
.company-inventory-page.single-store .company-inventory-tabs{margin:18px 0 22px}
.company-inventory-page.single-store .company-inventory-master-grid{grid-template-columns:minmax(0,1fr);max-width:820px}
.company-inventory-page.single-store .company-inventory-master-card{padding:20px 22px}
.company-inventory-page.single-store .company-dashboard-heading{max-width:820px}
@media(max-width:760px){
  .inventory-management-topbar .top-actions{width:auto}
  .company-inventory-page.single-store{padding-top:16px}
  .company-inventory-page.single-store>.notice{grid-template-columns:1fr;gap:5px;padding:14px 15px}
  .company-inventory-page.single-store .company-inventory-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .company-inventory-page.single-store .company-inventory-master-card{padding:16px}
}
@media(max-width:460px){
  .company-inventory-page.single-store .company-inventory-summary{grid-template-columns:1fr 1fr}
}


/* fix210 inventory scale and decimal input hotfix */
.company-inventory-master-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 190px 150px auto;gap:10px;align-items:end;margin:0 0 14px;padding:14px}.company-inventory-master-toolbar label{display:grid;gap:5px}.company-inventory-master-toolbar label>span{font-size:.78rem;font-weight:800;color:var(--muted)}
.company-inventory-master-list{display:grid;gap:7px}.company-inventory-master-list-head,.company-inventory-master-row{display:grid;grid-template-columns:minmax(220px,1.7fr) minmax(130px,.85fr) 110px 110px minmax(150px,.95fr) minmax(180px,auto);gap:10px;align-items:center}.company-inventory-master-list.single-store .company-inventory-master-list-head,.company-inventory-master-list.single-store .company-inventory-master-row{grid-template-columns:minmax(240px,1.8fr) minmax(140px,.9fr) 120px 120px minmax(180px,auto)}
.company-inventory-master-list-head{padding:0 14px 5px;color:var(--muted);font-size:.75rem;font-weight:800}.company-inventory-master-row{background:#fff;border:1px solid var(--line);border-radius:13px;padding:12px 14px;box-shadow:0 8px 22px rgba(38,35,28,.035)}.company-inventory-master-row.archived{opacity:.68}.company-inventory-master-row>div{min-width:0}.company-inventory-master-row>div:not(.company-inventory-master-name):not(.company-inventory-master-row-actions){display:grid;gap:2px}.company-inventory-master-row small{color:var(--muted)}
.company-inventory-master-name>div{display:flex;align-items:center;gap:9px;min-width:0}.company-inventory-master-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-inventory-master-name>small{display:block;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-inventory-master-row-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}.company-inventory-master-row-actions .state-btn,.company-inventory-master-row-actions .btn{white-space:nowrap}
.company-inventory-master-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;color:var(--muted);font-size:.82rem}.company-inventory-pagination{display:flex;align-items:center;gap:9px}.company-inventory-pagination .state-btn:disabled{opacity:.45;cursor:not-allowed}
.company-inventory-quantity-field{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.company-inventory-quantity-field:focus-within{border-color:#ff8a24;box-shadow:0 0 0 3px rgba(255,122,0,.18)}.company-inventory-quantity-field .input{border:0;border-radius:0;box-shadow:none!important}.company-inventory-unit-suffix{display:flex;align-items:center;padding:0 14px;border-left:1px solid var(--line);background:var(--soft);font-weight:800;color:var(--muted);min-width:54px;justify-content:center}.inventory-decimal-input{-moz-appearance:textfield}.inventory-decimal-input::-webkit-inner-spin-button,.inventory-decimal-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
@media(max-width:980px){.company-inventory-master-toolbar{grid-template-columns:minmax(220px,1fr) 170px 130px auto}.company-inventory-master-list-head,.company-inventory-master-row{grid-template-columns:minmax(190px,1.5fr) 120px 95px 95px minmax(125px,.9fr) minmax(160px,auto)}.company-inventory-master-list.single-store .company-inventory-master-list-head,.company-inventory-master-list.single-store .company-inventory-master-row{grid-template-columns:minmax(210px,1.6fr) 130px 100px 100px minmax(160px,auto)}}
@media(max-width:760px){.company-inventory-master-toolbar{grid-template-columns:1fr 1fr}.company-inventory-master-toolbar label:first-child{grid-column:1/-1}.company-inventory-master-toolbar .btn{grid-column:1/-1}.company-inventory-master-list-head{display:none}.company-inventory-master-row,.company-inventory-master-list.single-store .company-inventory-master-row{grid-template-columns:1fr 1fr;padding:15px}.company-inventory-master-row>div{display:grid!important;gap:3px}.company-inventory-master-row>div:before{content:attr(data-label);font-size:.68rem;font-weight:800;color:var(--muted)}.company-inventory-master-name,.company-inventory-master-row-actions{grid-column:1/-1}.company-inventory-master-name>div{display:flex!important}.company-inventory-master-name:before,.company-inventory-master-row-actions:before{display:none}.company-inventory-master-row-actions{justify-content:stretch}.company-inventory-master-row-actions>*{flex:1}.company-inventory-master-footer{align-items:flex-start;flex-direction:column}.company-inventory-pagination{width:100%;justify-content:space-between}}
@media(max-width:460px){.company-inventory-master-toolbar{grid-template-columns:1fr}.company-inventory-master-toolbar label:first-child,.company-inventory-master-toolbar .btn{grid-column:auto}.company-inventory-master-row,.company-inventory-master-list.single-store .company-inventory-master-row{grid-template-columns:1fr}.company-inventory-master-row>div,.company-inventory-master-name,.company-inventory-master-row-actions{grid-column:auto}.company-inventory-master-row-actions{grid-column:1/-1}}

/* v1.2.0-fix211 本部在庫・仕入・期限ロット */
.fix211-tabs{position:sticky;top:calc(var(--demo-banner-offset) + var(--platform-banner-offset) + 78px);z-index:4;margin:10px 0;padding:10px 0;background:var(--bg)}
.company-dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:22px 0 10px}.company-dashboard-heading h2{margin:0 0 4px;font-size:22px}.company-dashboard-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}.company-dashboard-heading>span{font-weight:900}
.inventory-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.inventory-action-grid.compact{grid-template-columns:repeat(5,minmax(0,1fr))}.inventory-action-card{display:grid;gap:7px;min-height:135px;margin:0;text-align:left;cursor:pointer}.inventory-action-card span{font-size:12px;font-weight:900;color:var(--muted)}.inventory-action-card b{font-size:34px;line-height:1}.inventory-action-card b small{margin-left:3px;font-size:12px}.inventory-action-card em{font-style:normal;font-size:11px;font-weight:900;color:var(--muted)}.inventory-action-card.attention{border-width:2px}.inventory-action-card.attention.expired,.inventory-action-card.attention.today{border-color:#cc5149;background:#fff8f7}.inventory-action-card.attention.soon,.inventory-action-card.attention.unset_overdue{border-color:#d3a530;background:#fffdf5}.inventory-action-card.attention.low,.inventory-action-card.attention.reorder{border-color:#bd8c31;background:#fffbef}
.inventory-next-action{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;border-left:6px solid var(--ink)}.inventory-next-action h3{margin:5px 0 4px}.inventory-next-action p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}
.company-inventory-master-grid,.inventory-lot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.company-inventory-master-grid>.card,.inventory-lot-grid>.card{margin:0}.inventory-master-heading,.inventory-store-card-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px}.inventory-master-heading h3,.inventory-store-card-heading h3,.inventory-lot-card h3{margin:6px 0 3px;overflow-wrap:anywhere}.inventory-master-heading small,.inventory-store-card-heading small{color:var(--muted)}
.inventory-photo-button{display:block;width:76px;height:76px;padding:0;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#eee;cursor:zoom-in;flex:0 0 auto}.inventory-photo-button.large{width:120px;height:120px}.inventory-photo-button img{display:block;width:100%;height:100%;object-fit:cover}.inventory-photo-placeholder{display:grid;place-items:center;width:76px;height:76px;border:1px dashed #bbb;border-radius:14px;background:#f1f1ed;font-size:30px;line-height:1}.inventory-photo-placeholder.large{width:120px;height:120px;font-size:42px}.inventory-photo-sheet{max-width:min(920px,calc(100vw - 30px));text-align:center}.inventory-photo-sheet>.row{text-align:left}.inventory-photo-sheet>img{display:block;max-width:100%;max-height:72vh;margin:14px auto 0;border-radius:16px;object-fit:contain;background:#fff}.inventory-photo-modal{align-items:center;justify-content:center}
.company-inventory-master-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin:14px 0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--line)}.company-inventory-master-metrics>span{display:grid;gap:3px;padding:10px;background:#fff;font-size:10px;color:var(--muted)}.company-inventory-master-metrics b{color:var(--ink);font-size:12px}.inventory-master-audit{display:grid;gap:4px;padding:10px;border-radius:10px;background:#f5f5f1;color:var(--muted);font-size:10px}.company-inventory-master-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:12px}
.company-inventory-toolbar,.inventory-filter-panel{display:grid;grid-template-columns:minmax(180px,1.2fr) auto minmax(180px,1fr) auto;align-items:center;gap:8px;margin:0 0 14px}.inventory-filter-panel{grid-template-columns:repeat(3,minmax(140px,1fr)) auto}.receipt-allocation-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.receipt-allocation-tags span{padding:6px 9px;border-radius:999px;background:#f0f0ec;font-size:11px;font-weight:800}
.inventory-lot-card{display:grid;gap:10px}.inventory-lot-card dl{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--line)}.inventory-lot-card dl>div{display:grid;gap:3px;padding:10px;background:#fff}.inventory-lot-card dt{font-size:10px;font-weight:900;color:var(--muted)}.inventory-lot-card dd{margin:0;font-size:12px;font-weight:800;overflow-wrap:anywhere}.inventory-readonly-note{padding:9px 10px;border-radius:10px;background:#f4f4ef;color:var(--muted);font-size:10px;line-height:1.6}
.inventory-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.inventory-form-grid label{display:grid;gap:6px}.inventory-form-grid label>span{font-size:12px;font-weight:900}.inventory-form-grid .wide{grid-column:1/-1}.supplier-store-settings{display:grid;gap:10px}.supplier-store-settings>.card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.supplier-store-settings label{display:grid;gap:5px}.supplier-store-settings label.row{grid-column:1/-1;display:flex}.supplier-store-settings small{display:block;color:var(--muted)}
.receipt-allocation-list{display:grid;gap:9px;margin:12px 0}.receipt-allocation-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(110px,.55fr) minmax(150px,1fr);gap:8px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff}.receipt-allocation-row label{display:grid;gap:5px}.receipt-allocation-summary{display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:12px 0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--line)}.receipt-allocation-summary>div{display:grid;gap:4px;padding:12px;background:#fff}.receipt-allocation-summary span{font-size:10px;color:var(--muted);font-weight:900}.receipt-allocation-summary b{font-size:18px}.management-number-box{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;border:2px solid var(--ink);border-radius:15px;background:#fff}.management-number-box span{font-size:11px;font-weight:900;color:var(--muted)}.management-number-box b{font-size:23px;letter-spacing:.04em;overflow-wrap:anywhere}
/* v1.2.0-fix235 店舗在庫の参照条件とCSV出力 */
.inventory-filter-result-count{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 12px;border-radius:999px;background:#eef7f1;color:#17633c;font-size:.78rem;font-weight:900;white-space:nowrap}.inventory-csv-sheet{max-width:680px}.inventory-csv-current{display:grid;gap:6px;margin:18px 0;padding:16px;border:1px solid #cfe2d5;border-radius:14px;background:#f2faf5}.inventory-csv-current>span{color:var(--muted);font-size:.75rem;font-weight:800}.inventory-csv-current>b{font-size:1rem;overflow-wrap:anywhere}.inventory-csv-current>small{color:var(--muted)}.inventory-csv-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.inventory-csv-actions .state-btn{min-height:48px;justify-content:center}
/* v1.2.0-fix234 発注候補一覧のカード整理と画像拡大ヒント */
.inventory-work-page{padding-bottom:70px}.inventory-work-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:12px}.inventory-work-card{display:grid;gap:12px;margin:0}.inventory-work-card.low{border-color:#d6ad45}.inventory-work-card.out{border-color:#d36a64}.inventory-work-quantity{display:grid;text-align:right;align-self:center}.inventory-work-quantity b{font-size:27px;line-height:1}.inventory-work-quantity span{margin-top:3px;color:var(--muted);font-size:10px;font-weight:900}.inventory-store-key-info{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:10px;border-radius:11px;background:#f4f4ef;font-size:11px;font-weight:800}.inventory-last-work{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.inventory-last-work b{font-size:12px}.inventory-last-work span{color:var(--muted);font-size:10px;text-align:right}.inventory-work-actions{display:flex;gap:7px;flex-wrap:wrap}.inventory-work-actions .state-btn{flex:1 1 auto}.inventory-reorder-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,380px));gap:12px;align-items:start;justify-content:start}.inventory-reorder-grid>.card{margin:0}.inventory-reorder-grid.preview{grid-template-columns:repeat(auto-fit,minmax(320px,360px))}.inventory-reorder-card{display:grid;gap:13px;padding:16px}.inventory-reorder-card.low{border-color:#e8c772;background:linear-gradient(180deg,#fffdfa 0,#ffffff 100%)}.inventory-reorder-card.out{border-color:#e8a6a1;background:linear-gradient(180deg,#fff7f7 0,#ffffff 100%)}.inventory-reorder-card h3{margin:4px 0 2px;overflow-wrap:anywhere}.inventory-reorder-card small{color:var(--muted)}.inventory-reorder-card-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start}.inventory-reorder-card-title{display:grid;gap:5px;min-width:0}.inventory-reorder-badges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.inventory-reorder-meta{display:flex;flex-wrap:wrap;gap:6px 8px;color:var(--muted);font-size:.75rem}.inventory-reorder-meta span{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:999px;background:var(--soft)}.inventory-reorder-metrics,.inventory-reorder-procurement{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.inventory-reorder-metrics span,.inventory-reorder-procurement span{display:grid;gap:3px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}.inventory-reorder-metrics small,.inventory-reorder-procurement small{color:var(--muted);font-size:.72rem;line-height:1.35}.inventory-reorder-metrics b,.inventory-reorder-procurement b{font-size:.94rem;line-height:1.45;overflow-wrap:anywhere}.inventory-reorder-metrics .recommended{background:#fff6e8;border-color:#e8bf73}.inventory-reorder-metrics .recommended b{color:#8f5200}
@media(max-width:900px){.inventory-action-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.fix211-tabs{top:calc(var(--demo-banner-offset) + var(--platform-banner-offset) + 70px)}.company-dashboard-heading{align-items:stretch;flex-direction:column}.company-dashboard-heading .btn{width:100%}.inventory-action-grid,.inventory-action-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-action-card{min-height:116px}.inventory-action-card b{font-size:28px}.company-inventory-toolbar,.inventory-filter-panel{grid-template-columns:1fr}.company-inventory-toolbar>*{width:100%}.inventory-form-grid{grid-template-columns:1fr}.inventory-form-grid .wide{grid-column:auto}.receipt-allocation-row{grid-template-columns:1fr}.supplier-store-settings>.card{grid-template-columns:1fr}.supplier-store-settings label.row{grid-column:auto}.company-inventory-master-metrics{grid-template-columns:1fr}.inventory-lot-card dl{grid-template-columns:1fr}.inventory-work-grid,.inventory-reorder-grid,.inventory-reorder-grid.preview{grid-template-columns:1fr}.inventory-reorder-metrics,.inventory-reorder-procurement{grid-template-columns:1fr}.inventory-master-heading,.inventory-store-card-heading{grid-template-columns:auto minmax(0,1fr)}.inventory-master-heading>.inventory-work-quantity,.inventory-store-card-heading>.inventory-work-quantity{grid-column:1/-1;display:flex;align-items:end;justify-content:flex-end;gap:5px}.inventory-photo-button,.inventory-photo-placeholder{width:68px;height:68px}.inventory-work-actions{display:grid;grid-template-columns:1fr 1fr}.inventory-csv-actions{grid-template-columns:1fr}.inventory-filter-result-count{justify-self:stretch}.inventory-last-work{align-items:flex-start;flex-direction:column}.inventory-last-work span{text-align:left}}
@media(max-width:430px){.inventory-action-grid,.inventory-action-grid.compact{grid-template-columns:1fr 1fr}.inventory-action-card{padding:13px}.inventory-work-actions{grid-template-columns:1fr}.management-number-box{align-items:flex-start;flex-direction:column}.management-number-box b{font-size:20px}}

/* fix211 本部・在庫履歴 */
.inventory-history-summary{margin-bottom:18px}
.inventory-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:24px}
.inventory-history-card{display:grid;gap:12px;min-width:0}
.inventory-history-card h3{margin:7px 0 2px;overflow-wrap:anywhere}
.inventory-history-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.inventory-history-card dl>div{padding:9px 10px;border-radius:12px;background:var(--surface-soft,#f6f7f9);min-width:0}
.inventory-history-card dt{font-size:.74rem;color:var(--muted,#65707d)}
.inventory-history-card dd{margin:3px 0 0;font-weight:700;overflow-wrap:anywhere}
.inventory-history-delta{display:flex;align-items:baseline;gap:4px;white-space:nowrap}
.inventory-history-delta b{font-size:1.25rem}
.inventory-history-delta.negative b{color:var(--danger,#c53d3d)}
.inventory-history-delta.positive b{color:var(--success,#287a4b)}
@media(max-width:780px){.inventory-history-grid{grid-template-columns:1fr}.inventory-history-card dl{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.inventory-history-card dl{grid-template-columns:1fr}.inventory-history-card>.row{align-items:flex-start}.inventory-history-delta b{font-size:1.1rem}}

/* fix211: 既存発注書の入荷でも期限ロットを確認 */
.purchase-receive-row{grid-template-columns:minmax(240px,1.5fr) minmax(120px,.65fr) minmax(120px,.65fr) minmax(210px,1fr) minmax(90px,.5fr)}
.purchase-receive-select{display:flex;gap:10px;align-items:center;min-width:0}
.purchase-receive-select>span{display:grid;gap:4px;min-width:0}
.purchase-receive-expiry{display:grid!important;grid-template-columns:minmax(105px,.8fr) minmax(130px,1fr);gap:6px!important;align-items:end}
.purchase-receive-expiry>small{grid-column:1/-1}
.purchase-receive-expiry .purchase-receive-supplier-lot{grid-column:1/-1}
@media(max-width:900px){.purchase-receive-row{grid-template-columns:1fr 1fr}.purchase-receive-select{grid-column:1/-1}.purchase-receive-expiry{grid-column:1/-1}.purchase-receive-row strong{grid-column:1/-1;text-align:right}}
@media(max-width:600px){.purchase-receive-row{grid-template-columns:1fr}.purchase-receive-select,.purchase-receive-expiry,.purchase-receive-row>span,.purchase-receive-row strong{grid-column:1}.purchase-receive-row strong{text-align:left}}
.stocktake-increase-expiry{grid-column:1/-1;display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(180px,.8fr) minmax(180px,.8fr);gap:10px;align-items:end;padding:11px 12px;border:1px solid #c9b873;border-radius:11px;background:#fffdf2}.stocktake-increase-expiry[hidden]{display:none}.stocktake-increase-expiry>div{display:grid;gap:3px;align-self:center}.stocktake-increase-expiry>div small{color:var(--muted)}.stocktake-increase-expiry label{display:grid;gap:5px}.stocktake-increase-expiry label>span{font-size:.72rem;color:var(--muted);font-weight:700}
@media(max-width:720px){.stocktake-increase-expiry{grid-template-columns:1fr}}

/* fix211 管理番号別履歴 */
.inventory-lot-history{display:grid;gap:10px;margin:12px 0 20px}.inventory-lot-history article{border:1px solid var(--line,#dfe5ea);border-radius:14px;padding:12px;background:var(--panel,#fff);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}.inventory-lot-history article div{display:grid;gap:2px}.inventory-lot-history article small{color:var(--muted,#667085)}.inventory-lot-history article strong{font-size:1.05rem}.inventory-lot-history article strong.negative{color:#b42318}.inventory-lot-history article strong.positive{color:#087443}.inventory-lot-history article p{grid-column:1/-1;margin:0;color:var(--muted,#667085)}

/* v1.2.0-fix214 在庫品目編集UI */
.inventory-master-photo-editor{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;align-items:start;margin:14px 0 18px}.inventory-master-photo-visual{width:120px;min-height:120px}.inventory-master-photo-visual>.inventory-photo-button,.inventory-master-photo-visual>.inventory-photo-placeholder{width:120px;height:120px}.inventory-photo-selected-preview{display:block;width:120px;height:120px;object-fit:cover;border:1px solid var(--line);border-radius:14px;background:#eee}.inventory-master-photo-controls{display:grid;gap:8px;align-content:start}.inventory-master-photo-label{font-size:.84rem;font-weight:900}.inventory-master-photo-label small{display:inline-flex;margin-left:5px;padding:2px 6px;border-radius:999px;background:var(--soft);color:var(--muted);font-size:.68rem}.inventory-photo-picker-control{display:flex;align-items:center;gap:12px;min-height:64px;padding:11px 13px;border:1px solid var(--line);border-radius:13px;background:#fff;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.inventory-photo-picker-control:hover{border-color:#d98527;box-shadow:0 8px 20px rgba(205,112,14,.1);transform:translateY(-1px)}.inventory-photo-picker-control:focus-within{outline:3px solid rgba(255,132,0,.2);border-color:#e47d11}.inventory-photo-picker-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#fff3e5;font-size:19px}.inventory-photo-picker-control>span:last-child{display:grid;gap:3px}.inventory-photo-picker-control b{font-size:.86rem}.inventory-photo-picker-control small{color:var(--muted);font-size:.72rem;line-height:1.45}.inventory-photo-file-name{min-height:18px;color:var(--muted);font-size:.75rem;overflow-wrap:anywhere}.company-inventory-scope-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.company-inventory-application-section #companyInventoryStoreChoices[hidden]{display:none!important}.company-inventory-application-section #companyInventoryStoreChoices{margin-top:10px}.inventory-form-grid label>small{color:var(--muted);font-size:.7rem;line-height:1.5}
@media(max-width:700px){.inventory-master-photo-editor{grid-template-columns:88px minmax(0,1fr);gap:12px}.inventory-master-photo-visual,.inventory-master-photo-visual>.inventory-photo-button,.inventory-master-photo-visual>.inventory-photo-placeholder,.inventory-photo-selected-preview{width:88px;height:88px;min-height:88px}.inventory-photo-picker-control{min-height:58px;padding:9px 10px}.company-inventory-scope-options{grid-template-columns:1fr}}
.inventory-photo-picker-control input[hidden]{display:none!important}

/* v1.2.0-fix215 全店舗在庫カテゴリ絞り込み */
.company-inventory-comparison-toolbar{grid-template-columns:minmax(220px,1.3fr) minmax(160px,.75fr) minmax(160px,.75fr) auto auto}
@media(max-width:900px){.company-inventory-comparison-toolbar{grid-template-columns:1fr 1fr}.company-inventory-comparison-toolbar>input{grid-column:1/-1}}
@media(max-width:700px){.company-inventory-comparison-toolbar{grid-template-columns:1fr}.company-inventory-comparison-toolbar>input{grid-column:auto}}

/* v1.2.0-fix216 仕入先編集モーダルUI */
.inventory-supplier-sheet{width:min(880px,calc(100% - 24px))!important;max-width:880px!important;padding:0;overflow:auto}.inventory-supplier-sheet-head{padding:22px 24px 18px;border-bottom:1px solid var(--line);align-items:flex-start}.inventory-supplier-sheet-head h2{margin:4px 0}.inventory-supplier-sheet-head .sub{margin:4px 0 0}.inventory-supplier-section{display:grid;gap:14px;padding:20px 24px;border-bottom:1px solid var(--line)}.inventory-supplier-section-head>div{display:flex;align-items:flex-start;gap:12px}.inventory-supplier-section-head h3,.inventory-supplier-section-head p{margin:0}.inventory-supplier-section-head p{margin-top:3px;color:var(--muted);font-size:.8rem;line-height:1.55}.inventory-supplier-step{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:10px;background:#fff0df;color:#c55e00;font-weight:900}.required-chip{display:inline-flex;padding:2px 6px;margin-left:4px;border-radius:999px;background:#fff0e5;color:#b94f00;font-size:.65rem}.supplier-store-settings{display:grid;gap:12px}.inventory-supplier-store-card{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;transition:opacity .18s ease,border-color .18s ease}.inventory-supplier-store-card.is-disabled{opacity:.75;background:#f7f7f4}.inventory-supplier-store-card>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;background:#fbfbf8;border-bottom:1px solid var(--line)}.inventory-supplier-store-card>header>div{display:grid;gap:5px}.inventory-supplier-store-card>header h3{margin:0}.inventory-supplier-use-toggle{display:flex;align-items:center;gap:9px;cursor:pointer;white-space:nowrap}.inventory-supplier-use-toggle>input{position:absolute;opacity:0;pointer-events:none}.inventory-switch{display:block;width:44px;height:25px;padding:3px;border-radius:999px;background:#c8ccd0;transition:background .18s ease}.inventory-switch i{display:block;width:19px;height:19px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25);transition:transform .18s ease}.inventory-supplier-use-toggle>input:checked+.inventory-switch{background:#218655}.inventory-supplier-use-toggle>input:checked+.inventory-switch i{transform:translateX(19px)}.inventory-supplier-use-toggle>input:focus-visible+.inventory-switch{outline:3px solid rgba(255,132,0,.28);outline-offset:2px}.inventory-supplier-store-body{display:grid;gap:14px;padding:16px}.inventory-supplier-store-body[hidden]{display:none!important}.inventory-supplier-default-choice{position:relative;display:flex;align-items:center;gap:11px;padding:12px 13px;border:1px solid var(--line);border-radius:12px;background:#fffaf2;cursor:pointer}.inventory-supplier-default-choice>input{position:absolute;opacity:0;pointer-events:none}.inventory-check-mark{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border:2px solid #c5c9cd;border-radius:8px;background:#fff;color:transparent;font-weight:900}.inventory-supplier-default-choice>input:checked+.inventory-check-mark{border-color:#e87500;background:#e87500;color:#fff}.inventory-supplier-default-choice>input:focus-visible+.inventory-check-mark{outline:3px solid rgba(255,132,0,.25);outline-offset:2px}.inventory-supplier-default-choice>span:last-child{display:grid;gap:2px}.inventory-supplier-default-choice small{color:var(--muted);font-weight:500}.inventory-supplier-store-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inventory-supplier-store-grid label{display:grid;gap:5px}.inventory-supplier-store-grid label>span{font-size:.78rem;font-weight:900}.inventory-supplier-store-grid .wide{grid-column:1/-1}.inventory-supplier-save-bar{position:sticky;bottom:0;padding:14px 24px 20px;background:linear-gradient(to bottom,rgba(255,255,255,.86),#fff 35%);z-index:2}.inventory-supplier-master-card{display:grid;gap:12px}.inventory-supplier-master-card h3{margin:7px 0 0}.inventory-supplier-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}.inventory-supplier-summary>div{padding:9px 10px;border-radius:10px;background:var(--soft);min-width:0}.inventory-supplier-summary>.wide{grid-column:1/-1}.inventory-supplier-summary dt{font-size:.68rem;color:var(--muted);font-weight:800}.inventory-supplier-summary dd{margin:3px 0 0;font-weight:800;overflow-wrap:anywhere;white-space:pre-wrap}.inventory-supplier-sheet textarea{resize:vertical}
@media(max-width:700px){.inventory-supplier-sheet{width:100%;max-width:none;border-radius:22px 22px 0 0}.inventory-supplier-sheet-head,.inventory-supplier-section{padding-left:16px;padding-right:16px}.inventory-supplier-sheet-head{align-items:flex-start}.inventory-supplier-store-card>header{align-items:flex-start;flex-direction:column}.inventory-supplier-use-toggle{width:100%;justify-content:space-between}.inventory-supplier-store-grid,.inventory-supplier-summary{grid-template-columns:1fr}.inventory-supplier-store-grid .wide,.inventory-supplier-summary>.wide{grid-column:auto}.inventory-supplier-save-bar{padding-left:16px;padding-right:16px}}

/* v1.2.0-fix217 仕入先一覧・保存確認UI */
.inventory-supplier-list{display:grid;gap:16px}
.inventory-supplier-overview-card{padding:0!important;overflow:hidden;border:1px solid #dedbd3;box-shadow:0 12px 30px rgba(42,34,20,.07)}
.inventory-supplier-overview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 20px;background:linear-gradient(135deg,#fffdf9,#fff8ee);border-bottom:1px solid var(--line)}
.inventory-supplier-overview-head h3{margin:8px 0 3px;font-size:1.2rem}
.inventory-supplier-overview-head p{margin:0;color:var(--muted);font-size:.78rem;line-height:1.55}
.inventory-supplier-title-tags{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.inventory-supplier-overview-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;flex:0 0 auto}
.inventory-supplier-overview-grid{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(360px,1.15fr);gap:0}
.inventory-supplier-common-panel,.inventory-supplier-store-panel{display:grid;align-content:start;gap:13px;padding:18px 20px;min-width:0}
.inventory-supplier-common-panel{background:#fff;border-right:1px solid var(--line)}
.inventory-supplier-store-panel{background:#fafbf9}
.inventory-supplier-panel-title{display:flex;align-items:flex-start;gap:10px}
.inventory-supplier-panel-title>span{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:9px;background:#fff0df;color:#c55e00;font-size:.76rem;font-weight:900}
.inventory-supplier-panel-title h4,.inventory-supplier-panel-title p{margin:0}
.inventory-supplier-panel-title h4{font-size:.95rem}
.inventory-supplier-panel-title p{margin-top:2px;color:var(--muted);font-size:.72rem;line-height:1.5}
.inventory-supplier-overview-card .inventory-supplier-summary{gap:7px}
.inventory-supplier-overview-card .inventory-supplier-summary>div{padding:8px 10px;background:#f7f6f2;border:1px solid #ece9e1}
.inventory-supplier-store-summary-list{display:grid;gap:10px}
.inventory-supplier-store-summary{display:grid;gap:10px;padding:12px;border:1px solid #dfe4de;border-radius:13px;background:#fff}
.inventory-supplier-store-summary>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:9px;border-bottom:1px solid #eceeea}
.inventory-supplier-store-summary>header>div{display:flex;align-items:center;gap:8px;min-width:0}
.inventory-supplier-store-summary h4{margin:0;overflow-wrap:anywhere}
.inventory-supplier-store-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}
.inventory-supplier-store-summary dl>div{padding:7px 8px;border-radius:9px;background:#f5f7f4;min-width:0}
.inventory-supplier-store-summary dl>.wide{grid-column:1/-1}
.inventory-supplier-store-summary dt{font-size:.65rem;color:var(--muted);font-weight:900}
.inventory-supplier-store-summary dd{margin:2px 0 0;font-size:.78rem;font-weight:800;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.inventory-supplier-no-store{display:grid;gap:3px;padding:14px;border:1px dashed #cfd4cf;border-radius:12px;background:#fff;color:var(--muted)}
.inventory-supplier-no-store b{color:var(--text)}
.inventory-supplier-no-store span{font-size:.76rem;line-height:1.5}
@media(max-width:900px){.inventory-supplier-overview-head{flex-direction:column}.inventory-supplier-overview-actions{width:100%;justify-content:flex-start}.inventory-supplier-overview-grid{grid-template-columns:1fr}.inventory-supplier-common-panel{border-right:0;border-bottom:1px solid var(--line)}}
@media(max-width:620px){.inventory-supplier-overview-head,.inventory-supplier-common-panel,.inventory-supplier-store-panel{padding:14px}.inventory-supplier-overview-actions{display:grid;grid-template-columns:1fr 1fr}.inventory-supplier-overview-actions .danger{grid-column:1/-1}.inventory-supplier-store-summary dl{grid-template-columns:1fr}.inventory-supplier-store-summary dl>.wide{grid-column:auto}}

/* v1.2.0-fix219: 品目別取引条件モーダル */
.inventory-supplier-item-sheet{width:min(820px,calc(100% - 24px))!important;max-width:820px!important;padding:0;overflow:auto}
.inventory-supplier-item-sheet .inventory-supplier-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.inventory-supplier-item-target-grid,.inventory-supplier-item-terms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.inventory-supplier-item-target-grid label,.inventory-supplier-item-terms-grid label{display:grid;gap:6px}
.inventory-supplier-item-target-grid label>span,.inventory-supplier-item-terms-grid label>span{font-size:.78rem;font-weight:900}
.inventory-supplier-item-terms-grid .wide{grid-column:1/-1}
.inventory-supplier-item-terms-grid small{color:var(--muted);font-size:.7rem;line-height:1.5}
.inventory-supplier-item-context{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #e8e3d8;border-radius:13px;background:#fffaf2}
.inventory-supplier-item-context>div{display:flex;align-items:baseline;gap:9px;min-width:0}
.inventory-supplier-item-context b{overflow-wrap:anywhere}
.inventory-supplier-item-context span,.inventory-supplier-item-context small{color:var(--muted);font-size:.76rem}
.inventory-input-with-suffix{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch}
.inventory-input-with-suffix .input{border-radius:10px 0 0 10px}
.inventory-input-with-suffix>b{display:flex;align-items:center;padding:0 12px;border:1px solid var(--line);border-left:0;border-radius:0 10px 10px 0;background:#f6f4ef;color:#665f52;font-size:.76rem;white-space:nowrap}
.inventory-supplier-item-primary-choice{position:relative;display:flex;align-items:center;gap:12px;margin-top:14px;padding:13px 14px;border:1px solid #e4d8c6;border-radius:13px;background:#fffaf2;cursor:pointer}
.inventory-supplier-item-primary-choice>input{position:absolute;opacity:0;pointer-events:none}
.inventory-supplier-item-primary-choice>input:checked+.inventory-check-mark{border-color:#e87500;background:#e87500;color:#fff}
.inventory-supplier-item-primary-choice>input:focus-visible+.inventory-check-mark{outline:3px solid rgba(255,132,0,.25);outline-offset:2px}
.inventory-supplier-item-primary-choice>span:last-child{display:grid;gap:3px}
.inventory-supplier-item-primary-choice small{color:var(--muted);font-weight:500;line-height:1.45}
.inventory-supplier-item-existing{background:#fafbf9}
.inventory-supplier-item-summary-list{display:grid;gap:10px}
.inventory-supplier-item-summary{display:grid;gap:10px;padding:13px;border:1px solid #dfe4de;border-radius:13px;background:#fff}
.inventory-supplier-item-summary>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:9px;border-bottom:1px solid #eceeea}
.inventory-supplier-item-summary>header>div{display:flex;align-items:center;gap:8px;min-width:0}
.inventory-supplier-item-summary h4{margin:0;overflow-wrap:anywhere}
.inventory-supplier-item-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}
.inventory-supplier-item-summary dl>div{padding:8px 9px;border-radius:9px;background:#f5f7f4;min-width:0}
.inventory-supplier-item-summary dl>.wide{grid-column:1/-1}
.inventory-supplier-item-summary dt{font-size:.65rem;color:var(--muted);font-weight:900}
.inventory-supplier-item-summary dd{margin:2px 0 0;font-size:.78rem;font-weight:800;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:700px){.inventory-supplier-item-sheet{width:100%;max-width:none;border-radius:22px 22px 0 0}.inventory-supplier-item-target-grid,.inventory-supplier-item-terms-grid{grid-template-columns:1fr}.inventory-supplier-item-terms-grid .wide{grid-column:auto}.inventory-supplier-item-context{align-items:flex-start;flex-direction:column}.inventory-supplier-item-summary dl{grid-template-columns:1fr}.inventory-supplier-item-summary dl>.wide{grid-column:auto}}

/* v1.2.0-fix220: 本部入荷・店舗別配分モーダル */
.inventory-receipt-sheet{width:min(900px,calc(100% - 24px))!important;max-width:900px!important;padding:0;overflow:auto;background:#f7f5f0}
.inventory-receipt-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 16px;background:#fff;border-bottom:1px solid var(--line)}
.inventory-receipt-head h2,.inventory-receipt-head p{margin:0}.inventory-receipt-head h2{margin-top:3px}.inventory-receipt-head p{margin-top:5px}
.inventory-receipt-number-card{display:grid;grid-template-columns:minmax(270px,.9fr) minmax(300px,1.1fr);gap:14px;align-items:center;margin:16px 22px;padding:15px 16px;border:1px solid #e7d7bf;border-radius:15px;background:linear-gradient(135deg,#fffaf1,#fff);box-shadow:0 8px 22px rgba(72,48,15,.05)}
.inventory-receipt-number-label{display:flex;align-items:center;gap:12px;min-width:0}.inventory-receipt-number-label>div{display:grid;gap:2px;min-width:0}.inventory-receipt-number-label small{color:var(--muted);font-weight:900}.inventory-receipt-number-label b{font-size:1.25rem;letter-spacing:.035em;overflow-wrap:anywhere}
.inventory-receipt-number-guide{display:grid;gap:3px;padding-left:15px;border-left:1px solid #eadfce}.inventory-receipt-number-guide b{font-size:.88rem}.inventory-receipt-number-guide small{color:var(--muted);font-size:.74rem;line-height:1.5}
.inventory-receipt-step{display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:9px;background:#fff0df;color:#c65d00;font-size:.72rem;font-weight:900;white-space:nowrap}
.inventory-receipt-section{margin:0 22px 16px;padding:17px;border:1px solid #dedbd3;border-radius:16px;background:#fff}
.inventory-receipt-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.inventory-receipt-section-head>div:first-child{display:flex;align-items:flex-start;gap:10px}.inventory-receipt-section-head h3,.inventory-receipt-section-head p{margin:0}.inventory-receipt-section-head h3{font-size:1rem}.inventory-receipt-section-head p{margin-top:2px;color:var(--muted);font-size:.75rem;line-height:1.5}
.inventory-receipt-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inventory-receipt-form-grid label{display:grid;gap:6px}.inventory-receipt-form-grid label>span{font-size:.78rem;font-weight:900}.inventory-receipt-form-grid label>small{color:var(--muted);font-size:.69rem;line-height:1.45}.inventory-receipt-form-grid .wide{grid-column:1/-1}.inventory-receipt-form-grid textarea{resize:vertical}
.inventory-allocation-section{background:#fcfdfb}.inventory-allocation-state{padding:7px 10px;border-radius:999px;background:#efefeb;color:#625f57;font-size:.72rem;font-weight:900;white-space:nowrap}.inventory-allocation-state.attention{background:#fff0c9;color:#7e5600}.inventory-allocation-state.complete{background:#dff4e6;color:#145a31}
.inventory-allocation-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:8px}.inventory-allocation-summary article{display:grid;gap:3px;padding:11px 12px;border:1px solid #e6e4de;border-radius:12px;background:#f8f8f5}.inventory-allocation-summary article.attention{border-color:#e5a58f;background:#fff2ee}.inventory-allocation-summary span{color:var(--muted);font-size:.68rem;font-weight:900}.inventory-allocation-summary b{font-size:1.15rem}.inventory-allocation-summary b small{color:var(--muted);font-size:.68rem}
.inventory-allocation-progress{height:7px;margin-bottom:14px;border-radius:999px;background:#ecebe6;overflow:hidden}.inventory-allocation-progress>span{display:block;width:0;height:100%;border-radius:inherit;background:#e87500;transition:width .18s ease}
.inventory-allocation-list{display:grid;gap:10px}.inventory-allocation-row{display:grid;gap:0;border:1px solid #dedbd3;border-radius:14px;background:#fff;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}.inventory-allocation-row.selected{border-color:#e6a260;box-shadow:0 7px 18px rgba(209,108,16,.08)}
.inventory-allocation-row>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;background:#faf9f6}.inventory-allocation-store-choice{position:relative;display:flex;align-items:center;gap:10px;cursor:pointer;min-width:0}.inventory-allocation-store-choice>input{position:absolute;opacity:0;pointer-events:none}.inventory-allocation-store-choice>input:checked+.inventory-check-mark{border-color:#e87500;background:#e87500;color:#fff}.inventory-allocation-store-choice>span:last-child{display:grid;gap:2px;min-width:0}.inventory-allocation-store-choice b{overflow-wrap:anywhere}.inventory-allocation-store-choice small{color:var(--muted);font-size:.7rem}
.inventory-allocation-number{display:grid;justify-items:end;gap:2px;min-width:0}.inventory-allocation-number span{color:var(--muted);font-size:.65rem;font-weight:900}.inventory-allocation-number b{font-size:.78rem;overflow-wrap:anywhere;text-align:right}
.inventory-allocation-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:13px;border-top:1px solid #eeeae2}.inventory-allocation-fields[hidden]{display:none!important}.inventory-allocation-fields label{display:grid;gap:6px}.inventory-allocation-fields label>span{font-size:.76rem;font-weight:900}.inventory-allocation-fields label>small{color:var(--muted);font-size:.68rem;line-height:1.45}
.inventory-receipt-save-bar{position:sticky;bottom:0;display:grid;grid-template-columns:auto minmax(220px,1fr);gap:10px;padding:14px 22px 20px;background:linear-gradient(to bottom,rgba(247,245,240,.88),#f7f5f0 35%);z-index:3}.inventory-receipt-save-bar .btn{width:100%}
@media(max-width:700px){.inventory-receipt-sheet{width:100%!important;max-width:none!important;border-radius:22px 22px 0 0}.inventory-receipt-head{padding:17px 16px 13px}.inventory-receipt-number-card{grid-template-columns:1fr;margin:12px 16px}.inventory-receipt-number-guide{padding:11px 0 0;border-left:0;border-top:1px solid #eadfce}.inventory-receipt-section{margin:0 16px 13px;padding:14px}.inventory-receipt-form-grid,.inventory-allocation-fields{grid-template-columns:1fr}.inventory-receipt-form-grid .wide{grid-column:auto}.inventory-receipt-section-head{align-items:flex-start;flex-direction:column}.inventory-allocation-summary{grid-template-columns:1fr 1fr}.inventory-allocation-summary article:first-child{grid-column:1/-1}.inventory-allocation-row>header{align-items:flex-start;flex-direction:column}.inventory-allocation-number{justify-items:start}.inventory-allocation-number b{text-align:left}.inventory-receipt-save-bar{grid-template-columns:1fr;padding:12px 16px 16px}.inventory-receipt-save-bar .state-btn{order:2}}

/* v1.2.0-fix221: 入荷時の既定仕入先・取引条件・期限日連動 */
.inventory-receipt-condition-card{grid-column:1/-1;display:grid;gap:10px;padding:13px 14px;border:1px solid #ead7b8;border-radius:13px;background:#fffaf1}
.inventory-receipt-condition-card[hidden],.fix221-receipt-expiry-date[hidden]{display:none!important}
.inventory-receipt-condition-card.neutral{border-color:#dedbd3;background:#f8f8f5}
.inventory-receipt-condition-card.attention{border-color:#e5b780;background:#fff5e5}
.inventory-receipt-condition-card.neutral,.inventory-receipt-condition-card.attention{grid-template-columns:auto 1fr;align-items:center}
.inventory-receipt-condition-card.neutral span,.inventory-receipt-condition-card.attention span{color:var(--muted);font-size:.75rem;line-height:1.5}
.inventory-receipt-condition-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.inventory-receipt-condition-head>div{display:flex;align-items:center;gap:8px;min-width:0}
.inventory-receipt-condition-head b{overflow-wrap:anywhere}
.inventory-receipt-condition-head>small{color:var(--muted);font-size:.68rem;font-weight:900;white-space:nowrap}
.inventory-receipt-condition-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0}
.inventory-receipt-condition-card dl>div{padding:8px 9px;border-radius:9px;background:rgba(255,255,255,.78);min-width:0}
.inventory-receipt-condition-card dl>.wide{grid-column:1/-1}
.inventory-receipt-condition-card dt{font-size:.64rem;color:var(--muted);font-weight:900}
.inventory-receipt-condition-card dd{margin:2px 0 0;font-size:.78rem;font-weight:850;line-height:1.45;overflow-wrap:anywhere}
.inventory-receipt-condition-card>p{margin:0;color:var(--muted);font-size:.69rem;line-height:1.5}
.fix221-receipt-expiry-date{align-content:start}
@media(max-width:700px){.inventory-receipt-condition-card dl{grid-template-columns:1fr 1fr}.inventory-receipt-condition-card dl>.wide{grid-column:1/-1}.inventory-receipt-condition-card.neutral,.inventory-receipt-condition-card.attention{grid-template-columns:1fr}.inventory-receipt-condition-head{flex-direction:column}.inventory-receipt-condition-head>small{white-space:normal}}

/* v1.2.0-fix223 ロット詳細・期限修正UI */
.inventory-lot-detail-sheet{width:min(880px,calc(100vw - 28px))!important;max-width:880px!important;max-height:calc(100dvh - 28px);padding:0;overflow:auto;background:#f7f6f2}
.inventory-lot-detail-head{position:sticky;top:0;z-index:5;align-items:flex-start;padding:20px 22px 16px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.96);backdrop-filter:blur(10px)}
.inventory-lot-detail-head h2{margin:5px 0 2px;font-size:1.45rem}.inventory-lot-detail-head .sub{margin:0;font-weight:800}
.inventory-lot-status-card{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 22px 12px;padding:18px 20px;border:1px solid #d9ddd5;border-left:6px solid #4f7d5d;border-radius:17px;background:linear-gradient(135deg,#f8fff9,#fff)}
.inventory-lot-status-card.yellow{border-color:#e4c36e;border-left-color:#c88b00;background:linear-gradient(135deg,#fff9e7,#fff)}.inventory-lot-status-card.red{border-color:#e9aaa5;border-left-color:#bd2b23;background:linear-gradient(135deg,#fff4f3,#fff)}
.inventory-lot-status-card>div:first-child{display:grid;gap:5px}.inventory-lot-status-card strong{font-size:1.55rem;line-height:1.15}.inventory-lot-status-card small{color:var(--muted);font-weight:800}
.inventory-lot-status-quantity{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:0 6px;text-align:right;white-space:nowrap}.inventory-lot-status-quantity span{grid-column:1/-1;color:var(--muted);font-size:.72rem;font-weight:900}.inventory-lot-status-quantity b{font-size:2.25rem;line-height:1}.inventory-lot-status-quantity small{font-size:.8rem;color:var(--ink)}
.inventory-lot-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 22px 16px}.inventory-lot-overview-grid article{display:grid;align-content:start;gap:5px;min-height:88px;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#fff}.inventory-lot-overview-grid article.primary{border-color:#cadbce;background:#f4fbf6}.inventory-lot-overview-grid span{color:var(--muted);font-size:.7rem;font-weight:900}.inventory-lot-overview-grid b{font-size:1rem;line-height:1.45;overflow-wrap:anywhere}.inventory-lot-overview-grid b small{font-size:.72rem}
.inventory-lot-detail-section{display:grid;gap:14px;margin:0 22px 16px;padding:18px;border:1px solid var(--line);border-radius:17px;background:#fff}.inventory-lot-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.inventory-lot-section-head>div{display:flex;align-items:flex-start;gap:11px}.inventory-lot-section-head h3,.inventory-lot-section-head p{margin:0}.inventory-lot-section-head h3{font-size:1.03rem}.inventory-lot-section-head p{margin-top:3px;color:var(--muted);font-size:.75rem;line-height:1.55}
.inventory-lot-edit-grid{margin:0}.inventory-lot-edit-grid label>span{font-size:.76rem;font-weight:900}.inventory-lot-edit-grid label[hidden]{display:none!important}
.inventory-lot-change-preview{display:grid;gap:8px;padding:13px;border:1px solid #efc989;border-radius:13px;background:#fffaf0}.inventory-lot-change-preview[hidden]{display:none!important}.inventory-lot-change-preview-head{display:grid;gap:2px;padding-bottom:7px;border-bottom:1px solid #f0dfbe}.inventory-lot-change-preview-head small{color:var(--muted);font-size:.7rem}.inventory-lot-change-preview>div:not(.inventory-lot-change-preview-head){display:grid;grid-template-columns:95px minmax(0,1fr);gap:9px;align-items:start}.inventory-lot-change-preview>div>span{font-size:.7rem;font-weight:900;color:var(--muted)}.inventory-lot-change-preview p{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0;font-size:.78rem}.inventory-lot-change-preview p i{font-style:normal;color:#b77419}.inventory-lot-change-preview>div>small{grid-column:2;color:#8a5c13;font-weight:800}
.inventory-lot-save-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:12px;border-top:1px solid var(--line)}.inventory-lot-save-bar>span{color:var(--muted);font-size:.72rem;line-height:1.5}.inventory-lot-save-bar .btn{min-width:190px;padding:12px 16px}.inventory-lot-save-bar .btn:disabled{background:#e8e7e2;color:#787872;opacity:1;cursor:not-allowed}
.inventory-lot-procurement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}.inventory-lot-procurement-grid>div{min-width:0;padding:10px 11px;border:1px solid #ebe9e3;border-radius:11px;background:#f8f8f5}.inventory-lot-procurement-grid dt{color:var(--muted);font-size:.68rem;font-weight:900}.inventory-lot-procurement-grid dd{margin:4px 0 0;font-size:.8rem;font-weight:900;overflow-wrap:anywhere}
.inventory-lot-timeline{display:grid;gap:0}.inventory-lot-timeline>article{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;padding-bottom:13px}.inventory-lot-timeline>article:not(:last-child):before{content:"";position:absolute;left:8px;top:18px;bottom:-2px;width:2px;background:#e4e3dd}.inventory-lot-timeline-dot{position:relative;z-index:1;width:16px;height:16px;margin-top:14px;border:4px solid #d9e9dd;border-radius:50%;background:#2f7c4a}.inventory-lot-timeline>article.change .inventory-lot-timeline-dot{border-color:#f7dfb9;background:#ca7b0b}
.inventory-lot-timeline-card{display:grid;gap:7px;padding:12px 13px;border:1px solid #e6e5df;border-radius:13px;background:#fbfbf8}.inventory-lot-timeline-card header{display:flex;align-items:center;justify-content:space-between;gap:12px}.inventory-lot-timeline-card header>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.inventory-lot-timeline-card header b{font-size:.88rem}.inventory-lot-timeline-card header strong{font-size:1rem}.inventory-lot-timeline-card small{color:var(--muted);font-size:.7rem}.inventory-lot-timeline-card p{margin:0;font-size:.76rem;line-height:1.55}.inventory-lot-timeline-card .positive{color:#18743e}.inventory-lot-timeline-card .negative{color:#b3261e}
.inventory-lot-change-details{display:grid;gap:5px}.inventory-lot-change-details>span{display:grid;grid-template-columns:90px minmax(0,1fr) auto minmax(0,1fr);gap:7px;align-items:center;padding:7px 8px;border-radius:9px;background:#fff}.inventory-lot-change-details b{font-size:.68rem;color:var(--muted)}.inventory-lot-change-details i{font-style:normal;color:#b77419}.inventory-lot-change-details span{font-size:.75rem;overflow-wrap:anywhere}
@media(max-width:760px){.inventory-lot-detail-sheet{width:100%!important;max-width:none!important;max-height:94dvh;border-radius:22px 22px 0 0}.inventory-lot-detail-head{padding:17px 16px 14px}.inventory-lot-status-card{align-items:flex-start;margin:14px 16px 10px;padding:15px}.inventory-lot-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:0 16px 14px}.inventory-lot-detail-section{margin:0 16px 14px;padding:15px}.inventory-lot-procurement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-lot-save-bar{align-items:stretch;flex-direction:column}.inventory-lot-save-bar .btn{width:100%}.inventory-lot-change-preview>div:not(.inventory-lot-change-preview-head){grid-template-columns:1fr}.inventory-lot-change-preview>div>small{grid-column:auto}}
@media(max-width:480px){.inventory-lot-status-card{flex-direction:column}.inventory-lot-status-quantity{text-align:left}.inventory-lot-overview-grid,.inventory-lot-procurement-grid{grid-template-columns:1fr}.inventory-lot-change-details>span{grid-template-columns:1fr}.inventory-lot-timeline-card header{align-items:flex-start;flex-direction:column}}

/* v1.2.0-fix226 棚卸詳細レスポンシブ・在庫ロット表示UI */
.store-admin-body .modal>.stocktake-detail-sheet{width:min(1180px,100%);max-width:1180px;overflow-x:hidden}
.stocktake-detail-sheet>*{min-width:0}
.stocktake-count-list{overflow-x:hidden}
.stocktake-count-row,.stocktake-count-row>*{min-width:0}
.stocktake-count-row .input,.stocktake-increase-expiry,.stocktake-increase-expiry>*{min-width:0}
@media(max-width:1100px){
  .stocktake-count-row{grid-template-columns:1fr 1fr}
  .stocktake-count-name,.stocktake-count-note{grid-column:1/-1}
}
@media(max-width:720px){
  .store-admin-body .modal>.stocktake-detail-sheet{width:100%;max-width:none}
  .stocktake-count-row{grid-template-columns:1fr}
  .stocktake-count-name,.stocktake-count-note{grid-column:auto}
}


/* v1.2.0-fix229: 本部・店舗の管理範囲切り替えを共通ヘッダーへ統一 */
.headquarters-session-actions>.headquarters-scope-switcher{
  flex:1 1 auto;
  min-width:0;
}
.headquarters-scope-switcher .store-scope-button.is-current{
  max-width:none;
}
.headquarters-session-actions>.tab{
  flex:0 0 auto;
}
@media(max-width:760px){
  .headquarters-session-actions>.headquarters-scope-switcher{flex:1 1 auto}
  .headquarters-session-actions>.tab{flex:0 0 auto}
}
@media(max-width:500px){
  .headquarters-session-actions{align-items:stretch}
  .headquarters-session-actions>.headquarters-scope-switcher{width:100%}
  .headquarters-session-actions>.tab{min-width:86px}
}
/* v1.2.0-fix232: compact headquarters inventory category cards */
.inventory-category-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.inventory-category-heading-actions>span{display:inline-flex;align-items:center;min-height:34px;padding:7px 11px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:.78rem;font-weight:900;white-space:nowrap}.inventory-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.inventory-category-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"main count" "actions actions";align-items:start;gap:10px 12px;min-width:0;padding:14px 16px}.inventory-category-card-main{grid-area:main;min-width:0}.inventory-category-card-main h3{margin:0 0 3px;font-size:1rem;line-height:1.35;overflow-wrap:anywhere}.inventory-category-card-main small{display:block;color:var(--muted);font-size:.74rem;font-weight:750}.inventory-category-item-count{grid-area:count;display:inline-flex;align-items:baseline;justify-content:center;gap:4px;min-width:64px;padding:6px 9px;border-radius:999px;background:var(--soft);color:var(--muted);white-space:nowrap}.inventory-category-item-count b{color:var(--text);font-size:.98rem}.inventory-category-item-count small{font-size:.7rem;font-weight:850}.inventory-category-card-actions{grid-area:actions;display:flex;justify-content:flex-end;gap:7px;padding-top:9px;border-top:1px solid var(--line)}.inventory-category-card-actions .state-btn{min-height:36px;padding:7px 12px}.inventory-category-empty{grid-column:1/-1}.company-inventory-page.single-store .inventory-category-grid{max-width:none}.company-inventory-page.single-store .inventory-category-card{padding:14px 16px}
@media(max-width:980px){.inventory-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.inventory-category-heading{align-items:stretch}.inventory-category-heading-actions{justify-content:space-between}.inventory-category-grid{grid-template-columns:1fr}.inventory-category-card{padding:13px 14px}.inventory-category-card-actions{justify-content:stretch}.inventory-category-card-actions .state-btn{flex:1}}

/* v1.2.0-fix233 在庫品目マスター画像の拡大ヒント */
.inventory-photo-button{position:relative;-webkit-tap-highlight-color:transparent}
.inventory-photo-button:focus-visible{outline:3px solid #ff7900;outline-offset:3px}
.inventory-photo-button.has-zoom-hint img{transition:transform .16s ease,filter .16s ease}
.inventory-photo-zoom-hint{position:absolute;right:6px;bottom:6px;display:grid;place-items:center;width:29px;height:29px;border:1px solid rgba(255,255,255,.78);border-radius:999px;background:rgba(17,21,19,.76);color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.28);pointer-events:none;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transition:background .16s ease,transform .16s ease}
.inventory-photo-zoom-hint svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(hover:hover){.inventory-photo-button.has-zoom-hint:hover img{transform:scale(1.035);filter:brightness(.96)}.inventory-photo-button.has-zoom-hint:hover .inventory-photo-zoom-hint{background:rgba(255,121,0,.94);transform:scale(1.06)}}
@media(max-width:700px){.inventory-photo-zoom-hint{right:5px;bottom:5px;width:27px;height:27px}.inventory-photo-zoom-hint svg{width:16px;height:16px}}

/* v1.2.0-fix236: 100店舗対応の本部・店舗切り替え */
.headquarters-store-scope-button{width:196px;max-width:196px;min-width:196px}
.headquarters-store-scope-button b{max-width:154px}
.scalable-store-switcher-sheet{width:min(820px,100%);max-width:820px;max-height:min(92vh,920px);overflow:auto}
.store-switcher-title{align-items:flex-start}
.store-switcher-current{display:grid;gap:9px;margin-top:16px;padding:13px;border:1px solid #d9e4de;border-radius:16px;background:#f4faf7}
.store-switcher-current-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 2px}
.store-switcher-current-label span{font-size:.76rem;font-weight:950;color:#255f49}
.store-switcher-current-label small{font-size:.68rem;color:var(--muted)}
.store-switcher-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"search statuses" "summary summary";gap:10px 12px;margin-top:15px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#f8f7f4}
.store-switcher-search{grid-area:search;display:grid;gap:6px;min-width:0}
.store-switcher-search>span{font-size:.72rem;font-weight:950;color:var(--muted)}
.store-switcher-statuses{grid-area:statuses;display:flex;align-items:end;gap:6px;flex-wrap:wrap}
.store-switcher-statuses .tab{min-height:42px;display:inline-flex;align-items:center;gap:6px}
.store-switcher-statuses .tab small{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:rgba(0,0,0,.07);font-size:.67rem}
.store-switcher-statuses .tab.active small{background:rgba(255,255,255,.16)}
.store-switcher-summary{grid-area:summary;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid var(--line)}
.store-switcher-summary b{font-size:.9rem}
.store-switcher-summary span{font-size:.72rem;color:var(--muted);font-weight:800}
.store-switcher-result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 2px 8px}
.store-switcher-result-heading b{font-size:.88rem}
.store-switcher-result-heading span{font-size:.7rem;color:var(--muted);font-weight:850}
.store-switcher-results{display:grid;gap:8px;max-height:46vh;overflow:auto;padding-right:3px;overscroll-behavior:contain}
.store-switcher-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 13px;border:1px solid var(--line);border-radius:15px;background:#fff;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
.store-switcher-row:hover{border-color:#d8b384;background:#fffaf4;box-shadow:0 6px 16px rgba(80,50,18,.05)}
.store-switcher-row.current{border-color:#80a495;background:#f7fcf9}
.store-switcher-row.disabled{background:#f4f4f2;opacity:.72}
.store-switcher-row-identity{display:flex;align-items:center;gap:11px;min-width:0}
.store-switcher-row-identity>img,.store-switcher-row-identity>.company-store-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:12px;border:1px solid var(--line);object-fit:cover}
.store-switcher-row-identity>div{display:grid;gap:2px;min-width:0}
.store-switcher-row-tags{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-bottom:1px}
.store-switcher-row-tags .pill{font-size:.61rem;padding:3px 6px}
.store-switcher-row-identity h3{margin:0;font-size:.96rem;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.store-switcher-row-identity small{font-size:.68rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.store-switcher-row-action{display:flex;align-items:center;justify-content:flex-end}
.store-switcher-row-action .btn{white-space:nowrap}
.store-switcher-pagination{display:flex;align-items:center;justify-content:center;gap:12px;min-height:42px;margin-top:12px}
.store-switcher-pagination>span{font-size:.75rem;color:var(--muted);font-weight:850}
.store-switcher-pagination>span b{color:var(--text)}
.store-switcher-headquarters-button{margin-top:10px}
.store-switcher-loading{min-height:76px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--muted)}
.store-switcher-loading span{width:18px;height:18px;border:2px solid #d9d4ca;border-top-color:#ff7900;border-radius:50%;animation:storeSwitcherSpin .8s linear infinite}
.store-switcher-loading b{font-size:.78rem}
.store-switcher-empty{margin:0}
@media(max-width:760px){
  .headquarters-store-scope-button{width:auto;max-width:none;min-width:0}
  .scalable-store-switcher-sheet{max-height:100%;border-radius:18px 18px 0 0}
  .store-switcher-controls{grid-template-columns:1fr;grid-template-areas:"search" "statuses" "summary"}
  .store-switcher-statuses{align-items:center}
  .store-switcher-statuses .tab{flex:1;justify-content:center}
  .store-switcher-current-label{align-items:flex-start;flex-direction:column;gap:3px}
}
@media(max-width:560px){
  .store-switcher-row{grid-template-columns:1fr;gap:10px}
  .store-switcher-row-action{justify-content:stretch}
  .store-switcher-row-action .btn{width:100%}
  .store-switcher-summary{align-items:flex-start;flex-direction:column;gap:3px}
  .store-switcher-pagination{display:grid;grid-template-columns:1fr auto 1fr}
  .store-switcher-pagination .state-btn:last-child{justify-self:end}
}

@keyframes storeSwitcherSpin{to{transform:rotate(360deg)}}

/* v1.2.0-fix237 本部在庫の表示範囲明示・店舗別ドリルダウン */
.inventory-scope-banner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:15px;align-items:center;margin:14px 0;padding:17px 18px;border:1px solid #e0d5c3;background:#fffaf2}
.inventory-scope-banner.store{border-color:#9dcfb0;background:#f4fbf7}
.inventory-scope-banner-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#fff0db;color:#a75600;font-size:21px;font-weight:1000}
.inventory-scope-banner.store .inventory-scope-banner-icon{background:#e5f4ea;color:#28734a}
.inventory-scope-banner-copy{display:grid;gap:3px;min-width:0}
.inventory-scope-banner-copy>span,.inventory-tab-scope span{font-size:10px;font-weight:1000;letter-spacing:.1em;color:#765a37}
.inventory-scope-banner-copy h2{margin:0;font-size:21px;line-height:1.25}
.inventory-scope-banner-copy p{margin:0;color:var(--muted);font-size:12px;line-height:1.65}
.inventory-scope-banner-copy small{color:#796b5b;font-size:11px;font-weight:850}
.inventory-scope-banner-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.inventory-tab-scope{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:10px 0 15px;padding:12px 14px;border:1px solid var(--line);border-radius:13px;background:#fff}
.inventory-tab-scope>div{display:grid;gap:2px}
.inventory-tab-scope b{font-size:14px}
.inventory-tab-scope small{color:var(--muted);font-size:11px;line-height:1.55}
.inventory-tab-scope.operational{border-color:#cfe4d6;background:#f7fcf8}
.inventory-tab-scope.common{border-color:#dfd8cb;background:#fbfaf7}
.inventory-store-preview-heading{margin-top:18px}
.inventory-store-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;margin-bottom:18px}
.inventory-store-preview-grid>.card{display:grid;gap:10px;margin:0;padding:14px}
.inventory-store-preview-grid>.card>div:last-of-type{display:flex;gap:8px 12px;flex-wrap:wrap;color:var(--muted);font-size:11px;font-weight:850}
.inventory-store-preview-grid>.card>.state-btn{justify-self:end}
.inventory-scope-picker-sheet{width:min(900px,100%);max-width:900px;max-height:min(92vh,940px);overflow:auto}
.inventory-scope-all-option{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;margin:14px 0;padding:15px 16px;border:1px solid #e3d9c9;border-radius:14px;background:#fffaf2;text-align:left;cursor:pointer}
.inventory-scope-all-option.current{border-color:#ff8c22;box-shadow:0 0 0 2px rgba(255,121,0,.12)}
.inventory-scope-all-option span{display:grid;gap:3px}.inventory-scope-all-option b{font-size:15px}.inventory-scope-all-option small{color:var(--muted);line-height:1.5}.inventory-scope-all-option strong{white-space:nowrap}
.inventory-scope-picker-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px;background:#faf9f6}
.inventory-scope-status-buttons{display:flex;gap:7px;flex-wrap:wrap}.inventory-scope-status-buttons .active{background:#111;color:#fff;border-color:#111}
.inventory-scope-picker-summary{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:12px 2px 8px}.inventory-scope-picker-summary b{font-size:17px}.inventory-scope-picker-summary span{color:var(--muted);font-size:11px}
.inventory-scope-store-list{display:grid;gap:8px}
.inventory-scope-store-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(280px,1.2fr) auto;gap:14px;align-items:center;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#fff}
.inventory-scope-store-row.current{border-color:#73b98b;background:#f5fbf7}.inventory-scope-store-row.inactive{background:#faf9f7}
.inventory-scope-store-row h3{margin:4px 0 2px;font-size:15px}.inventory-scope-store-row small{color:var(--muted)}
.inventory-scope-store-tags{display:flex;gap:5px;flex-wrap:wrap}
.inventory-scope-store-row dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0}
.inventory-scope-store-row dl>div{display:grid;gap:2px;padding:7px 8px;border-radius:9px;background:var(--soft)}
.inventory-scope-store-row dt{font-size:9px;color:var(--muted);font-weight:900}.inventory-scope-store-row dd{margin:0;font-size:12px;font-weight:950;overflow-wrap:anywhere}
.inventory-scope-picker-pager{display:flex;align-items:center;justify-content:center;gap:14px;padding-top:13px}.inventory-scope-picker-pager span{font-size:12px}
@media(max-width:900px){
  .inventory-scope-banner{grid-template-columns:auto minmax(0,1fr)}
  .inventory-scope-banner-actions{grid-column:1/-1;justify-content:stretch}.inventory-scope-banner-actions>*{flex:1}
  .inventory-scope-store-row{grid-template-columns:1fr auto}.inventory-scope-store-row dl{grid-column:1/-1}
}
@media(max-width:700px){
  .inventory-scope-banner{grid-template-columns:1fr;padding:15px}.inventory-scope-banner-icon{width:40px;height:40px}.inventory-scope-banner-actions{grid-column:auto;display:grid}.inventory-scope-banner-actions>*{width:100%}
  .inventory-tab-scope{align-items:stretch;flex-direction:column}.inventory-tab-scope .state-btn{width:100%}
  .inventory-store-preview-grid{grid-template-columns:1fr}
  .inventory-scope-picker-sheet{max-height:100%;border-radius:18px 18px 0 0}
  .inventory-scope-picker-controls{grid-template-columns:1fr}.inventory-scope-status-buttons{display:grid;grid-template-columns:repeat(3,1fr)}
  .inventory-scope-store-row{grid-template-columns:1fr}.inventory-scope-store-row dl{grid-column:auto;grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-scope-store-row .btn{width:100%}
  .inventory-scope-all-option{align-items:flex-start;flex-direction:column}.inventory-scope-all-option strong{align-self:flex-end}
}
.inventory-comparison-store-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0 0 10px}
.inventory-comparison-store-pager span{font-size:12px;color:var(--muted)}
@media(max-width:700px){.inventory-comparison-store-pager{justify-content:space-between}.inventory-comparison-store-pager .state-btn{flex:1}}

/* v1.2.0-fix238 本部在庫の情報階層・大規模運用ナビゲーション整理 */
.inventory-summary-section{display:grid;gap:10px;margin:16px 0}
.inventory-summary-section-heading{display:flex;align-items:end;justify-content:space-between;gap:14px}
.inventory-summary-section-heading>div{display:grid;gap:2px}
.inventory-summary-section-heading span{font-size:10px;font-weight:1000;letter-spacing:.11em;color:#7a5a35}
.inventory-summary-section-heading h2{margin:0;font-size:18px;line-height:1.25}
.inventory-summary-section-heading p{margin:0;color:var(--muted);font-size:11px;line-height:1.55}
.inventory-summary-section.common{padding:14px 15px;border:1px solid #e1d9cd;border-radius:15px;background:#fbfaf7}
.inventory-summary-section.operational{padding:14px 15px;border:1px solid #cee2d5;border-radius:15px;background:#f7fcf8}
.inventory-summary-common-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
.inventory-summary-operational-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin:0}
.inventory-summary-section .company-summary-grid article{min-height:96px}
.company-inventory-navigation.fix211-tabs{display:grid;gap:9px;position:sticky;top:calc(var(--demo-banner-offset) + var(--platform-banner-offset) + 78px);z-index:4;margin:12px 0 18px;padding:10px;border:1px solid var(--line);border-radius:16px;background:rgba(248,246,241,.96);box-shadow:0 10px 26px rgba(36,30,20,.06);backdrop-filter:blur(12px)}
.inventory-nav-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.inventory-nav-group{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--text);font:inherit;font-size:13px;font-weight:950;cursor:pointer;transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}
.inventory-nav-group:hover{transform:translateY(-1px);border-color:#d5a05f;box-shadow:0 7px 16px rgba(153,90,20,.08)}
.inventory-nav-group.active{border-color:#111;background:#111;color:#fff;box-shadow:0 8px 18px rgba(0,0,0,.12)}
.inventory-nav-group svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 18px}
.inventory-nav-subtabs{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:1px}
.inventory-nav-subtabs .tab{min-height:36px;padding:7px 13px}
.inventory-tab-scope.common.compact{margin:0 0 14px;padding:10px 12px}
.inventory-tab-scope.common.compact>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.inventory-tab-scope.common.compact span{font-size:9px}
.inventory-tab-scope.common.compact b{font-size:12px}
.inventory-tab-scope.common.compact small{font-size:10px}
.inventory-store-preview-grid{grid-template-columns:repeat(auto-fill,minmax(250px,300px));justify-content:start;align-items:start}
.inventory-store-preview-card{display:grid!important;gap:11px!important;padding:14px!important}
.inventory-store-preview-card.attention{border-color:#e4b169;background:#fffaf0}
.inventory-store-preview-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.inventory-store-preview-card header>div{display:grid;gap:4px;min-width:0}
.inventory-store-preview-card header h3{margin:0;overflow-wrap:anywhere}
.inventory-store-preview-card header>b{white-space:nowrap;font-size:14px}
.inventory-store-preview-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}
.inventory-store-preview-card dl>div{display:grid;gap:2px;padding:8px;border-radius:9px;background:var(--soft)}
.inventory-store-preview-card dt{font-size:9px;color:var(--muted);font-weight:900}
.inventory-store-preview-card dd{margin:0;font-size:13px;font-weight:1000}
.inventory-store-preview-card>.state-btn{justify-self:stretch}
.inventory-scope-banner-actions .state-btn:first-child{font-weight:950}
@media(max-width:1050px){
  .inventory-summary-operational-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .inventory-nav-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .inventory-summary-common-grid,.inventory-summary-operational-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .inventory-summary-section{padding:12px!important}
  .inventory-summary-section .company-summary-grid article{min-height:88px}
  .company-inventory-navigation.fix211-tabs{top:calc(var(--demo-banner-offset) + var(--platform-banner-offset) + 70px);padding:8px;border-radius:14px}
  .inventory-nav-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .inventory-nav-group{min-height:44px;padding:9px 8px;font-size:12px}
  .inventory-nav-subtabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .inventory-nav-subtabs .tab{width:100%;justify-content:center;text-align:center}
  .inventory-tab-scope.common.compact>div{display:grid;gap:2px}
  .inventory-store-preview-grid{grid-template-columns:1fr}
}
@media(max-width:430px){
  .inventory-summary-common-grid,.inventory-summary-operational-grid{grid-template-columns:1fr 1fr}
  .inventory-nav-group span{font-size:11px}
}

/* v1.2.0-fix240 発注書・入荷履歴の本部共通UI・一覧・入力モーダル再設計 */
.procurement-page{max-width:1180px;padding-bottom:80px}
.procurement-context-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;margin:14px 0;padding:17px 18px;border:1px solid #e7d5b5;border-radius:18px;background:linear-gradient(135deg,#fffaf1,#fff);box-shadow:0 7px 22px rgba(83,55,13,.05)}
.procurement-context-card h2,.procurement-context-card p{margin:0}.procurement-context-card h2{font-size:1.15rem}.procurement-context-card p{margin-top:4px;color:var(--muted);font-size:.82rem;line-height:1.55}.procurement-context-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#fff0d8;color:#b85d00;font-size:22px;font-weight:900}.procurement-context-card>.pill{white-space:nowrap}
.procurement-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:12px 0 16px}.procurement-summary-grid article{min-height:112px;padding:15px 16px;border-radius:15px;align-content:start;box-shadow:0 4px 16px rgba(0,0,0,.035)}.procurement-summary-grid article.attention{border-color:#df9d32;background:#fff8e6}.procurement-summary-grid article>span{font-size:.78rem;font-weight:800}.procurement-summary-grid article>b{font-size:1.4rem;line-height:1.25;margin-top:3px}.procurement-summary-grid article>small{font-size:.72rem;line-height:1.4}
.procurement-view-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:8px;margin:0 0 18px}.procurement-view-tabs .tab{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:13px;font-weight:900}.procurement-view-tabs .tab span{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#efeee9;color:#555;font-size:.72rem}.procurement-view-tabs .tab.active span{background:#fff;color:#111}
.procurement-section-heading{align-items:flex-end;margin:10px 0 12px}.procurement-section-heading .staff-order-kicker{margin-bottom:5px}.procurement-section-heading h2{font-size:1.42rem}.procurement-section-heading>span,.procurement-section-actions>span{color:var(--muted);font-size:.8rem;font-weight:800}.procurement-section-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.procurement-filter-panel{display:grid;grid-template-columns:minmax(260px,1fr) minmax(420px,1.6fr) auto;gap:12px;align-items:end;margin:0 0 14px;padding:14px}.procurement-search-field,.procurement-status-field{display:grid;gap:6px;min-width:0}.procurement-search-field>span,.procurement-status-field>span{color:var(--muted);font-size:.75rem;font-weight:900}.procurement-status-field .tabs{padding:0;gap:5px;overflow:visible;flex-wrap:wrap}.procurement-status-field .tab{padding:9px 12px}.procurement-filter-actions{display:flex;gap:7px;align-items:center}.procurement-filter-actions>*{white-space:nowrap}
.procurement-order-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.procurement-order-grid>.empty-state{grid-column:1/-1}.procurement-order-card{display:grid;gap:12px;margin:0;padding:16px;border-radius:17px}.procurement-order-card.overdue{border-color:#df817b;background:linear-gradient(180deg,#fff8f8,#fff)}.procurement-order-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start}.procurement-order-title{min-width:0}.procurement-order-badges{display:flex;gap:5px;flex-wrap:wrap}.procurement-order-title h3{margin:7px 0 2px;font-size:1.06rem;overflow-wrap:anywhere}.procurement-order-title p{margin:0;color:var(--muted);font-size:.82rem}.procurement-order-amount{display:grid;text-align:right;gap:3px}.procurement-order-amount small{color:var(--muted);font-size:.7rem}.procurement-order-amount b{font-size:1.25rem;white-space:nowrap}.procurement-order-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.procurement-order-dates>span{display:grid;gap:3px;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:#fafaf8}.procurement-order-dates small,.procurement-order-metrics small{color:var(--muted);font-size:.69rem;font-weight:800}.procurement-order-dates b{font-size:.84rem}.procurement-order-dates .warning{border-color:#e1a09a;background:#fff4f4;color:#9e221a}.procurement-order-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.procurement-order-metrics span{padding:9px 10px;border:1px solid #eceae4;background:#f7f7f4}.procurement-order-metrics b{font-size:.88rem}.procurement-order-metrics .remaining{background:#fff7e9;border-color:#edc67f}.procurement-note{display:grid;gap:3px;padding:10px 11px;border:1px solid #eee7d8;background:#fffaf0}.procurement-note b{font-size:.72rem}.procurement-note span{color:#5e5546;font-size:.79rem;line-height:1.5}.procurement-order-actions{padding-top:10px;border-top:1px solid #eceae4}.procurement-order-actions .btn,.procurement-order-actions .state-btn{min-height:40px}
.procurement-receipt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.procurement-receipt-grid>.empty-state{grid-column:1/-1}.procurement-receipt-card{display:grid;gap:13px;width:100%;margin:0;padding:16px;text-align:left;cursor:pointer}.procurement-receipt-card:hover{border-color:#d69a3d;box-shadow:0 8px 24px rgba(85,54,10,.09)}.procurement-receipt-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.procurement-receipt-card h3{margin:7px 0 2px}.procurement-receipt-card p{margin:0;color:var(--muted)}.procurement-receipt-card header>strong{font-size:1.25rem;white-space:nowrap}.procurement-receipt-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}.procurement-receipt-card dl>div{padding:9px 10px;border-radius:10px;background:#f7f7f4}.procurement-receipt-card dt{color:var(--muted);font-size:.69rem;font-weight:800}.procurement-receipt-card dd{margin:3px 0 0;font-size:.82rem;font-weight:800;overflow-wrap:anywhere}.procurement-receipt-open{display:flex;justify-content:flex-end;align-items:center;gap:7px;color:#6b3db8;font-size:.78rem;font-weight:900}.procurement-receipt-open b{font-size:1.2rem}

.store-admin-body .modal>.procurement-editor-shell{display:flex;flex-direction:column;padding:0!important;overflow:hidden!important;background:#f6f5f1}.store-admin-body .modal>.purchase-order-editor-sheet{width:min(1160px,100%);max-width:1160px}.store-admin-body .modal>.purchase-receipt-sheet{width:min(1080px,100%);max-width:1080px}.procurement-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px 17px;border-bottom:1px solid var(--line);background:#fff}.procurement-modal-head h2{margin:5px 0 4px;font-size:1.5rem}.procurement-modal-head p{margin:0;color:var(--muted);font-size:.84rem;line-height:1.55}.procurement-modal-head>.tab{flex:0 0 auto}.procurement-modal-badges{display:flex;gap:6px;flex-wrap:wrap;margin:5px 0}.procurement-modal-scroll{display:grid;gap:14px;padding:16px 18px 20px;overflow:auto;overscroll-behavior:contain}.procurement-editor-section{display:grid;gap:14px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff}.procurement-editor-section-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center}.procurement-editor-section-head>span{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#fff0d8;color:#a55100;font-weight:900}.procurement-editor-section-head h3,.procurement-editor-section-head p{margin:0}.procurement-editor-section-head h3{font-size:1.02rem}.procurement-editor-section-head p{margin-top:3px;color:var(--muted);font-size:.76rem;line-height:1.45}.procurement-form-grid{gap:11px}.procurement-form-grid label>span,.purchase-item-row label>span,.purchase-receive-fields label>span{font-size:.74rem;color:var(--muted);font-weight:900}.purchase-order-meta{margin:0}.purchase-items-section{margin:0}.purchase-items-list{gap:10px;margin:0}.purchase-item-row{display:grid;grid-template-columns:1fr;gap:11px;padding:13px;border:1px solid #e5e2da;border-radius:14px;background:#fafaf8}.purchase-item-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.purchase-item-row-head>div{display:grid;gap:1px}.purchase-item-row-head .staff-order-kicker{font-size:.63rem;margin:0}.purchase-item-row-head>b{font-size:.86rem}.purchase-item-row-grid{display:grid;grid-template-columns:minmax(260px,1.55fr) minmax(110px,.55fr) minmax(130px,.65fr) minmax(180px,1fr);gap:9px;align-items:end}.purchase-item-row-grid label{display:grid;gap:5px;min-width:0}.purchase-stock-hint{font-size:.7rem;color:var(--muted);line-height:1.4}.purchase-remove{margin:0;padding:8px 12px}.purchase-item-subtotal{display:flex;justify-content:flex-end;align-items:center;gap:9px;padding-top:8px;border-top:1px dashed #ddd9cf}.purchase-item-subtotal span{color:var(--muted);font-size:.72rem;font-weight:800}.purchase-item-subtotal b{font-size:1rem}.procurement-editor-notice{display:grid;gap:3px;margin:0}.procurement-editor-notice b{font-size:.82rem}.procurement-editor-notice span{font-size:.78rem;line-height:1.5}.procurement-editor-footer{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:16px;align-items:center;padding:14px 18px;border-top:1px solid var(--line);background:#fff;box-shadow:0 -9px 24px rgba(0,0,0,.06)}.procurement-editor-footer>div:last-child{display:flex;gap:8px}.procurement-editor-footer .btn{min-width:150px}.purchase-editor-total{display:grid;gap:2px;margin:0;text-align:left}.purchase-editor-total span{color:var(--muted);font-size:.74rem;font-weight:800}.purchase-editor-total b{margin:0;font-size:1.45rem}
.purchase-receipt-order-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.purchase-receipt-order-summary>span{display:grid;gap:3px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}.purchase-receipt-order-summary small,.purchase-receive-stock small{color:var(--muted);font-size:.69rem;font-weight:800}.purchase-receipt-order-summary b{font-size:.88rem}.purchase-receive-select-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.purchase-receive-select-actions .state-btn{padding:8px 11px}.purchase-receive-list{gap:10px;margin:0}.purchase-receive-row{display:grid;grid-template-columns:1fr;gap:11px;padding:14px;border:1px solid #dfddd6;border-radius:14px;background:#fff}.purchase-receive-row.disabled{opacity:.55;background:#f1f0ec}.purchase-receive-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.purchase-receive-select{display:flex;gap:10px;align-items:flex-start;min-width:0}.purchase-receive-select input{width:21px;height:21px;margin-top:2px;accent-color:#ef7200}.purchase-receive-select>span{display:grid;gap:2px}.purchase-receive-select small{color:var(--muted);font-size:.68rem}.purchase-receive-select b{font-size:1rem}.purchase-receive-select em{font-style:normal;color:var(--muted);font-size:.7rem}.purchase-receive-total{font-size:1.08rem;white-space:nowrap;text-align:right}.purchase-receive-stock{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.purchase-receive-stock>span{display:grid;gap:2px;padding:8px 10px;border-radius:10px;background:#f7f7f4}.purchase-receive-stock b{font-size:.82rem}.purchase-receive-fields{display:grid;grid-template-columns:minmax(115px,.65fr) minmax(145px,.75fr) minmax(220px,1.15fr) minmax(160px,.85fr);gap:8px;align-items:end}.purchase-receive-fields label{display:grid;gap:5px;min-width:0}.purchase-receive-expiry{display:grid!important;grid-template-columns:1fr 1fr;gap:6px!important;align-items:end}.purchase-receive-expiry>span{grid-column:1/-1}.purchase-receive-expiry .purchase-receive-expiry-date{grid-column:auto}.purchase-receive-section{padding-bottom:16px}
.purchase-order-detail-sheet{border-radius:22px!important}.purchase-detail-title{padding-bottom:12px;border-bottom:1px solid var(--line)}.purchase-detail-summary article{border:1px solid #e8e5dd;background:#fafaf8}.purchase-detail-actions{position:sticky;bottom:-18px;margin:18px -18px -18px;padding:13px 18px;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 22px rgba(0,0,0,.05)}

@media(max-width:1040px){.procurement-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.procurement-summary-grid article:nth-child(n+4){grid-column:auto}.procurement-filter-panel{grid-template-columns:1fr}.procurement-filter-actions{justify-content:flex-end}.purchase-item-row-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-item-name,.purchase-item-note{grid-column:1/-1}.purchase-receive-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.procurement-order-grid,.procurement-receipt-grid{grid-template-columns:1fr}.procurement-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-context-card{grid-template-columns:auto minmax(0,1fr)}.procurement-context-card>.pill{grid-column:2;justify-self:start}.procurement-editor-section-head{grid-template-columns:auto minmax(0,1fr)}.procurement-editor-section-head>button,.procurement-editor-section-head>.purchase-receive-select-actions{grid-column:2;justify-self:start}.purchase-receipt-order-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-editor-footer{grid-template-columns:1fr}.procurement-editor-footer>div:last-child{justify-content:flex-end}}
@media(max-width:600px){.procurement-context-card{grid-template-columns:1fr;padding:15px}.procurement-context-icon{display:none}.procurement-context-card>.pill{grid-column:auto}.procurement-summary-grid{grid-template-columns:1fr 1fr}.procurement-summary-grid article{min-height:102px;padding:13px}.procurement-summary-grid article:last-child{grid-column:1/-1}.procurement-view-tabs{grid-template-columns:1fr 1fr}.procurement-section-heading{align-items:flex-start;flex-direction:column}.procurement-filter-panel{padding:12px}.procurement-status-field .tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-status-field .tab{width:100%}.procurement-filter-actions{display:grid;grid-template-columns:1fr}.procurement-filter-actions>*{width:100%}.procurement-order-dates,.procurement-order-metrics{grid-template-columns:1fr 1fr}.procurement-order-metrics span:last-child{grid-column:1/-1}.procurement-order-actions{display:grid;grid-template-columns:1fr 1fr}.procurement-order-actions>*{width:100%}.procurement-receipt-card dl{grid-template-columns:1fr}.store-admin-body .modal>.procurement-editor-shell{width:100%;max-width:none;border-radius:20px 20px 0 0}.procurement-modal-head{padding:16px}.procurement-modal-head h2{font-size:1.25rem}.procurement-modal-scroll{padding:12px}.procurement-editor-section{padding:13px}.procurement-editor-section-head{grid-template-columns:auto minmax(0,1fr)}.procurement-editor-section-head>button,.procurement-editor-section-head>.purchase-receive-select-actions{grid-column:1/-1;justify-self:stretch}.purchase-receive-select-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.purchase-item-row-grid,.purchase-receive-fields,.purchase-receipt-order-summary{grid-template-columns:1fr}.purchase-item-name,.purchase-item-note{grid-column:auto}.purchase-receive-expiry{grid-template-columns:1fr!important}.purchase-receive-expiry>span,.purchase-receive-expiry .purchase-receive-expiry-date{grid-column:auto}.purchase-receive-row-head{align-items:flex-start}.purchase-receive-total{font-size:.95rem}.procurement-editor-footer{padding:12px}.procurement-editor-footer>div:last-child{display:grid;grid-template-columns:1fr}.procurement-editor-footer .btn{width:100%;min-width:0}.purchase-editor-total{text-align:right}.purchase-detail-summary{grid-template-columns:1fr 1fr}}
.procurement-context-icon svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}

/* v1.2.0-fix241 発注一覧・発注品目・入荷確認の最終整理 */
.procurement-order-grid{grid-template-columns:1fr}
.procurement-order-card{grid-template-columns:minmax(220px,1.1fr) minmax(410px,1.85fr) minmax(210px,.85fr);gap:18px;align-items:center;padding:17px 18px}
.procurement-order-identity{display:grid;gap:4px;min-width:0}.procurement-order-identity h3{margin:3px 0 0;font-size:1.05rem;overflow-wrap:anywhere}.procurement-order-identity>p{margin:0;color:var(--muted);font-size:.82rem}.procurement-order-identity .procurement-note{margin-top:7px;max-width:100%}
.procurement-order-information{display:grid;gap:8px;min-width:0}.procurement-order-side{display:grid;gap:12px;align-self:stretch;align-content:center}.procurement-order-side .procurement-order-amount{text-align:right}.procurement-order-side .procurement-order-actions{display:flex;justify-content:flex-end;align-items:center;padding-top:10px;border-top:1px solid #eceae4}.procurement-order-side .procurement-order-actions>*{flex:0 0 auto}
.purchase-item-row-head .purchase-item-title{font-size:.96rem;line-height:1.35;overflow-wrap:anywhere}.purchase-cost-field{align-self:start}.purchase-cost-warning{display:block;margin-top:2px;padding:5px 7px;border-radius:8px;background:#fff2db;color:#975000;font-size:.68rem!important;font-weight:800;line-height:1.35}.purchase-cost-warning[hidden]{display:none}
.purchase-receive-select-area{display:grid;gap:5px;justify-items:end}.purchase-receive-select-area>b{color:#315846;font-size:.75rem}.purchase-receive-stock{grid-template-columns:repeat(3,minmax(0,1fr))}.purchase-receive-stock .purchase-receive-after{background:#eef8f2;border:1px solid #b9ddc5}.purchase-receive-stock .purchase-receive-after b{color:#17663b;font-size:.9rem}.purchase-receive-cost-field>small{color:var(--muted);font-size:.67rem;line-height:1.35}.purchase-receive-expiry-help{grid-column:1/-1;color:var(--muted);font-size:.65rem;line-height:1.35}.purchase-receive-expiry .purchase-receive-expiry-help{grid-column:1/-1}
@media(max-width:1100px){.procurement-order-card{grid-template-columns:minmax(220px,1fr) minmax(360px,1.5fr)}.procurement-order-side{grid-column:1/-1;grid-template-columns:auto minmax(0,1fr);align-items:center}.procurement-order-side .procurement-order-amount{text-align:left}.procurement-order-side .procurement-order-actions{padding-top:0;border-top:0}}
@media(max-width:760px){.procurement-order-card{grid-template-columns:1fr}.procurement-order-side{grid-column:auto;grid-template-columns:1fr}.procurement-order-side .procurement-order-amount{text-align:right}.procurement-order-side .procurement-order-actions{padding-top:10px;border-top:1px solid #eceae4}.purchase-receive-select-area{grid-column:1/-1;justify-items:stretch}.purchase-receive-select-area>b{text-align:left}.purchase-receive-stock{grid-template-columns:1fr 1fr}.purchase-receive-stock .purchase-receive-after{grid-column:1/-1}.purchase-receive-cost-field>small,.purchase-receive-expiry-help{font-size:.7rem}}

/* v1.2.0-fix242 入荷品目未選択時の確定防止・品目見出し整理 */
.purchase-receive-item-heading{display:grid!important;grid-template-columns:minmax(0,1fr);gap:2px;min-width:0;line-height:1.25}
.purchase-receive-item-heading>small{display:block;color:var(--muted);font-size:.68rem;font-weight:800}
.purchase-receive-item-heading>strong{display:block;font-size:1rem;line-height:1.35;overflow-wrap:anywhere}
.purchase-receive-item-code{display:block;color:var(--muted);font-size:.7rem;font-weight:700;line-height:1.35}
#purchaseReceiveButton:disabled{background:#e6e5e0;color:#797973;opacity:1;box-shadow:none;cursor:not-allowed}
@media(max-width:600px){.purchase-receive-item-heading>strong{font-size:.96rem}.purchase-receive-item-code{font-size:.68rem}}

/* v1.2.0-fix243 fix241発注品目レイアウト統合 */
.purchase-item-row-grid{grid-template-columns:minmax(320px,1.8fr) minmax(130px,.58fr) minmax(160px,.68fr);gap:10px 12px;align-items:start}
.purchase-item-row-grid>label{align-content:start}
.purchase-item-name,.purchase-item-quantity,.purchase-item-cost{grid-row:1}
.purchase-item-note{grid-column:1/-1;grid-row:2}
.purchase-item-note textarea.purchase-note{width:100%;min-height:72px;resize:vertical;line-height:1.55}
@media(max-width:1040px){.purchase-item-row-grid{grid-template-columns:minmax(240px,1.5fr) minmax(120px,.65fr) minmax(150px,.75fr)}.purchase-item-name,.purchase-item-quantity,.purchase-item-cost{grid-row:1}.purchase-item-note{grid-column:1/-1;grid-row:2}}
@media(max-width:760px){.purchase-item-row-grid{grid-template-columns:1fr}.purchase-item-name,.purchase-item-quantity,.purchase-item-cost,.purchase-item-note{grid-column:auto;grid-row:auto}.purchase-item-note textarea.purchase-note{min-height:86px}}

/* v1.2.0-fix243 店舗間移動UI・100店舗対応 */
.inventory-transfer-single-store{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px;margin-top:18px}.inventory-transfer-single-store h2{margin:4px 0 6px}.inventory-transfer-single-store p{margin:0;max-width:720px;color:var(--muted);line-height:1.65}
.inventory-transfer-heading243{align-items:flex-end}.inventory-transfer-status-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:14px 0}.inventory-transfer-status-summary button{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--text);text-align:left;cursor:pointer}.inventory-transfer-status-summary button span{font-size:.77rem;font-weight:800;color:var(--muted)}.inventory-transfer-status-summary button b{font-size:1.25rem}.inventory-transfer-status-summary button.active{border-color:#d48a2c;background:#fff7e9;box-shadow:0 0 0 2px rgba(212,138,44,.12)}
.inventory-transfer-filter243{display:grid;grid-template-columns:minmax(260px,1fr) minmax(360px,1.25fr) auto;gap:12px;align-items:end;margin-bottom:14px;padding:14px}.inventory-transfer-filter243>label{display:grid;gap:5px}.inventory-transfer-filter243>label>span{font-size:.72rem;font-weight:900;color:var(--muted)}.inventory-transfer-store-filters243{display:grid;grid-template-columns:1fr 1fr;gap:8px}.inventory-transfer-store-filters243 button{display:grid;justify-items:start;gap:2px;min-height:52px;padding:8px 11px;text-align:left}.inventory-transfer-store-filters243 small{font-size:.66rem;color:var(--muted)}.inventory-transfer-store-filters243 b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inventory-transfer-filter-actions243{display:flex;gap:8px}.inventory-transfer-result-heading243{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;color:var(--muted);font-size:.8rem}.inventory-transfer-list243{gap:10px}.inventory-transfer-card243{gap:12px;padding:16px 17px}.inventory-transfer-card243.shipped{border-color:#e2b75d;background:#fffdf7}.inventory-transfer-card243 header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:start}.inventory-transfer-card-id h3{margin:6px 0 2px;font-size:1rem}.inventory-transfer-card-id small,.inventory-transfer-card-value span{color:var(--muted);font-size:.72rem}.inventory-transfer-card-value{display:grid;justify-items:end}.inventory-transfer-card-value b{display:flex;align-items:baseline;gap:6px;font-size:1.22rem}.inventory-transfer-card-value b small{font-size:.65rem;color:var(--muted)}.inventory-transfer-route243{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:center;padding:12px;border-radius:12px;background:var(--soft)}.inventory-transfer-route243>div{display:grid;gap:2px;min-width:0}.inventory-transfer-route243 small{font-size:.66rem;font-weight:900;color:var(--muted)}.inventory-transfer-route243 b{overflow-wrap:anywhere}.inventory-transfer-route243 span{font-size:.68rem;color:var(--muted)}.inventory-transfer-route243 i{font-style:normal;font-size:1.25rem;color:#b56d18}.inventory-transfer-card-meta243{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:.73rem}.inventory-transfer-card243 footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding-top:11px;border-top:1px solid var(--line)}.inventory-transfer-pager243,.inventory-transfer-item-pager243,.inventory-transfer-store-picker-pager243{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:14px}.inventory-transfer-pager243 span,.inventory-transfer-item-pager243 span{font-size:.78rem;color:var(--muted)}
.inventory-transfer-store-picker-modal243{z-index:10030}.inventory-transfer-store-picker-sheet243{width:min(760px,calc(100vw - 24px));max-width:760px;max-height:min(82vh,780px);display:flex;flex-direction:column;padding:0!important;overflow:hidden!important}.inventory-transfer-store-picker-sheet243>header{padding:18px 20px;border-bottom:1px solid var(--line)}.inventory-transfer-store-picker-sheet243 h2{margin:4px 0}.inventory-transfer-store-picker-search243{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:13px 16px;background:var(--soft)}.inventory-transfer-store-picker-summary243{font-size:.75rem;color:var(--muted)}.inventory-transfer-store-picker-results243{display:grid;gap:8px;padding:14px 16px;overflow:auto}.inventory-transfer-store-picker-row243{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--text);text-align:left;cursor:pointer}.inventory-transfer-store-picker-row243:hover{border-color:#d8a45f;background:#fffaf2}.inventory-transfer-store-picker-row243>span{display:grid;gap:3px;min-width:0}.inventory-transfer-store-picker-row243 b{overflow-wrap:anywhere}.inventory-transfer-store-picker-row243 small{color:var(--muted)}.inventory-transfer-store-picker-row243 strong{color:#a45700}.inventory-transfer-store-picker-row243.all{border-style:dashed}.inventory-transfer-store-picker-row243:disabled{opacity:.55;cursor:not-allowed}.inventory-transfer-store-picker-pager243{padding:12px 16px;margin:0;border-top:1px solid var(--line);background:#fff}
.inventory-transfer-editor-sheet243{width:min(1120px,calc(100vw - 24px));max-width:1120px;max-height:min(92vh,940px);display:flex;flex-direction:column;padding:0!important;overflow:hidden!important}.inventory-transfer-editor-head243{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:19px 21px 16px;border-bottom:1px solid var(--line);background:#fff}.inventory-transfer-editor-head243 h2{margin:4px 0}.inventory-transfer-editor-head243 p{margin:0;color:var(--muted);font-size:.8rem;line-height:1.55}.inventory-transfer-editor-scroll243{display:grid;gap:13px;padding:14px 17px 18px;overflow:auto;background:#f6f5f1}.inventory-transfer-editor-section243{display:grid;gap:13px;padding:15px;border:1px solid var(--line);border-radius:15px;background:#fff}.inventory-transfer-editor-section243>header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center}.inventory-transfer-editor-section243>header>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#fff0d8;color:#a55100;font-weight:900}.inventory-transfer-editor-section243 h3,.inventory-transfer-editor-section243 p{margin:0}.inventory-transfer-editor-section243 p{margin-top:3px;color:var(--muted);font-size:.75rem}.inventory-transfer-editor-route243{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:11px;align-items:center}.inventory-transfer-editor-route243>button{display:grid;gap:3px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fafaf8;color:var(--text);text-align:left;cursor:pointer}.inventory-transfer-editor-route243>button:hover{border-color:#d59a4e;background:#fffaf2}.inventory-transfer-editor-route243 small{font-size:.66rem;font-weight:900;color:var(--muted)}.inventory-transfer-editor-route243 b{font-size:.98rem}.inventory-transfer-editor-route243 span{font-size:.69rem;color:var(--muted)}.inventory-transfer-editor-route243 i{font-style:normal;font-size:1.4rem;color:#b56d18}.inventory-transfer-item-filter243{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;gap:9px}.inventory-transfer-item243{display:grid;grid-template-columns:minmax(0,1fr) 160px 170px;gap:12px;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}.inventory-transfer-item243+.inventory-transfer-item243{margin-top:8px}.inventory-transfer-item243.selected{border-color:#7bb48c;background:#f2faf5;box-shadow:0 0 0 2px rgba(50,130,78,.08)}.inventory-transfer-item243.disabled{opacity:.6}.inventory-transfer-item243>label:first-child{display:flex;align-items:center;gap:10px;min-width:0}.inventory-transfer-item243>label:first-child>span{display:flex;align-items:center;gap:10px;min-width:0}.inventory-transfer-item243 img,.inventory-transfer-item243 i{width:42px;height:42px;border-radius:9px;object-fit:cover;background:var(--soft);display:grid;place-items:center;font-style:normal}.inventory-transfer-item243>label:first-child span span{display:grid;gap:2px;min-width:0}.inventory-transfer-item243 b{overflow-wrap:anywhere}.inventory-transfer-item243 small{color:var(--muted);font-size:.69rem}.inventory-transfer-item-stock243{display:grid;gap:2px}.inventory-transfer-item-stock243 b{font-size:.93rem}.inventory-transfer-item-quantity243{display:grid;gap:4px}.inventory-transfer-item-quantity243>span{font-size:.69rem;font-weight:900;color:var(--muted)}.inventory-transfer-selected-items243{display:flex;gap:7px;flex-wrap:wrap}.inventory-transfer-selected-items243>span{display:grid;grid-template-columns:auto auto auto;gap:8px;align-items:center;padding:7px 9px;border-radius:10px;background:#eef8f2;border:1px solid #c3dfca}.inventory-transfer-selected-items243 small{color:#55725f}.inventory-transfer-selected-items243 button{border:0;background:transparent;color:#8a3e35;font-size:1rem;cursor:pointer}.inventory-transfer-selected-items243 p{margin:0;color:var(--muted)}.inventory-transfer-editor-section243>label{display:grid;gap:5px}.inventory-transfer-editor-section243>label>span{font-size:.72rem;font-weight:900;color:var(--muted)}.inventory-transfer-editor-footer243{display:grid;grid-template-columns:minmax(180px,1fr) auto;gap:16px;align-items:center;padding:13px 17px;border-top:1px solid var(--line);background:#fff;box-shadow:0 -8px 22px rgba(0,0,0,.06)}.inventory-transfer-editor-footer243>div{display:grid;gap:2px}.inventory-transfer-editor-footer243>div>span{font-size:.68rem;font-weight:900;color:var(--muted)}.inventory-transfer-editor-footer243 strong{font-size:1.18rem}.inventory-transfer-editor-footer243 .btn{min-width:260px}
.inventory-transfer-detail243{width:min(1040px,calc(100vw - 24px));max-width:1040px;max-height:min(92vh,940px);overflow:auto!important;padding:0!important}.inventory-transfer-detail-head243{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:3}.inventory-transfer-detail-head243 h2{margin:4px 0}.inventory-transfer-detail-route243{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 180px;gap:12px;align-items:center;margin:15px 18px;padding:14px;border-radius:14px;background:var(--soft)}.inventory-transfer-detail-route243>div,.inventory-transfer-detail-route243>aside{display:grid;gap:3px}.inventory-transfer-detail-route243 small{font-size:.67rem;font-weight:900;color:var(--muted)}.inventory-transfer-detail-route243 i{font-style:normal;font-size:1.4rem;color:#b56d18}.inventory-transfer-detail-route243 aside{padding-left:14px;border-left:1px solid var(--line)}.inventory-transfer-detail-route243 aside span{color:var(--muted);font-size:.72rem}.inventory-transfer-timeline243{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;list-style:none;margin:0 18px 15px;padding:0}.inventory-transfer-timeline243 li{display:grid;grid-template-columns:auto 1fr;gap:9px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:12px;background:#fafaf8}.inventory-transfer-timeline243 li>span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#e8e6df;color:#777;font-weight:900}.inventory-transfer-timeline243 li.done>span{background:#dff2e5;color:#17663b}.inventory-transfer-timeline243 li.cancelled>span{background:#f8dddd;color:#9b3028}.inventory-transfer-timeline243 li div{display:grid;gap:2px}.inventory-transfer-timeline243 small{color:var(--muted);font-size:.66rem}.inventory-transfer-detail-items243{display:grid;gap:9px;margin:0 18px 15px}.inventory-transfer-detail-items243>article{display:grid;gap:10px;padding:13px;border:1px solid var(--line);border-radius:13px;background:#fff}.inventory-transfer-detail-items243 article>header{display:flex;justify-content:space-between;gap:12px}.inventory-transfer-detail-items243 article>header>div{display:grid;gap:2px}.inventory-transfer-detail-items243 article>header small{color:var(--muted)}.inventory-transfer-detail-items243 article>header strong{white-space:nowrap}.inventory-transfer-detail-items243 dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0}.inventory-transfer-detail-items243 dl>div{display:grid;gap:2px;padding:8px;border-radius:9px;background:var(--soft)}.inventory-transfer-detail-items243 dt{font-size:.64rem;font-weight:900;color:var(--muted)}.inventory-transfer-detail-items243 dd{margin:0;font-size:.78rem;font-weight:800}.inventory-transfer-lots243{display:grid;gap:6px}.inventory-transfer-lots243>span{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;padding:8px 9px;border-radius:9px;background:#f4f7f5}.inventory-transfer-lots243 small{color:var(--muted)}.inventory-transfer-lots243 em{font-style:normal;font-size:.7rem;color:#17663b}.inventory-transfer-lot-pending243{color:var(--muted)}.inventory-transfer-detail243>.notice{margin:0 18px 15px;display:grid;gap:4px}.inventory-transfer-detail-actions243{display:flex;justify-content:flex-end;gap:9px;padding:14px 18px;border-top:1px solid var(--line);position:sticky;bottom:0;background:#fff}
@media(max-width:900px){.inventory-transfer-filter243{grid-template-columns:1fr}.inventory-transfer-filter-actions243{justify-content:flex-end}.inventory-transfer-item243{grid-template-columns:minmax(0,1fr) 140px}.inventory-transfer-item-quantity243{grid-column:1/-1}.inventory-transfer-detail-route243{grid-template-columns:1fr auto 1fr}.inventory-transfer-detail-route243 aside{grid-column:1/-1;padding:10px 0 0;border-left:0;border-top:1px solid var(--line)}.inventory-transfer-detail-items243 dl{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.inventory-transfer-single-store{display:grid}.inventory-transfer-status-summary{grid-template-columns:1fr 1fr}.inventory-transfer-store-filters243{grid-template-columns:1fr}.inventory-transfer-filter-actions243{display:grid;grid-template-columns:1fr 1fr}.inventory-transfer-filter-actions243>*{width:100%}.inventory-transfer-card243 header{grid-template-columns:1fr}.inventory-transfer-card-value{justify-items:start}.inventory-transfer-route243{grid-template-columns:1fr}.inventory-transfer-route243 i{transform:rotate(90deg);justify-self:center}.inventory-transfer-card243 footer{display:grid;grid-template-columns:1fr 1fr}.inventory-transfer-card243 footer>*{width:100%}.inventory-transfer-store-picker-search243{grid-template-columns:1fr}.inventory-transfer-store-picker-sheet243{width:100%;max-width:none;max-height:92vh;border-radius:20px 20px 0 0}.inventory-transfer-editor-sheet243{width:100%;max-width:none;max-height:94vh;border-radius:20px 20px 0 0}.inventory-transfer-editor-route243{grid-template-columns:1fr}.inventory-transfer-editor-route243 i{transform:rotate(90deg);justify-self:center}.inventory-transfer-item-filter243{grid-template-columns:1fr}.inventory-transfer-item243{grid-template-columns:1fr}.inventory-transfer-item-stock243,.inventory-transfer-item-quantity243{grid-column:auto}.inventory-transfer-editor-footer243{grid-template-columns:1fr}.inventory-transfer-editor-footer243 .btn{width:100%;min-width:0}.inventory-transfer-detail-route243{grid-template-columns:1fr}.inventory-transfer-detail-route243 i{transform:rotate(90deg);justify-self:center}.inventory-transfer-timeline243{grid-template-columns:1fr}.inventory-transfer-detail-items243 article>header{display:grid}.inventory-transfer-detail-items243 dl{grid-template-columns:1fr 1fr}.inventory-transfer-lots243>span{grid-template-columns:1fr}.inventory-transfer-detail-actions243{display:grid}.inventory-transfer-detail-actions243>*{width:100%}}

/* v1.2.0-fix245 店舗間移動・1店舗案内のスマホ見出し */
@media(max-width:560px){
  .inventory-transfer-single-store-dialog245 .platform-dialog-copy h2{
    font-size:clamp(17px,4.9vw,19px);
    line-height:1.35;
    letter-spacing:-.035em;
    white-space:nowrap;
  }
}
@media(max-width:340px){
  .inventory-transfer-single-store-dialog245 .platform-dialog-sheet{
    grid-template-columns:40px minmax(0,1fr);
    gap:14px 12px;
  }
  .inventory-transfer-single-store-dialog245 .platform-dialog-icon{
    width:40px;
    height:40px;
  }
  .inventory-transfer-single-store-dialog245 .platform-dialog-copy h2{
    font-size:16px;
  }
}


/* v1.2.0-fix248 additional-store mobile form clarity */
.additional-store-sheet{overflow-x:hidden;background:#fff}
.additional-store-url-builder{
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  align-items:stretch;
}
.additional-store-url-base,
.additional-store-url-slug{
  display:grid;
  align-content:center;
  gap:3px;
  min-width:0;
  padding:9px 12px;
}
.additional-store-url-base{
  background:#f7f5f1;
}
.additional-store-url-base small,
.additional-store-url-slug small{
  color:var(--muted);
  font-size:9px;
  font-weight:950;
  line-height:1.2;
}
.additional-store-url-base b{
  padding:0;
  color:#4e5968;
  font-size:.78rem;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.additional-store-url-slug{
  border-left:1px solid var(--line);
  background:#fff;
}
.additional-store-url-slug .input{
  width:100%;
  min-height:28px;
  padding:0;
  background:transparent;
}
.additional-menu-recommend{
  white-space:nowrap;
}
@media(max-width:560px){
  .additional-store-url-builder{
    grid-template-columns:1fr;
  }
  .additional-store-url-base,
  .additional-store-url-slug{
    padding:10px 12px;
  }
  .additional-store-url-base{
    border-bottom:1px solid var(--line);
  }
  .additional-store-url-slug{
    border-left:0;
  }
  .additional-store-url-base b{
    font-size:.76rem;
  }
  .additional-store-url-slug .input{
    min-height:36px;
    font-size:1rem;
  }
  .additional-menu-choice{
    grid-template-columns:22px 42px minmax(0,1fr);
    grid-template-rows:auto auto auto;
    gap:10px;
    align-items:center;
    padding:14px;
  }
  .additional-menu-choice>input{
    grid-column:1;
    grid-row:1;
  }
  .additional-menu-choice>span{
    grid-column:2;
    grid-row:1;
    width:42px;
    height:42px;
  }
  .additional-menu-choice>div{
    display:contents;
  }
  .additional-menu-choice>div>b{
    grid-column:1/-1;
    grid-row:2;
    font-size:14px;
    line-height:1.45;
  }
  .additional-menu-choice>div>small{
    grid-column:1/-1;
    grid-row:3;
    padding-top:9px;
    border-top:1px solid rgba(113,96,77,.12);
    font-size:11px;
    line-height:1.65;
  }
  .additional-menu-choice>i{
    grid-column:3;
    grid-row:1;
    justify-self:end;
    align-self:center;
    margin:0;
  }
}

/* v1.2.0-fix250 procurement receipt mobile header clarity */
.procurement-receipt-modal-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px 18px;
}
.procurement-receipt-modal-head>div:first-child{min-width:0}
.procurement-receipt-head-meta{
  grid-column:1/-1;
  display:flex;
  flex-wrap:wrap;
  gap:4px 18px;
  min-width:0;
  color:var(--muted);
}
.procurement-receipt-head-meta span{
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  min-width:0;
}
.procurement-receipt-head-meta small{
  flex:0 0 auto;
  font-size:.69rem;
  font-weight:900;
  color:var(--muted);
}
.procurement-receipt-head-meta b{
  min-width:0;
  font-size:.82rem;
  line-height:1.5;
  color:var(--text);
  overflow-wrap:anywhere;
  text-wrap:pretty;
}
@media(max-width:600px){
  .procurement-receipt-modal-head{
    gap:8px 12px;
  }
  .procurement-receipt-head-meta{
    display:grid;
    grid-template-columns:1fr;
    gap:3px;
    padding-top:2px;
  }
  .procurement-receipt-head-meta span{
    display:grid;
    grid-template-columns:50px minmax(0,1fr);
    gap:7px;
    align-items:start;
  }
  .procurement-receipt-head-meta small{
    padding-top:2px;
  }
  .procurement-receipt-head-meta b{
    font-size:.8rem;
    line-height:1.45;
    word-break:normal;
    text-wrap:pretty;
  }
}


/* v1.2.0-fix251 purchase-order detail mobile clarity */
.purchase-detail-title251{display:grid;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.purchase-detail-topline251{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.purchase-detail-badges251{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.purchase-detail-title251 h2{margin:0;min-width:0;overflow-wrap:anywhere;word-break:normal;line-height:1.25}
.purchase-detail-meta251{display:grid;grid-template-columns:minmax(0,1.35fr) repeat(2,minmax(0,1fr));gap:9px;margin:0}
.purchase-detail-meta251>div{min-width:0;padding:10px 12px;border:1px solid #e8e5dd;border-radius:10px;background:#fafaf8}
.purchase-detail-meta251 dt{font-size:.72rem;font-weight:700;color:var(--muted)}
.purchase-detail-meta251 dd{margin:3px 0 0;font-weight:700;line-height:1.45;overflow-wrap:anywhere;word-break:normal;text-wrap:pretty}
@media(max-width:600px){
  .purchase-order-detail-sheet251{overflow-x:hidden}
  .purchase-detail-title251{gap:10px}
  .purchase-detail-topline251{align-items:center}
  .purchase-detail-title251 h2{font-size:1.45rem}
  .purchase-detail-meta251{grid-template-columns:1fr;gap:0}
  .purchase-detail-meta251>div{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:start;gap:8px;padding:9px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}
  .purchase-detail-meta251 dt,.purchase-detail-meta251 dd{margin:0}
  .purchase-detail-items251{display:grid;gap:12px;border:0;border-radius:0;overflow:visible}
  .purchase-detail-items251 .purchase-detail-item.head{display:none}
  .purchase-detail-items251 .purchase-detail-item251{min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:0;border:1px solid #e5e1d8;border-radius:14px;overflow:hidden;background:#fff}
  .purchase-detail-items251 .purchase-detail-item251.complete{background:#f7fcf8}
  .purchase-detail-item-name251{grid-column:1/-1!important;display:grid!important;gap:4px!important;padding:12px 13px;background:#fafaf8;border-bottom:1px solid var(--line)}
  .purchase-detail-item-name251 b{font-size:1.05rem}
  .purchase-detail-metric251{min-width:0;display:grid;gap:4px;padding:10px 12px;border-top:1px solid var(--line);font-weight:700;overflow-wrap:anywhere}
  .purchase-detail-metric251::before{content:attr(data-label);font-size:.72rem;font-weight:700;color:var(--muted)}
  .purchase-detail-metric251:nth-child(even){border-right:1px solid var(--line)}
  .purchase-detail-metric251.is-remaining{background:#fff8e8}
  .purchase-detail-metric251:last-child{grid-column:1/-1;border-right:0}
}

/* v1.2.0-fix253 safe company-inventory store resync */
.inventory-publish-sheet253{max-width:1100px;width:min(1100px,calc(100vw - 32px));padding:0;overflow:hidden;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;max-height:min(92vh,920px)}
.inventory-publish-head253{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 24px 18px;border-bottom:1px solid var(--line);background:#fff}
.inventory-publish-head253 h2{margin:5px 0 4px}.inventory-publish-head253 p{margin:0;color:var(--muted);max-width:760px}
.inventory-publish-summary253{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:14px 24px;background:#faf9f5;border-bottom:1px solid var(--line)}
.inventory-publish-summary253 article{display:grid;gap:3px;padding:11px 13px;border:1px solid var(--line);border-radius:11px;background:#fff}.inventory-publish-summary253 article.attention{background:#fff7e7;border-color:#dfae4e}.inventory-publish-summary253 span{font-size:.75rem;color:var(--muted)}.inventory-publish-summary253 b{font-size:1.25rem}
.inventory-publish-body253{overflow:auto;padding:18px 24px 24px;display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;background:#f8f7f3}
.inventory-publish-panel253{display:grid;gap:12px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#fff;min-width:0}
.inventory-publish-panel253>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.inventory-publish-panel253>header>div:first-child{display:flex;gap:10px;align-items:flex-start}.inventory-publish-panel253>header>div:first-child>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#fff0d8;color:#b86600;font-weight:800;flex:0 0 auto}.inventory-publish-panel253 h3,.inventory-publish-panel253 p{margin:0}.inventory-publish-panel253 p{margin-top:3px;color:var(--muted);font-size:.8rem}.inventory-publish-panel253>header>div:last-child{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.inventory-publish-filters253{display:grid;grid-template-columns:minmax(140px,1fr) minmax(130px,.7fr) minmax(120px,.6fr) auto;gap:8px}.inventory-publish-filters253.stores{grid-template-columns:minmax(170px,1fr) minmax(130px,.6fr) auto}
.inventory-publish-list253{display:grid;gap:7px;min-height:255px;align-content:start}.inventory-publish-choice253{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:#fff;cursor:pointer}.inventory-publish-choice253:has(input:checked){border-color:#49a76b;background:#effaf3}.inventory-publish-choice253.is-disabled{opacity:.67;cursor:not-allowed;background:#f5f4f1}.inventory-publish-choice253 input{width:19px;height:19px}.inventory-publish-choice253>span{display:grid;min-width:0}.inventory-publish-choice253 small{color:var(--muted);overflow-wrap:anywhere}.inventory-publish-choice253 em{font-style:normal;font-size:.74rem;font-weight:800;color:#2c7a49;white-space:nowrap}.inventory-publish-choice253.is-disabled em{color:var(--muted)}
.inventory-publish-pager253{display:flex;justify-content:space-between;align-items:center;gap:8px}.inventory-publish-pager253 span{font-size:.78rem;color:var(--muted);text-align:center}
.inventory-publish-rules253{grid-column:1/-1;display:grid;gap:3px}.inventory-publish-rules253 span{color:var(--text)}
.inventory-publish-footer253{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 24px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;box-shadow:0 -10px 25px #0000000a}.inventory-publish-footer253>div{display:grid}.inventory-publish-footer253 span{font-size:.76rem;color:var(--muted)}.inventory-publish-footer253 b{font-size:1.05rem}.inventory-publish-footer253 .btn{min-width:280px}
.inventory-publish-complete253{margin:24px;display:flex;gap:16px;align-items:flex-start;padding:22px;border:1px solid #b8dfc7;border-radius:15px;background:#f1fbf5}.inventory-publish-complete253>span{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#dff4e7;color:#19713d;font-size:1.5rem;font-weight:800;flex:0 0 auto}.inventory-publish-complete253 h3,.inventory-publish-complete253 p{margin:0}.inventory-publish-complete253 p{margin-top:6px;color:var(--muted)}
@media(max-width:900px){.inventory-publish-sheet253{width:min(760px,calc(100vw - 24px))}.inventory-publish-body253{grid-template-columns:1fr}.inventory-publish-rules253{grid-column:auto}.inventory-publish-summary253{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.inventory-publish-sheet253{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;border-radius:0;grid-template-rows:auto auto minmax(0,1fr) auto}.inventory-publish-head253{padding:16px 16px 13px;gap:10px}.inventory-publish-head253 h2{font-size:1.22rem}.inventory-publish-head253 p{font-size:.8rem}.inventory-publish-summary253{padding:10px 14px}.inventory-publish-body253{padding:14px;gap:12px}.inventory-publish-panel253{padding:13px}.inventory-publish-panel253>header{display:grid}.inventory-publish-panel253>header>div:last-child{justify-content:flex-start}.inventory-publish-filters253,.inventory-publish-filters253.stores{grid-template-columns:1fr}.inventory-publish-list253{min-height:0}.inventory-publish-choice253{grid-template-columns:auto minmax(0,1fr)}.inventory-publish-choice253 em{grid-column:2;justify-self:start}.inventory-publish-footer253{display:grid;padding:10px 14px calc(10px + env(safe-area-inset-bottom))}.inventory-publish-footer253>div{grid-template-columns:auto 1fr;gap:8px;align-items:center}.inventory-publish-footer253 .btn{width:100%;min-width:0}.inventory-publish-complete253{margin:14px;display:grid}.inventory-publish-complete253>span{width:40px;height:40px}.inventory-publish-pager253 .state-btn{padding-inline:10px}}
.inventory-publish-complete253.has-issue{background:#fff7e7;border-color:#e4ba5f}.inventory-publish-complete253.has-issue>span{background:#ffedbe;color:#9a5b00}

/* v1.2.0-fix254 full-width single-action publish footer */
.inventory-publish-footer253.inventory-publish-single-action254{display:block}
.inventory-publish-footer253.inventory-publish-single-action254 .btn{width:100%;min-width:0}
/* v1.2.0-fix255 compact mobile completion and issue-only publish modal */
.inventory-publish-head253 h2 .inventory-publish-title-part255{display:inline}
.inventory-publish-sheet253.inventory-publish-compact255{grid-template-rows:auto auto auto;height:auto}
@media(max-width:600px){
.store-admin-body .modal.inventory-publish-compact-modal255{align-items:center;padding:14px}
.store-admin-body .modal.inventory-publish-compact-modal255>.inventory-publish-sheet253.inventory-publish-compact255{position:relative;inset:auto;width:100%;height:auto;max-width:520px;max-height:calc(100dvh - 28px);border-radius:20px;grid-template-rows:auto auto auto;overflow:auto}
.inventory-publish-compact255 .inventory-publish-head253 h2{font-size:clamp(1.12rem,5.1vw,1.28rem);line-height:1.35;letter-spacing:-.02em}
.inventory-publish-compact255 .inventory-publish-head253 h2 .inventory-publish-title-part255{display:block}
.inventory-publish-compact255 .inventory-publish-complete253{margin:14px}
.inventory-publish-compact255 .inventory-publish-footer253{position:static}
}


/* v1.2.0-fix257 customer realtime item status above order summary */
.customer-realtime-status257{display:grid;gap:0;margin:0 0 14px;border:1px solid #d9d6ce;border-radius:18px;background:#fff;box-shadow:0 5px 18px rgba(24,22,18,.06);overflow:hidden}
.customer-realtime-head257{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:16px 17px 14px;border-bottom:1px solid #ece8df;background:linear-gradient(135deg,#fff 0%,#faf9f5 100%)}
.customer-realtime-head257>div{display:grid;gap:3px;min-width:0}.customer-realtime-head257>div>span{color:#6f35c4;font-size:10px;font-weight:1000;letter-spacing:.12em}.customer-realtime-head257 h2{margin:0;font-size:20px;line-height:1.3;letter-spacing:-.02em}.customer-realtime-head257 p{margin:0;color:#746f67;font-size:12px;line-height:1.5}
.customer-realtime-live257{display:flex;align-items:center;gap:7px;flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#eef8f1;color:#247548;font-size:11px;font-weight:900;white-space:nowrap}.customer-realtime-live257 i{display:block;width:8px;height:8px;border-radius:50%;background:#3eaa68;box-shadow:0 0 0 4px #d8f0e0;animation:customerRealtimePulse257 1.8s ease-in-out infinite}
@keyframes customerRealtimePulse257{0%,100%{opacity:.55;transform:scale(.9)}50%{opacity:1;transform:scale(1)}}
.customer-realtime-list257{display:grid;gap:9px;padding:13px 14px;background:#f8f7f3}
.customer-realtime-item257{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.9fr);align-items:center;gap:15px;padding:13px 14px;border:1px solid #e5e1d8;border-left:5px solid #d7b14d;border-radius:14px;background:#fff;min-width:0}
.customer-realtime-item257.status-preparing{border-left-color:#ed792f;background:#fffaf5}.customer-realtime-item257.status-ready{border-left-color:#45a96b;background:#f7fcf8}.customer-realtime-item257.status-served{border-left-color:#777c75;background:#fafaf8}
.customer-realtime-product257{display:grid;gap:3px;min-width:0}.customer-realtime-product257>span{color:#7a756d;font-size:10px;font-weight:900}.customer-realtime-product257>b{overflow-wrap:anywhere;font-size:16px;line-height:1.4}.customer-realtime-product257 b small{font-size:12px;color:#69655e}
.customer-realtime-state257{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.customer-realtime-state257>strong{color:#4f4a43;font-size:14px;line-height:1.5;text-align:right;overflow-wrap:anywhere}
.customer-realtime-status257 .customer-item-status{min-height:32px;padding:7px 11px;font-size:13px}
.customer-realtime-checkout257{display:flex;align-items:flex-start;gap:13px;margin:0;padding:15px 17px;border-top:1px solid #bcdcc7;background:#effaf3}.customer-realtime-checkout257>span{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border-radius:13px;background:#d8f1e2;color:#18703c;font-size:18px;font-weight:1000}.customer-realtime-checkout257>div{display:grid;gap:4px}.customer-realtime-checkout257 b{font-size:15px}.customer-realtime-checkout257 p{margin:0;color:#415a49;font-size:13px;font-weight:700;line-height:1.6}
@media(max-width:600px){
  .customer-realtime-status257{margin-bottom:16px;border-radius:17px}
  .customer-realtime-head257{padding:15px 14px 13px;gap:10px}
  .customer-realtime-head257>div>span{font-size:11px}.customer-realtime-head257 h2{font-size:23px}.customer-realtime-head257 p{font-size:14px;line-height:1.55}
  .customer-realtime-live257{padding:6px 8px;font-size:11px}
  .customer-realtime-list257{gap:10px;padding:12px}
  .customer-realtime-item257{grid-template-columns:1fr;gap:10px;padding:14px 13px;border-left-width:6px}
  .customer-realtime-product257>span{font-size:12px}.customer-realtime-product257>b{font-size:18px}.customer-realtime-product257 b small{font-size:14px}
  .customer-realtime-state257{display:grid;grid-template-columns:auto minmax(0,1fr);justify-content:stretch;gap:10px}
  .customer-realtime-state257>strong{font-size:16px;line-height:1.55;text-align:left;font-weight:900}
  .customer-realtime-status257 .customer-item-status{min-height:34px;padding:7px 11px;font-size:14px}
  .customer-realtime-checkout257{padding:15px 14px}.customer-realtime-checkout257 b{font-size:17px}.customer-realtime-checkout257 p{font-size:15px;line-height:1.65}
}
@media(max-width:370px){
  .customer-realtime-head257{display:grid}.customer-realtime-live257{justify-self:start}
  .customer-realtime-head257 h2{font-size:21px}
  .customer-realtime-state257{grid-template-columns:1fr}.customer-realtime-state257>strong{font-size:15px}
}

/* v1.2.0-fix258 served-order next steps and compact history status */
.customer-order-status-compact258{background:#faf9f6}
.customer-order-status-compact258 .customer-order-status-summary{justify-content:flex-start}
.customer-order-status-compact258 .customer-order-status-state{justify-content:flex-end}
.customer-realtime-next258{display:grid;gap:0;border-top:1px solid #bcdcc7;background:#effaf3}
.customer-realtime-next258>header{display:flex;align-items:flex-start;gap:13px;padding:16px 17px 13px}
.customer-realtime-next258>header>span{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:14px;background:#d8f1e2;color:#18703c;font-size:20px;font-weight:1000}
.customer-realtime-next258>header>div{display:grid;gap:4px;min-width:0}
.customer-realtime-next258>header b{font-size:16px;line-height:1.45}
.customer-realtime-next258>header p{margin:0;color:#415a49;font-size:13px;font-weight:800;line-height:1.6}
.customer-realtime-next-actions258{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 17px 16px}
.customer-realtime-next-action258{display:flex;align-items:flex-start;gap:11px;min-width:0;padding:13px;border:1px solid #cfe5d6;border-radius:14px;background:#fff}
.customer-realtime-next-action258>span{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:#fff1df;color:#b95b00;font-size:18px;font-weight:1000}
.customer-realtime-next-action258.is-checkout>span{background:#e6f3ea;color:#246c43;font-size:13px}
.customer-realtime-next-action258>div{display:grid;gap:3px;min-width:0}
.customer-realtime-next-action258 b{font-size:14px;line-height:1.45}
.customer-realtime-next-action258 p{margin:0;color:#625e57;font-size:12px;font-weight:700;line-height:1.55;overflow-wrap:anywhere}
@media(max-width:600px){
  .customer-order-status-compact258{padding-block:10px}
  .customer-order-status-compact258 .customer-order-status-heading{font-size:10px}
  .customer-order-status-compact258 .customer-order-status-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}
  .customer-order-status-compact258 .customer-order-status-state{justify-content:flex-end}
  .customer-realtime-next258>header{padding:16px 14px 13px}
  .customer-realtime-next258>header b{font-size:17px}
  .customer-realtime-next258>header p{font-size:15px;line-height:1.65}
  .customer-realtime-next-actions258{grid-template-columns:1fr;padding:0 14px 15px}
  .customer-realtime-next-action258{padding:14px 13px}
  .customer-realtime-next-action258 b{font-size:16px}
  .customer-realtime-next-action258 p{font-size:14px;line-height:1.6}
}

/* v1.2.0-fix259 inventory master editor: management-number wording, 100-store picker, pre-save review */
.company-inventory-editor-sheet259{max-width:860px}
.company-inventory-application-section259{display:grid;gap:12px}
.company-inventory-store-picker259{display:grid;gap:12px;margin-top:2px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fafbf9}
.company-inventory-store-picker259[hidden]{display:none!important}
.company-inventory-store-picker-toolbar259{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.company-inventory-store-picker-toolbar259>label:first-child{display:grid;gap:6px}
.company-inventory-store-picker-toolbar259>label:first-child>span{font-size:.76rem;font-weight:900}
.company-inventory-store-selected-filter259{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:800;white-space:nowrap;cursor:pointer}
.company-inventory-store-picker-summary259{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px;border:1px solid #b9dec8;border-radius:13px;background:#eef9f2}
.company-inventory-store-picker-summary259>div:first-child{display:grid;gap:2px}
.company-inventory-store-picker-summary259>div:first-child span{font-size:.7rem;color:#38714f;font-weight:900;letter-spacing:.04em}
.company-inventory-store-picker-summary259>div:first-child b{font-size:1.1rem;color:#155f35}
.company-inventory-store-picker-summary259>div:first-child small{color:#607168}
.company-inventory-store-picker-actions259{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.company-inventory-store-picker-list259{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-height:310px;overflow:auto;padding:2px}
.company-inventory-store-choice259{position:relative;display:flex;align-items:center;gap:11px;min-width:0;padding:12px 13px;border:1px solid var(--line);border-radius:13px;background:#fff;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
.company-inventory-store-choice259.is-selected{border-color:#8bc7a2;background:#f0faf4;box-shadow:0 0 0 1px rgba(64,150,96,.08)}
.company-inventory-store-choice259>input{position:absolute;opacity:0;pointer-events:none}
.company-inventory-store-choice259>input:focus-visible+.inventory-check-mark{outline:3px solid rgba(255,132,0,.25);outline-offset:2px}
.company-inventory-store-choice259>span:last-child{display:grid;gap:3px;min-width:0}
.company-inventory-store-choice259 b,.company-inventory-store-choice259 small{overflow-wrap:anywhere}
.company-inventory-store-choice259 small{color:var(--muted);font-size:.72rem}
.company-inventory-store-choice259.is-selected .inventory-check-mark{border-color:#218655;background:#218655;color:#fff}
.company-inventory-store-empty259{grid-column:1/-1;padding:22px;border:1px dashed var(--line);border-radius:13px;background:#fff;text-align:center;color:var(--muted)}
.company-inventory-store-picker-footer259{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:.78rem}
.company-inventory-store-picker-footer259 nav{display:flex;align-items:center;gap:8px}
.company-inventory-store-picker-footer259 nav b{min-width:60px;text-align:center;color:var(--text)}
@media(max-width:900px){
  .company-inventory-store-picker-toolbar259{grid-template-columns:1fr}
  .company-inventory-store-selected-filter259{justify-content:flex-start}
  .company-inventory-store-picker-summary259{align-items:flex-start;flex-direction:column}
  .company-inventory-store-picker-actions259{width:100%;justify-content:stretch}
  .company-inventory-store-picker-actions259 .state-btn{flex:1}
  .company-inventory-store-picker-list259{grid-template-columns:1fr;max-height:38vh}
}
@media(max-width:700px){
  .company-inventory-editor-sheet259{width:100%;max-width:none;max-height:100dvh;border-radius:0}
  .company-inventory-store-picker259{padding:11px;border-radius:14px}
  .company-inventory-store-picker-actions259{display:grid;grid-template-columns:1fr}
  .company-inventory-store-picker-footer259{align-items:stretch;flex-direction:column}
  .company-inventory-store-picker-footer259 nav{justify-content:space-between}
  .company-inventory-store-picker-footer259 nav .state-btn{min-width:92px}
}

/* v1.2.0-fix260: headquarters inventory tablet portrait layout (761px–900px) */
@media (min-width:761px) and (max-width:900px){
  /* Keep the headquarters title readable instead of squeezing it between the logo and scope controls. */
  .store-admin-body .headquarters-topbar .wrap{
    grid-template-columns:145px minmax(0,1fr);
    column-gap:14px;
    row-gap:10px;
    padding-top:12px;
    padding-bottom:12px;
  }
  .store-admin-body .headquarters-topbar .wrap::before{
    grid-column:1;
    grid-row:1;
    width:145px;
    height:54px;
    flex-basis:145px;
  }
  .headquarters-heading{
    grid-column:2;
    grid-row:1;
  }
  .store-admin-body .headquarters-heading .brand{
    overflow:visible;
    text-overflow:clip;
    white-space:normal;
    font-size:20px;
  }
  .store-admin-body .headquarters-heading .sub{
    overflow:visible;
    text-overflow:clip;
    white-space:normal;
  }
  .headquarters-session-actions{
    grid-column:1/-1;
    grid-row:2;
    width:100%;
    min-width:0;
    justify-content:stretch;
  }
  .headquarters-session-actions>.headquarters-scope-switcher{
    flex:1 1 auto;
    min-width:0;
  }
  .headquarters-session-actions>.tab{
    flex:0 0 auto;
    min-width:112px;
  }
  .headquarters-navigation{
    grid-column:1/-1;
    grid-row:3;
    width:100%;
    padding-bottom:2px;
  }

  /* Six inventory actions become a predictable 3 × 2 grid. */
  .company-inventory-page .headquarters-page-toolbar{
    align-items:stretch;
    flex-direction:column;
    margin-top:16px;
  }
  .company-inventory-page .headquarters-page-toolbar>span{
    white-space:normal;
  }
  .company-inventory-page .headquarters-page-actions{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    justify-content:stretch;
    width:100%;
  }
  .company-inventory-page .headquarters-page-actions>*{
    width:100%;
    min-width:0;
    text-align:center;
  }
  .company-inventory-page .headquarters-page-actions .compact-select{
    grid-column:1/-1;
    width:100%;
    min-width:0;
  }

  /* Five store metrics use the full row: three above, two equal-width below. */
  .company-inventory-page .inventory-summary-operational-grid{
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
  .company-inventory-page .inventory-summary-operational-grid>article{
    grid-column:span 2;
  }
  .company-inventory-page .inventory-summary-operational-grid>article:nth-last-child(2):nth-child(4),
  .company-inventory-page .inventory-summary-operational-grid>article:last-child:nth-child(5){
    grid-column:span 3;
  }

  /* A selected single store fills the section; multiple stores remain a balanced two-column list. */
  .company-inventory-page .inventory-store-preview-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .company-inventory-page .inventory-store-preview-grid>.inventory-store-preview-card:only-child{
    grid-column:1/-1;
  }

  /* Inventory masters are one card per row, with details arranged horizontally inside the card. */
  .company-inventory-page .company-inventory-master-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .company-inventory-page .company-inventory-master-card{
    grid-template-columns:minmax(0,1.2fr) minmax(230px,.8fr);
    grid-template-areas:
      "heading heading"
      "metrics audit"
      "actions actions";
    align-items:stretch;
    gap:12px 14px;
  }
  .company-inventory-page .company-inventory-master-card>.inventory-master-heading{
    grid-area:heading;
  }
  .company-inventory-page .company-inventory-master-card>.company-inventory-master-metrics{
    grid-area:metrics;
    margin:0;
  }
  .company-inventory-page .company-inventory-master-card>.inventory-master-audit{
    grid-area:audit;
    align-content:center;
    min-width:0;
  }
  .company-inventory-page .company-inventory-master-card>.company-inventory-master-actions{
    grid-area:actions;
    margin-top:0;
  }
}

/* v1.2.0-fix261 inventory master list scale and editor clarity */
.company-inventory-master-toolbar261{
  display:grid;
  grid-template-columns:minmax(260px,1.35fr) minmax(170px,.8fr) minmax(150px,.7fr) auto;
  gap:10px;
  align-items:end;
  margin:0 0 14px;
  padding:14px;
}
.company-inventory-master-toolbar261>label{display:grid;gap:6px;min-width:0}
.company-inventory-master-toolbar261>label>span{font-size:.76rem;font-weight:900;color:var(--muted)}
.company-inventory-master-filter-actions261{display:flex;gap:8px;align-items:center}
.company-inventory-master-filter-actions261>*{white-space:nowrap}
.company-inventory-master-result-summary261{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 10px;
  padding:0 3px;
  color:var(--muted);
  font-size:.78rem;
}
.company-inventory-master-result-summary261>div{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.company-inventory-master-result-summary261 b{color:var(--text);font-size:.95rem}
.company-inventory-master-pagination261{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:14px;
}
.company-inventory-master-pagination261>span{min-width:92px;text-align:center;color:var(--muted)}
.company-inventory-master-pagination261>span b{color:var(--text)}
.company-inventory-master-pagination261 .state-btn:disabled{opacity:.42;cursor:not-allowed}
.inventory-master-title261{display:grid;gap:4px;min-width:0}
.inventory-master-badges261{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.inventory-master-identifiers261{display:flex;align-items:stretch;gap:7px;flex-wrap:wrap;margin-top:2px}
.inventory-master-identifiers261>span{
  display:flex;
  align-items:baseline;
  gap:5px;
  min-width:0;
  padding:4px 8px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fafaf7;
}
.inventory-master-identifiers261 small{color:var(--muted);font-size:.65rem;font-weight:800}
.inventory-master-identifiers261 b{font-size:.76rem;overflow-wrap:anywhere}
.inventory-master-application261{
  display:grid;
  justify-items:end;
  gap:2px;
  min-width:86px;
  text-align:right;
}
.inventory-master-application261>span{color:var(--muted);font-size:.65rem;font-weight:900}
.inventory-master-application261>b{font-size:.85rem}
.inventory-master-application261>small{color:var(--muted);font-size:.68rem}
.inventory-master-audit>span{display:flex;align-items:baseline;gap:6px;min-width:0;overflow-wrap:anywhere}
.inventory-master-audit>span>b{flex:0 0 52px;color:#4d504d;font-size:.68rem}
.field-badge.is-locked{background:#eceff1;color:#4f5961;border:1px solid #d6dadd}
.company-inventory-readonly261{position:relative;display:grid}
.company-inventory-readonly261>span{
  position:absolute;
  left:13px;
  top:50%;
  z-index:1;
  transform:translateY(-50%);
  width:17px;
  height:17px;
  color:#697177;
  opacity:.82;
  pointer-events:none;
}
.company-inventory-readonly261>span svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.company-inventory-readonly261>.input{
  padding-left:38px;
  border-color:#d8dcde;
  background:#eef0f1;
  color:#4f5559;
  cursor:not-allowed;
  box-shadow:none;
}
#companyInventorySave:disabled{background:#d8d8d3;color:#777;box-shadow:none;cursor:not-allowed}

@media(max-width:900px){
  .company-inventory-master-toolbar261{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr)}
  .company-inventory-master-search261{grid-column:1/-1}
  .company-inventory-master-filter-actions261{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
  .company-inventory-master-filter-actions261>*{width:100%}
}
@media(max-width:700px){
  .company-inventory-master-toolbar261{grid-template-columns:1fr;padding:12px}
  .company-inventory-master-search261,.company-inventory-master-filter-actions261{grid-column:auto}
  .company-inventory-master-filter-actions261{grid-template-columns:1fr}
  .company-inventory-master-result-summary261{align-items:flex-start;flex-direction:column;gap:3px}
  .company-inventory-master-pagination261{justify-content:space-between}
  .company-inventory-master-pagination261 .state-btn{min-width:92px}
  .company-inventory-master-card>.inventory-master-heading{grid-template-columns:auto minmax(0,1fr)}
  .inventory-master-application261{grid-column:1/-1;grid-template-columns:auto auto 1fr;align-items:baseline;justify-items:start;width:100%;padding-top:8px;border-top:1px solid var(--line);text-align:left}
  .inventory-master-application261>small{justify-self:end}
  .inventory-master-identifiers261{display:grid;grid-template-columns:1fr 1fr}
  .inventory-master-identifiers261>span{display:grid;gap:2px}
  .inventory-master-audit>span{align-items:flex-start;flex-direction:column;gap:1px}
  .inventory-master-audit>span>b{flex:auto}
}
@media(max-width:420px){
  .inventory-master-identifiers261{grid-template-columns:1fr}
}


/* v1.2.0-fix262 smartphone headquarters navigation and inventory page size */
@media(max-width:700px){
  .store-admin-body .headquarters-navigation{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    width:100%;
    margin-left:0;
    margin-right:0;
    overflow-x:visible;
    overscroll-behavior-x:auto;
    scrollbar-width:auto;
  }
  .store-admin-body .headquarters-navigation .headquarters-nav-button{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-width:0;
    min-height:40px;
    padding-left:8px;
    padding-right:8px;
    text-align:center;
  }
}

/* v1.2.0-fix263 attendance foundation */
.attendance-page{max-width:1080px;padding-bottom:48px}.attendance-hero{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(210px,280px);gap:20px;align-items:center;margin:24px 0 18px;padding:26px;border:1px solid #d9e8df;border-radius:24px;background:linear-gradient(135deg,#f7fff9 0%,#fff 58%,#f3f7f4 100%);box-shadow:0 12px 34px rgba(23,107,58,.07)}.attendance-hero-icon{display:grid;place-items:center;width:72px;height:72px;border-radius:22px;background:#176b3a;color:#fff}.attendance-hero-icon .store-ui-icon{width:38px;height:38px}.attendance-hero h1{margin:5px 0 8px;font-size:30px;line-height:1.25}.attendance-hero p{margin:0;color:var(--muted);line-height:1.75}.attendance-hero-store{display:grid;gap:4px;padding:17px;border:1px solid #dce6df;border-radius:17px;background:rgba(255,255,255,.88)}.attendance-hero-store span,.attendance-hero-store small{color:var(--muted);font-size:11px;font-weight:800}.attendance-hero-store b{font-size:17px}.attendance-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0}.attendance-summary-grid article{display:grid;gap:4px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.attendance-summary-grid span,.attendance-summary-grid small{color:var(--muted);font-size:11px;font-weight:800}.attendance-summary-grid b{font-size:28px}.attendance-feature-strip{display:flex;gap:8px;overflow:auto;padding:2px 0 10px}.attendance-feature{display:flex;align-items:center;gap:8px;min-width:max-content;padding:10px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12px;font-weight:800}.attendance-feature b{padding:3px 7px;border-radius:999px;font-size:10px}.attendance-feature.is-ready{border-color:#b9dbc6}.attendance-feature.is-ready b{background:#dff4e6;color:#145a31}.attendance-feature.is-planned b{background:#eee;color:#666}.attendance-policy-card{display:grid;gap:16px;padding:22px}.attendance-policy-card h2{margin:4px 0 0;font-size:21px}.attendance-policy-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.attendance-policy-grid span{display:grid;place-items:center;min-height:64px;padding:10px;border:1px solid #dfe7e1;border-radius:14px;background:#f7faf8;text-align:center;font-size:12px;font-weight:900;line-height:1.5}.attendance-staff-section{margin-top:24px}.attendance-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:12px}.attendance-section-head h2{margin:4px 0}.attendance-section-head p{margin:0;color:var(--muted)}.attendance-search{display:grid;grid-template-columns:minmax(220px,300px) auto;gap:5px 10px;align-items:end}.attendance-search>span{grid-column:1/-1;font-size:11px;font-weight:900}.attendance-search small{color:var(--muted);font-size:11px;font-weight:800;white-space:nowrap}.attendance-staff-list{display:grid;gap:11px}.attendance-staff-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,390px);gap:18px;align-items:center;padding:17px 18px;border:1px solid var(--line);border-radius:18px;background:#fff}.attendance-staff-card[hidden]{display:none}.attendance-staff-main{display:flex;align-items:center;gap:13px;min-width:0}.attendance-staff-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#111;color:#fff;font-size:19px;font-weight:900;flex:0 0 auto}.attendance-staff-main>div{min-width:0}.attendance-staff-name{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.attendance-staff-name h3{margin:0;font-size:18px}.attendance-staff-main p,.attendance-staff-main small{display:block;margin:4px 0 0;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.attendance-status{display:inline-flex;align-items:center;width:max-content;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900}.attendance-status.is-enabled{background:#dff4e6;color:#145a31}.attendance-status.is-disabled,.attendance-status.is-planned{background:#eee;color:#555}.attendance-status.is-working{background:#fff0c2;color:#765000}.attendance-status.is-inactive{background:#ffe1df;color:#8f1710}.attendance-staff-editor{display:grid;grid-template-columns:minmax(150px,1fr) auto;gap:8px 10px;align-items:end}.attendance-staff-editor label{display:grid;gap:5px}.attendance-staff-editor label span{font-size:10px;font-weight:900}.attendance-staff-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.attendance-inline-note{grid-column:1/-1;color:#765000;font-weight:800}.attendance-readonly-note{padding:12px;border-radius:12px;background:#f4f4f0;color:var(--muted);font-size:11px;line-height:1.6}.attendance-next-note{display:grid;gap:3px;margin-top:18px}.attendance-migration-card{max-width:780px;margin:22px auto;padding:24px}.attendance-migration-card h2{margin:10px 0 8px}.attendance-migration-card p{color:var(--muted);line-height:1.7}.attendance-migration-card pre{overflow:auto;margin:18px 0;padding:16px;border-radius:14px;background:#161916;color:#f1f5f2;font-size:12px;line-height:1.8}.attendance-migration-card .notice{display:grid;gap:4px}.store-home-action-card .store-ui-icon{flex:0 0 auto}
@media(max-width:850px){.attendance-hero{grid-template-columns:auto 1fr}.attendance-hero-store{grid-column:1/-1}.attendance-policy-grid{grid-template-columns:repeat(2,1fr)}.attendance-staff-card{grid-template-columns:1fr}.attendance-section-head{align-items:stretch;flex-direction:column}.attendance-search{grid-template-columns:1fr auto}.attendance-staff-editor{grid-template-columns:1fr auto}}
@media(max-width:600px){.attendance-page{padding:12px}.attendance-hero{grid-template-columns:1fr;padding:19px;border-radius:19px}.attendance-hero-icon{width:58px;height:58px;border-radius:18px}.attendance-hero h1{font-size:24px}.attendance-summary-grid{grid-template-columns:repeat(3,1fr);gap:7px}.attendance-summary-grid article{padding:13px 9px;text-align:center}.attendance-summary-grid b{font-size:23px}.attendance-summary-grid small{font-size:9px}.attendance-policy-grid{grid-template-columns:1fr 1fr}.attendance-policy-grid span{min-height:58px;font-size:11px}.attendance-staff-card{padding:15px}.attendance-staff-editor{grid-template-columns:1fr}.attendance-staff-actions{display:grid;grid-template-columns:1fr}.attendance-staff-actions button{width:100%}.attendance-search{grid-template-columns:1fr}.attendance-search small{justify-self:start}.attendance-migration-card{padding:18px}.attendance-migration-card pre{font-size:10px}.attendance-hero-store{grid-column:auto}}

/* v1.2.0-fix265 attendance QR synchronization and clock-in */
.attendance-status.is-waiting{background:#e8f0ff;color:#174b8f}.attendance-status.is-break{background:#e8e2ff;color:#4b3195}.attendance-staff-card.is-active-work{border-color:#b9dbc6;box-shadow:0 10px 26px rgba(23,107,58,.08)}.attendance-current-detail{margin-top:7px;color:#3f4a44;font-size:12px;font-weight:800}.attendance-staff-operation{display:grid;gap:8px;justify-items:stretch}.attendance-clock-in-button{min-height:48px;white-space:nowrap}.attendance-clock-in-button span{font-size:20px;line-height:1}.attendance-active-summary{display:grid;gap:3px;padding:12px 14px;border:1px solid #cfe4d6;border-radius:14px;background:#f4fbf6}.attendance-active-summary>b{font-size:16px;color:#145a31}.attendance-active-summary>span,.attendance-active-summary>small{color:var(--muted);font-size:11px;font-weight:800}.attendance-staff-card{grid-template-columns:minmax(0,1fr) minmax(180px,230px) minmax(290px,390px)}
.attendance-qr-modal{z-index:1200;padding:18px}.attendance-qr-sheet{position:relative;width:min(560px,100%);max-height:min(90vh,760px);overflow:auto;padding:24px;border-radius:24px;background:#fff}.attendance-qr-close{position:absolute;top:13px;right:13px;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#222;font-size:24px;cursor:pointer}.attendance-qr-heading{display:flex;gap:14px;align-items:center;padding-right:42px}.attendance-qr-heading h2{margin:4px 0 5px;font-size:24px}.attendance-qr-heading p{margin:0;color:var(--muted);line-height:1.6}.attendance-qr-icon{display:grid;place-items:center;width:58px;height:58px;flex:0 0 auto;border-radius:18px;background:#176b3a;color:#fff;font-size:30px}.attendance-qr-live{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:18px;align-items:center;margin-top:20px;padding:18px;border:2px solid #111;border-radius:20px;background:#fff}.attendance-qr-canvas{display:grid;place-items:center;min-width:0}.attendance-qr-canvas svg{display:block;width:min(100%,310px);height:auto}.attendance-qr-count{display:grid;justify-items:center;align-content:center;min-height:160px;border-left:1px solid var(--line)}.attendance-qr-count span,.attendance-qr-count small{font-size:12px;font-weight:900;color:var(--muted)}.attendance-qr-count b{font-size:76px;line-height:1;color:#ff7300;font-variant-numeric:tabular-nums}.attendance-qr-instruction{display:grid;gap:5px;margin-top:14px;padding:15px;border-radius:15px;background:#fff6de}.attendance-qr-instruction>b{font-size:17px}.attendance-qr-instruction>span{font-size:12px;line-height:1.7;color:#594a28}.attendance-qr-result{display:grid;justify-items:center;gap:10px;margin-top:24px;padding:28px 18px;text-align:center}.attendance-qr-result .attendance-result-icon{display:grid;place-items:center;width:70px;height:70px;border-radius:999px;background:#176b3a;color:#fff;font-size:36px;font-weight:900}.attendance-qr-result.is-expired .attendance-result-icon,.attendance-qr-result.is-error .attendance-result-icon{background:#9c2c23}.attendance-qr-result h3{margin:3px 0 0;font-size:24px}.attendance-qr-result p{max-width:420px;margin:0;color:var(--muted);line-height:1.7}.attendance-qr-result .btn{margin-top:8px;max-width:360px}.attendance-waiting-dots{display:flex;gap:7px;margin-top:7px}.attendance-waiting-dots i{width:10px;height:10px;border-radius:999px;background:#176b3a;animation:attendancePulse 1.2s infinite ease-in-out}.attendance-waiting-dots i:nth-child(2){animation-delay:.18s}.attendance-waiting-dots i:nth-child(3){animation-delay:.36s}@keyframes attendancePulse{0%,80%,100%{opacity:.25;transform:scale(.75)}40%{opacity:1;transform:scale(1)}}
.attendance-clock-body{min-height:100vh;margin:0;background:linear-gradient(180deg,#111 0,#111 92px,#f5f3ed 92px,#f5f3ed 100%);color:#151515}.attendance-clock-page{width:min(100%,560px);margin:0 auto;padding:18px 14px calc(30px + env(safe-area-inset-bottom))}.attendance-clock-brand{display:flex;align-items:center;gap:10px;height:56px;color:#fff}.attendance-clock-brand img{width:42px;height:42px;object-fit:contain}.attendance-clock-brand div{display:grid}.attendance-clock-brand span{font-size:10px;font-weight:900;letter-spacing:.16em;color:#ffb55d}.attendance-clock-brand b{font-size:17px}.attendance-clock-card{min-height:500px;margin-top:18px;padding:24px;border:1px solid #e1ded5;border-radius:26px;background:#fff;box-shadow:0 18px 48px rgba(29,27,22,.12)}.attendance-clock-loading{display:grid;place-items:center;gap:16px;min-height:430px;text-align:center}.attendance-clock-loading span{width:46px;height:46px;border:5px solid #e9ece9;border-top-color:#176b3a;border-radius:999px;animation:attendanceSpin .85s linear infinite}@keyframes attendanceSpin{to{transform:rotate(360deg)}}.attendance-clock-footer{margin:15px 12px 0;color:#716e65;text-align:center;font-size:11px;line-height:1.65}.attendance-clock-result,.attendance-clock-confirm,.attendance-clock-working{display:grid;justify-items:center;text-align:center}.attendance-clock-result{align-content:center;min-height:430px}.attendance-clock-result>span,.attendance-clock-working-mark{display:grid;place-items:center;width:74px;height:74px;border-radius:24px;background:#176b3a;color:#fff;font-size:38px;font-weight:900}.attendance-clock-result.is-error>span{background:#9c2c23}.attendance-clock-result.is-idle>span{background:#20231f}.attendance-clock-result>small,.attendance-clock-kicker{margin-top:16px;color:#7c7468;font-size:11px;font-weight:900;letter-spacing:.18em}.attendance-clock-result h1,.attendance-clock-confirm h1,.attendance-clock-working h1{margin:8px 0 10px;font-size:30px;line-height:1.3}.attendance-clock-result p{margin:0;color:#666157;line-height:1.8}.attendance-clock-help{display:grid;gap:4px;width:100%;margin-top:22px;padding:16px;border-radius:17px;background:#f5f7f4;text-align:left}.attendance-clock-help b{font-size:15px}.attendance-clock-help span{font-size:12px;color:#666157;line-height:1.65}.attendance-clock-person-icon{display:grid;place-items:center;width:86px;height:86px;margin-top:12px;border-radius:28px;background:#111;color:#fff;font-size:36px;font-weight:900}.attendance-clock-confirm dl,.attendance-clock-work-detail{display:grid;width:100%;gap:0;margin:15px 0 20px;border:1px solid #e3e0d8;border-radius:18px;overflow:hidden;text-align:left}.attendance-clock-confirm dl>div,.attendance-clock-work-detail>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;align-items:center;padding:14px 16px;border-bottom:1px solid #e8e5dd}.attendance-clock-confirm dl>div:last-child,.attendance-clock-work-detail>div:last-child{border-bottom:0}.attendance-clock-confirm dt,.attendance-clock-work-detail dt{color:#777166;font-size:12px;font-weight:900}.attendance-clock-confirm dd,.attendance-clock-work-detail dd{margin:0;font-size:16px;font-weight:900;text-align:right}.attendance-clock-primary{width:100%;min-height:64px;border:0;border-radius:17px;background:#ff7300;color:#fff;font:900 20px/1 sans-serif;box-shadow:0 10px 22px rgba(255,115,0,.25);cursor:pointer}.attendance-clock-primary:disabled{opacity:.65;cursor:wait}.attendance-clock-confirm-note{margin:12px 0 0;color:#777166;font-size:12px}.attendance-clock-working-mark{border-radius:999px}.attendance-clock-state{display:grid;gap:4px;width:100%;margin:8px 0 0;padding:15px;border-radius:16px;background:#eaf7ee}.attendance-clock-state b{font-size:18px;color:#145a31}.attendance-clock-state span{font-size:11px;color:#486052}.attendance-clock-hold-note{display:grid;gap:4px;width:100%;padding:15px;border:1px solid #dedbd2;border-radius:16px;text-align:left}.attendance-clock-hold-note b{font-size:14px}.attendance-clock-hold-note span{font-size:12px;color:#666157;line-height:1.6}.attendance-clock-coming-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%;margin-top:16px}.attendance-clock-coming-actions button{min-height:54px;border:1px solid #d4d1ca;border-radius:15px;background:#e9e8e3;color:#8a867d;font-size:16px;font-weight:900}.attendance-clock-coming-actions small{grid-column:1/-1;color:#777166;line-height:1.5}
@media(max-width:850px){.attendance-staff-card{grid-template-columns:1fr}.attendance-staff-operation{grid-row:auto}.attendance-clock-in-button{width:100%}}
@media(max-width:600px){.attendance-feature-strip{display:grid;grid-template-columns:1fr 1fr;overflow:visible}.attendance-feature{min-width:0;justify-content:flex-start;padding:9px 10px;border-radius:14px;font-size:11px}.attendance-feature b{flex:0 0 auto}.attendance-current-detail{font-size:11px}.attendance-staff-operation{order:2}.attendance-staff-editor{order:3}.attendance-qr-modal{padding:9px}.attendance-qr-sheet{padding:20px 15px;border-radius:20px}.attendance-qr-heading{align-items:flex-start}.attendance-qr-heading h2{font-size:21px}.attendance-qr-icon{width:48px;height:48px;border-radius:15px;font-size:24px}.attendance-qr-live{grid-template-columns:1fr;gap:8px;padding:12px}.attendance-qr-count{grid-template-columns:auto auto auto;gap:7px;min-height:auto;padding-top:10px;border-top:1px solid var(--line);border-left:0}.attendance-qr-count b{font-size:46px}.attendance-qr-canvas svg{width:min(100%,280px)}.attendance-clock-body{background:linear-gradient(180deg,#111 0,#111 82px,#f5f3ed 82px,#f5f3ed 100%)}.attendance-clock-page{padding:12px 10px calc(24px + env(safe-area-inset-bottom))}.attendance-clock-card{min-height:480px;margin-top:14px;padding:20px 15px;border-radius:22px}.attendance-clock-result h1,.attendance-clock-confirm h1,.attendance-clock-working h1{font-size:27px}.attendance-clock-confirm dl>div,.attendance-clock-work-detail>div{grid-template-columns:105px minmax(0,1fr);padding:13px 12px}.attendance-clock-confirm dd,.attendance-clock-work-detail dd{font-size:15px}.attendance-clock-primary{min-height:66px;font-size:21px}}

/* v1.2.0-fix265 QR expiry synchronization */
.attendance-qr-local-expired{min-height:260px;display:grid;place-items:center;border:2px dashed #d8d4cb;border-radius:22px;background:#f8f7f3;color:#5f5b54;font-weight:900;text-align:center;padding:24px}
.attendance-clock-reference{display:block;margin-top:14px;color:#777;font-size:12px;overflow-wrap:anywhere}

/* v1.2.0-fix266 attendance work / break / clock-out */
.attendance-clock-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;margin:18px 0 14px}
.attendance-clock-action{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;gap:9px;min-height:62px;padding:12px 14px;border:0;border-radius:17px;font-size:18px;font-weight:900;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}
.attendance-clock-action:active{transform:translateY(1px)}
.attendance-clock-action:disabled{opacity:.58;cursor:wait;transform:none}
.attendance-clock-action span{font-size:23px}
.attendance-clock-action.is-break{background:#e7f4eb;color:#145a31;box-shadow:inset 0 0 0 1px #c7dfcf}
.attendance-clock-action.is-break-end{background:#ff7300;color:#fff;box-shadow:0 10px 22px rgba(255,115,0,.22)}
.attendance-clock-action.is-clock-out{background:#fff1ef;color:#942d24;box-shadow:inset 0 0 0 1px #e8c4bf}
.attendance-clock-working.is-on-break .attendance-clock-working-mark{background:#c88313}
.attendance-clock-state.is-break{background:#fff5dc}
.attendance-clock-state.is-break b{color:#7d4d05}
.attendance-clock-completed{display:grid;justify-items:center;text-align:center}
.attendance-clock-completed-mark{display:grid;place-items:center;width:82px;height:82px;border-radius:999px;background:#176b3a;color:#fff;font-size:42px;font-weight:900}
.attendance-clock-completed h1{margin:8px 0 10px;font-size:30px;line-height:1.3}
.attendance-clock-completed>p{margin:0;color:#666157;line-height:1.75}
.attendance-clock-completed-note{display:grid;gap:5px;width:100%;padding:15px;border-radius:16px;background:#eef7f0;text-align:left}
.attendance-clock-completed-note b{font-size:14px;color:#145a31}
.attendance-clock-completed-note span{font-size:12px;color:#58655c;line-height:1.6}
.attendance-clock-modal{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:18px;background:rgba(17,17,17,.66);backdrop-filter:blur(4px)}
.attendance-clock-modal-sheet{display:grid;grid-template-columns:52px minmax(0,1fr);gap:14px;width:min(100%,500px);padding:24px;border-radius:24px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.28)}
.attendance-clock-modal-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#e8f5ec;color:#145a31;font-size:25px;font-weight:900}
.attendance-clock-modal-icon.is-danger{background:#fff0ed;color:#9c2c23}
.attendance-clock-modal-sheet small{color:#6b2bbd;font-size:11px;font-weight:900;letter-spacing:.14em}
.attendance-clock-modal-sheet h2{margin:5px 0 8px;font-size:23px;line-height:1.35}
.attendance-clock-modal-sheet p{margin:0;color:#615d55;font-size:14px;line-height:1.7}
.attendance-clock-modal-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:5px}
.attendance-clock-modal-actions button{min-height:54px;border:0;border-radius:15px;font-size:16px;font-weight:900;cursor:pointer}
.attendance-clock-modal-cancel{background:#eeece7;color:#181818}
.attendance-clock-modal-confirm{background:#ff7300;color:#fff}
.attendance-clock-modal-confirm.is-danger{background:#b3382e}
.attendance-status.is-completed{background:#edf0f3;color:#4c5964}
.attendance-status.is-break{background:#fff2d5;color:#7e5107}
@media(max-width:600px){
  .attendance-clock-actions{grid-template-columns:1fr;gap:10px}
  .attendance-clock-action{min-height:64px;font-size:19px}
  .attendance-clock-completed h1{font-size:27px}
  .attendance-clock-modal{padding:10px}
  .attendance-clock-modal-sheet{grid-template-columns:46px minmax(0,1fr);gap:11px;padding:20px 16px;border-radius:21px}
  .attendance-clock-modal-icon{width:46px;height:46px;border-radius:14px;font-size:22px}
  .attendance-clock-modal-sheet h2{font-size:21px}
  .attendance-clock-modal-actions{grid-template-columns:1fr 1fr}
}

/* fix266 four attendance summary cards */
.attendance-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:600px){.attendance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.attendance-status.is-review{background:#ffe6e2;color:#922b22}

/* v1.2.0-fix267 attendance device reconnect */
.attendance-reconnect-button{width:100%;min-height:44px;margin-top:8px;border-color:#7f65c8;background:#fff;color:#4b3195;box-shadow:none}
.attendance-reconnect-button:hover{background:#f3efff}
.attendance-device-summary{display:block;margin-top:4px;color:#5f5a69!important}
.attendance-clock-confirm.is-reconnect .attendance-clock-person-icon{background:#4b3195}
.attendance-clock-confirm.is-reconnect .attendance-clock-primary{background:#5b3bb3;box-shadow:0 10px 22px rgba(91,59,179,.24)}
@media(max-width:600px){.attendance-reconnect-button{min-height:52px;font-size:15px}.attendance-device-summary{font-size:11px!important}}

/* v1.2.0-fix268 attendance history and correction workflow */
.attendance-page-actions{display:flex;flex-direction:column;gap:10px;min-width:220px}.attendance-page-actions .btn{width:100%;justify-content:center}.attendance-pending-button{position:relative}.attendance-pending-button b{display:inline-grid;place-items:center;min-width:24px;height:24px;margin-left:6px;padding:0 7px;border-radius:999px;background:#fff;color:#b45309;font-size:.78rem}.attendance-self-page,.attendance-corrections-page{padding-bottom:56px}.attendance-self-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.attendance-history-list,.attendance-review-list{display:grid;gap:16px}.attendance-history-card{display:grid;gap:18px;padding:22px}.attendance-history-head,.attendance-review-head,.attendance-correction-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.attendance-history-head h3,.attendance-review-head h3,.attendance-correction-sheet-head h2{margin:4px 0 0}.attendance-history-times{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0}.attendance-history-times div{padding:13px;border:1px solid var(--line,#dfe5ec);border-radius:14px;background:#f8fafc}.attendance-history-times dt{font-size:.76rem;color:#64748b}.attendance-history-times dd{margin:5px 0 0;font-weight:800;line-height:1.35}.attendance-history-breaks{display:grid;gap:7px;padding:14px 16px;border-radius:14px;background:#f5f7fa}.attendance-history-breaks span{color:#475569}.attendance-correction-history{display:grid;gap:9px;padding-top:3px}.attendance-correction-history h4{margin:0}.attendance-correction-history article{padding:12px 14px;border:1px solid #e4e8ee;border-radius:13px;background:#fff}.attendance-correction-history article>div{display:flex;align-items:center;gap:9px}.attendance-correction-history article p{margin:8px 0 5px}.attendance-correction-history article small{color:#64748b;line-height:1.55}.attendance-correction-sheet{width:min(620px,calc(100vw - 24px));max-height:min(88vh,840px);overflow:auto;display:grid;gap:18px}.attendance-correction-sheet label{display:grid;gap:8px}.attendance-correction-sheet label>span{font-weight:800}.attendance-correction-sheet textarea{resize:vertical;min-height:112px}.attendance-correction-warning{display:grid;gap:4px;padding:14px 16px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa}.attendance-correction-warning b{color:#9a3412}.attendance-correction-warning span{color:#7c2d12;line-height:1.5}.attendance-correction-actions,.attendance-review-actions{display:flex;justify-content:flex-end;gap:10px}.attendance-correction-actions .btn,.attendance-review-actions .btn{min-width:120px}.attendance-scope-switch{display:flex;gap:8px;align-self:flex-start;padding:5px;border:1px solid #dbe2ea;border-radius:14px;background:#fff}.attendance-scope-switch .tab.active{background:#1e293b;color:#fff;border-color:#1e293b}.attendance-review-list{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-review-card{display:grid;gap:15px;padding:20px}.attendance-review-card.is-pending{border-color:#fdba74;box-shadow:0 8px 22px rgba(180,83,9,.08)}.attendance-review-head p{margin:3px 0 0;color:#64748b}.attendance-review-head>small{white-space:nowrap;color:#64748b}.attendance-review-change{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:14px;border-radius:14px;background:#f8fafc;text-align:center}.attendance-review-change span{color:#64748b}.attendance-review-change b{color:#94a3b8}.attendance-review-change strong{color:#0f766e}.attendance-review-change.large{font-size:1.06rem}.attendance-review-reason{padding:13px 15px;border-left:4px solid #cbd5e1;background:#f8fafc}.attendance-review-reason p{margin:5px 0 0;white-space:pre-wrap;line-height:1.55}.attendance-review-result{display:grid;gap:4px;padding-top:12px;border-top:1px solid #e5e7eb}.attendance-review-result span{color:#64748b}.attendance-admin-adjust-head{margin-top:38px}.attendance-admin-work-list{display:grid;gap:10px}.attendance-admin-work{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px}.attendance-admin-work>div{display:grid;gap:3px}.attendance-admin-work span,.attendance-admin-work small{color:#64748b}.attendance-status.is-review{background:#fff7ed;color:#9a3412;border-color:#fdba74}.attendance-status.is-inactive{background:#f1f5f9;color:#475569}.attendance-status.is-completed{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.attendance-summary-grid article.attention{border-color:#fdba74;background:#fffaf5}
@media(max-width:900px){.attendance-history-times{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-history-times div:last-child{grid-column:span 2}.attendance-review-list{grid-template-columns:1fr}.attendance-page-actions{min-width:0;width:100%;grid-column:1/-1}.attendance-scope-switch{width:100%}.attendance-scope-switch .tab{flex:1}.attendance-self-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.attendance-history-card,.attendance-review-card{padding:16px}.attendance-history-head,.attendance-review-head,.attendance-correction-sheet-head{align-items:stretch;flex-direction:column}.attendance-history-times{grid-template-columns:1fr 1fr}.attendance-history-times div{padding:11px}.attendance-history-times div:last-child{grid-column:1/-1}.attendance-self-summary{grid-template-columns:1fr}.attendance-review-change{grid-template-columns:1fr}.attendance-review-change b{transform:rotate(90deg)}.attendance-correction-actions,.attendance-review-actions{display:grid;grid-template-columns:1fr 1fr}.attendance-correction-actions .btn,.attendance-review-actions .btn{min-width:0;width:100%;min-height:50px}.attendance-admin-work{align-items:stretch;flex-direction:column}.attendance-admin-work .btn{width:100%;min-height:48px}.attendance-page-actions .btn{min-height:48px}}

/* v1.2.0-fix269 attendance self-review guard */
.attendance-self-review-notice{display:grid;gap:4px;padding:14px 16px;border:1px solid #e6b85c;border-radius:14px;background:#fff8e8;color:#5c430d}.attendance-self-review-notice b{font-size:15px}.attendance-self-review-notice span{font-size:13px;line-height:1.65}.attendance-review-result.is-legacy-self-review{border-color:#d99b42;background:#fff8e8}.attendance-review-result.is-legacy-self-review em{display:block;margin-top:6px;font-size:12px;font-style:normal;font-weight:700;color:#8a5100}
@media(max-width:640px){.attendance-self-review-notice{padding:13px 14px}.attendance-self-review-notice span{font-size:14px}}

/* v1.2.0-fix270 勤怠集計・CSV・要確認記録 */
.attendance-report-page,.attendance-flags-page{padding-bottom:64px}.attendance-report-filter{margin:16px 0;padding:18px}.attendance-report-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr)) auto auto;gap:12px;align-items:end}.attendance-report-filter label,.attendance-flag-filter label{display:grid;gap:6px}.attendance-report-filter label>span,.attendance-flag-filter label>span{font-size:11px;font-weight:900;color:#475569}.attendance-report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0 20px}.attendance-report-summary article{display:grid;gap:4px;padding:17px;border:1px solid var(--line);border-radius:18px;background:#fff}.attendance-report-summary article.attention{border-color:#efb458;background:#fffaf0}.attendance-report-summary span,.attendance-report-summary small{color:var(--muted);font-size:11px;font-weight:800}.attendance-report-summary b{font-size:24px;line-height:1.2}.attendance-schedule-notice{margin:0 0 24px}.attendance-report-list,.attendance-flag-list{display:grid;gap:13px}.attendance-report-row{display:grid;gap:14px;padding:19px}.attendance-report-row-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.attendance-report-row-head h3{margin:6px 0 3px;font-size:18px}.attendance-report-row-head p{margin:0;color:var(--muted);font-size:12px}.attendance-report-row-badges{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}.attendance-report-times{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0}.attendance-report-times>div{padding:11px 12px;border:1px solid #e2e8e4;border-radius:13px;background:#f8faf8}.attendance-report-times dt{font-size:10px;font-weight:900;color:var(--muted)}.attendance-report-times dd{margin:5px 0 0;font-size:13px;font-weight:900}.attendance-report-breaks{display:grid;gap:5px;padding:12px 14px;border-radius:13px;background:#f4f7f5;font-size:12px}.attendance-report-row footer{display:flex;gap:14px;flex-wrap:wrap;padding-top:3px;color:var(--muted);font-size:11px;font-weight:800}.attendance-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin:22px 0}.attendance-pagination span{font-weight:900;color:#475569}.attendance-flag-filter{display:grid;grid-template-columns:minmax(180px,240px) minmax(220px,320px) auto;gap:12px;align-items:end;margin:15px 0 20px;padding:17px}.attendance-flag-card{display:grid;gap:14px;padding:20px}.attendance-flag-card.is-open{border-color:#efc069}.attendance-flag-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.attendance-flag-people span{display:grid;gap:4px;padding:11px 12px;border:1px solid #e4e9e5;border-radius:12px;background:#f8faf8;font-size:12px}.attendance-flag-people b{font-size:10px;color:var(--muted)}.attendance-flag-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.attendance-flag-details span{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr);gap:8px;padding:9px 11px;border-radius:10px;background:#f4f5f4;font-size:11px;overflow-wrap:anywhere}.attendance-flag-details b{color:#64748b}.attendance-status.is-review{background:#fff0c2;color:#765000}.attendance-status.is-completed{background:#dff4e6;color:#145a31}
@media(max-width:900px){.attendance-report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-report-times{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-flag-people{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.attendance-report-filter-grid,.attendance-flag-filter{grid-template-columns:1fr}.attendance-report-filter-grid button,.attendance-flag-filter button{width:100%}.attendance-report-summary{grid-template-columns:1fr 1fr;gap:8px}.attendance-report-summary article{padding:13px 10px}.attendance-report-summary b{font-size:20px}.attendance-report-row{padding:15px}.attendance-report-row-head{display:grid}.attendance-report-row-badges{justify-content:flex-start}.attendance-report-times{grid-template-columns:1fr 1fr}.attendance-report-times>div:last-child{grid-column:1/-1}.attendance-report-row footer{display:grid;gap:6px}.attendance-flag-card{padding:15px}.attendance-flag-people,.attendance-flag-details{grid-template-columns:1fr}.attendance-flag-details span{grid-template-columns:1fr}.attendance-pagination .btn{min-width:100px}}

/* v1.2.0-fix271 勤怠監査ログ・要確認表示改善 */
.attendance-audit-page{padding-bottom:64px}.attendance-audit-filter{margin:16px 0;padding:18px}.attendance-audit-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr)) repeat(3,minmax(150px,1fr)) auto;gap:12px;align-items:end}.attendance-audit-filter label{display:grid;gap:6px}.attendance-audit-filter label>span{font-size:11px;font-weight:900;color:#475569}.attendance-audit-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:15px 0 20px}.attendance-audit-summary article{display:grid;gap:4px;padding:17px;border:1px solid var(--line);border-radius:18px;background:#fff}.attendance-audit-summary article.attention{border-color:#efb458;background:#fffaf0}.attendance-audit-summary span,.attendance-audit-summary small{color:var(--muted);font-size:11px;font-weight:800}.attendance-audit-summary b{font-size:24px;line-height:1.2}.attendance-audit-notice{margin:0 0 24px}.attendance-audit-list{display:grid;gap:13px}.attendance-audit-card{display:grid;gap:14px;padding:20px}.attendance-audit-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.attendance-audit-head h3{margin:6px 0 3px;font-size:18px}.attendance-audit-head p{margin:0;color:var(--muted);font-size:12px}.attendance-audit-head>small{color:var(--muted);font-weight:800}.attendance-audit-context{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.attendance-audit-context span{display:grid;gap:4px;padding:11px 12px;border:1px solid #e4e9e5;border-radius:12px;background:#f8faf8;font-size:12px;overflow-wrap:anywhere}.attendance-audit-context b{font-size:10px;color:var(--muted)}.attendance-audit-changes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.attendance-audit-changes>section{display:grid;gap:8px;padding:13px;border:1px solid #e2e8e4;border-radius:14px;background:#fbfcfb}.attendance-audit-changes>section>b{font-size:12px}.attendance-audit-change-list{display:grid;gap:5px;margin:0}.attendance-audit-change-list>div{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr);gap:8px;padding:7px 9px;border-radius:9px;background:#f3f6f4;font-size:11px}.attendance-audit-change-list dt{color:#64748b;font-weight:800}.attendance-audit-change-list dd{margin:0;overflow-wrap:anywhere}.attendance-audit-footer{display:flex;gap:12px;flex-wrap:wrap;padding-top:4px;color:#64748b;font-size:11px;font-weight:800}.attendance-report-summary article small{line-height:1.5}.attendance-flag-details span b{color:#475569}.attendance-flag-details span{align-items:start}
@media(max-width:1100px){.attendance-audit-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.attendance-audit-filter-grid button{width:100%}.attendance-audit-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.attendance-audit-context{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.attendance-audit-filter-grid{grid-template-columns:1fr 1fr}.attendance-audit-summary{grid-template-columns:1fr 1fr}.attendance-audit-summary article:first-child{grid-column:1/-1}.attendance-audit-changes{grid-template-columns:1fr}.attendance-audit-card{padding:15px}.attendance-audit-head{display:grid}.attendance-audit-context{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.attendance-audit-filter-grid,.attendance-audit-context{grid-template-columns:1fr}.attendance-audit-filter-grid button{min-height:50px}.attendance-audit-change-list>div{grid-template-columns:1fr;gap:2px}.attendance-audit-footer{display:grid;gap:6px}}

/* v1.2.0-fix274 attendance review notes and correction withdrawal */
.attendance-review-notes{display:grid;gap:9px;padding:14px 16px;border:1px solid #dce6df;border-radius:14px;background:#f7faf8}.attendance-review-notes h4{margin:0;font-size:13px}.attendance-review-notes article{display:grid;gap:5px;padding:11px 12px;border-radius:12px;background:#fff;border:1px solid #e4ebe6}.attendance-review-notes p{margin:0;white-space:pre-wrap;line-height:1.6}.attendance-review-notes small{color:#64748b;font-weight:700}.attendance-correction-history article>[data-attendance-withdraw-correction]{margin-top:10px}.attendance-review-result{padding:12px 14px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
@media(max-width:600px){.attendance-review-notes{padding:12px}.attendance-correction-history article>[data-attendance-withdraw-correction]{width:100%}}

/* v1.2.0-fix276 attendance UI overhaul */
.attendance-ui-icon{width:20px;height:20px;display:block;flex:0 0 auto}.attendance-ui-topbar .wrap{gap:16px}.attendance-dashboard-page,.attendance-ui-subpage{max-width:1180px}.attendance-ui-nav{position:sticky;top:calc(var(--demo-banner-offset) + var(--platform-banner-offset) + 82px);z-index:35;display:flex;gap:7px;margin:0 -2px;padding:12px 2px 10px;overflow-x:auto;background:linear-gradient(180deg,var(--bg,#f6f7f5) 72%,rgba(246,247,245,0));scrollbar-width:none}.attendance-ui-nav::-webkit-scrollbar{display:none}.attendance-ui-nav-item{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:max-content;min-height:46px;padding:9px 13px;border:1px solid #dce4df;border-radius:14px;background:#fff;color:#3c4741;font:800 12px/1.2 inherit;cursor:pointer;box-shadow:0 4px 12px rgba(32,50,40,.03)}.attendance-ui-nav-item:hover{border-color:#a9c9b5;background:#f8fcf9}.attendance-ui-nav-item.is-active{border-color:#176b3a;background:#176b3a;color:#fff;box-shadow:0 8px 18px rgba(23,107,58,.18)}.attendance-ui-nav-item .attendance-ui-icon{width:18px;height:18px}.attendance-ui-nav-item>b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ef7a1a;color:#fff;font-size:10px}.attendance-ui-nav-item.is-active>b{background:#fff;color:#176b3a}
.attendance-dashboard-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,300px);gap:18px;align-items:center;margin:10px 0 16px;padding:22px 24px;border:1px solid #dbe7df;border-radius:22px;background:linear-gradient(135deg,#f4fbf6 0%,#fff 70%);box-shadow:0 12px 30px rgba(23,107,58,.06)}.attendance-dashboard-heading{display:flex;gap:16px;align-items:center;min-width:0}.attendance-dashboard-icon{display:grid;place-items:center;width:62px;height:62px;border-radius:19px;background:#176b3a;color:#fff;flex:0 0 auto}.attendance-dashboard-icon .attendance-ui-icon{width:32px;height:32px}.attendance-dashboard-heading h1{margin:4px 0 5px;font-size:28px;line-height:1.25}.attendance-dashboard-heading p{margin:0;color:var(--muted);line-height:1.65}.attendance-scope-card{display:grid;gap:4px;padding:15px 16px;border:1px solid #dce6df;border-radius:16px;background:#fff}.attendance-scope-card span,.attendance-scope-card small{color:var(--muted);font-size:11px;font-weight:800}.attendance-scope-card b{font-size:17px;overflow-wrap:anywhere}
.attendance-attention-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px}.attendance-attention-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 16px;border:1px solid #efc067;border-radius:16px;background:#fff9e9;color:#5f450b;text-align:left;cursor:pointer}.attendance-attention-card.is-correction{border-color:#b9d7c3;background:#f3fbf5;color:#174d2e}.attendance-attention-card>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f5b632;color:#5b3d00}.attendance-attention-card.is-correction>span{background:#dff3e5;color:#176b3a}.attendance-attention-card>span .attendance-ui-icon{width:21px;height:21px}.attendance-attention-card>div{display:grid;gap:3px}.attendance-attention-card b{font-size:14px}.attendance-attention-card small{font-size:11px;line-height:1.5;opacity:.78}.attendance-attention-card>.attendance-ui-icon{width:18px;height:18px}
.attendance-today-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 18px}.attendance-today-summary article{position:relative;display:grid;gap:5px;min-width:0;padding:16px;border:1px solid #e0e6e2;border-radius:17px;background:#fff;overflow:hidden}.attendance-today-summary article:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#b7c0ba}.attendance-today-summary article.is-working:before{background:#25764a}.attendance-today-summary article.is-break:before{background:#765bb7}.attendance-today-summary article.is-waiting:before{background:#3d6ca8}.attendance-today-summary article.is-completed:before{background:#57916a}.attendance-today-summary article.is-review:before{background:#d39a22}.attendance-today-summary span{display:flex;align-items:center;gap:6px;color:#4d5b53;font-size:11px;font-weight:900}.attendance-today-summary span .attendance-ui-icon{width:16px;height:16px}.attendance-today-summary b{font-size:29px;line-height:1.1}.attendance-today-summary small{color:var(--muted);font-size:10px;font-weight:700}
.attendance-staff-section{margin-top:0}.attendance-staff-toolbar{display:grid;grid-template-columns:auto minmax(280px,390px);gap:14px;align-items:end;margin-bottom:10px;padding:14px;border:1px solid #dde5df;border-radius:18px;background:#fff}.attendance-mode-switch{display:flex;gap:5px;padding:4px;border-radius:13px;background:#eef2ef}.attendance-mode-switch button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:8px 13px;border:0;border-radius:10px;background:transparent;color:#566158;font:850 12px/1 inherit;cursor:pointer}.attendance-mode-switch button.is-active{background:#fff;color:#176b3a;box-shadow:0 3px 12px rgba(33,49,39,.1)}.attendance-mode-switch .attendance-ui-icon{width:17px;height:17px}.attendance-search-v2{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px}.attendance-search-v2>span{grid-column:1/-1;display:flex;align-items:center;gap:6px;font-size:11px;font-weight:900;color:#47554d}.attendance-search-v2>span .attendance-ui-icon{width:16px;height:16px}.attendance-search-v2 small{align-self:center;color:var(--muted);font-size:11px;font-weight:800;white-space:nowrap}.attendance-status-filters{display:flex;gap:7px;margin:0 0 11px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.attendance-status-filters::-webkit-scrollbar{display:none}.attendance-status-filters button{display:inline-flex;align-items:center;gap:6px;min-width:max-content;min-height:38px;padding:7px 11px;border:1px solid #dfe5e1;border-radius:999px;background:#fff;color:#536058;font:800 11px/1 inherit;cursor:pointer}.attendance-status-filters button b{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#eef2ef;color:#47534b;font-size:10px}.attendance-status-filters button.is-active{border-color:#176b3a;background:#176b3a;color:#fff}.attendance-status-filters button.is-active b{background:#fff;color:#176b3a}
.attendance-staff-list{gap:9px}.attendance-staff-card.attendance-staff-card-v2{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(310px,.95fr);gap:16px;align-items:center;padding:15px 16px 15px 18px;border-radius:18px;box-shadow:none;overflow:hidden}.attendance-staff-card.attendance-staff-card-v2:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#adb7b0}.attendance-staff-card-v2.is-status-working:before{background:#25764a}.attendance-staff-card-v2.is-status-break:before{background:#765bb7}.attendance-staff-card-v2.is-status-waiting:before{background:#3d6ca8}.attendance-staff-card-v2.is-status-completed:before{background:#57916a}.attendance-staff-card-v2.is-status-disabled:before,.attendance-staff-card-v2.is-status-inactive:before{background:#9ba29d}.attendance-staff-overview{display:flex;align-items:center;gap:13px;min-width:0}.attendance-staff-identity{min-width:0}.attendance-staff-identity p{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 0;color:#556159;font-size:12px}.attendance-staff-identity p span{padding-left:8px;border-left:1px solid #dce2de}.attendance-staff-identity>small{display:block;margin-top:4px;color:var(--muted);font-size:11px}.attendance-staff-name h3{font-size:17px}.attendance-status{gap:4px;padding:5px 8px}.attendance-status .attendance-ui-icon{width:13px;height:13px}.attendance-status.is-break{background:#eee9ff;color:#563a9b}.attendance-status.is-completed{background:#e3f3e7;color:#23603a}.attendance-status.is-waiting{background:#e9f1fc;color:#285989}.attendance-status.is-disabled{background:#ecefed;color:#59615c}.attendance-status.is-inactive{background:#f8e4e2;color:#8b2d26}.attendance-staff-today{min-width:0}.attendance-staff-settings{display:none;grid-template-columns:minmax(130px,.38fr) minmax(0,1fr);gap:14px;align-items:end}.attendance-staff-section[data-attendance-mode="settings"] .attendance-staff-today{display:none}.attendance-staff-section[data-attendance-mode="settings"] .attendance-staff-settings{display:grid}.attendance-staff-section[data-attendance-mode="settings"] .attendance-status-filters{display:none}.attendance-setting-summary{display:grid;gap:3px;padding:10px 12px;border-radius:13px;background:#f3f6f4}.attendance-setting-summary span,.attendance-setting-summary small{font-size:10px;color:var(--muted);font-weight:800}.attendance-setting-summary b{font-size:15px}.attendance-staff-editor{grid-template-columns:minmax(160px,1fr) auto}.attendance-staff-actions .state-btn{min-height:42px}.attendance-clock-in-button,.attendance-reconnect-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;border-radius:13px}.attendance-clock-in-button .attendance-ui-icon,.attendance-reconnect-button .attendance-ui-icon{width:20px;height:20px}.attendance-active-summary{gap:5px;padding:11px 13px}.attendance-active-summary-title{display:flex;align-items:center;gap:6px}.attendance-active-summary-title .attendance-ui-icon{width:18px;height:18px}.attendance-active-summary .attendance-reconnect-button{margin-top:4px;min-height:42px}.attendance-operation-note{display:flex;align-items:center;gap:9px;padding:12px 13px;border:1px solid #e1e6e3;border-radius:13px;background:#f7f9f8;color:#5d675f;font-size:12px;font-weight:700}.attendance-operation-note .attendance-ui-icon{width:19px;height:19px}.attendance-filtered-empty{margin-top:10px}.attendance-policy-details{margin:18px 0 0;border:1px solid #dfe5e1;border-radius:16px;background:#fff}.attendance-policy-details summary{display:flex;align-items:center;gap:8px;padding:15px 17px;cursor:pointer;font-size:13px;font-weight:900;list-style:none}.attendance-policy-details summary::-webkit-details-marker{display:none}.attendance-policy-details summary:after{content:"＋";margin-left:auto;font-size:18px;color:#607067}.attendance-policy-details[open] summary:after{content:"−"}.attendance-policy-details summary .attendance-ui-icon{width:18px;height:18px;color:#176b3a}.attendance-policy-details>div{padding:0 17px 17px;color:#566159;font-size:12px;line-height:1.7}.attendance-policy-details p{margin:0 0 8px}.attendance-policy-details ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin:0;padding-left:19px}.attendance-setup-state{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:center;max-width:760px;margin:34px auto;padding:24px}.attendance-setup-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:#fff2cf;color:#7a5200}.attendance-setup-icon .attendance-ui-icon{width:28px;height:28px}.attendance-setup-state h1{margin:4px 0 7px}.attendance-setup-state p{margin:0;color:var(--muted);line-height:1.7}
.attendance-ui-subpage>.attendance-ui-nav{margin-bottom:4px}.attendance-subpage-hero{grid-template-columns:auto minmax(0,1fr) auto;margin-top:6px;padding:20px 22px;border-radius:20px;box-shadow:none}.attendance-subpage-hero .attendance-hero-icon{width:54px;height:54px;border-radius:16px}.attendance-subpage-hero .attendance-hero-icon .store-ui-icon{width:28px;height:28px}.attendance-subpage-hero h1{font-size:24px}.attendance-subpage-hero p{font-size:13px;line-height:1.65}.attendance-ui-subpage .attendance-summary-grid,.attendance-ui-subpage .attendance-report-summary,.attendance-ui-subpage .attendance-audit-summary{margin-top:12px}.attendance-report-filter,.attendance-audit-filter,.attendance-flag-filter{border-radius:18px;box-shadow:none}.attendance-record-card-v2{border-radius:18px;box-shadow:none}.attendance-record-card-v2 .attendance-status{font-size:10px}.attendance-record-details{border:1px solid #dfe6e1;border-radius:13px;background:#f8faf9;overflow:hidden}.attendance-record-details>summary{display:flex;align-items:center;min-height:44px;padding:10px 13px;cursor:pointer;color:#425149;font-size:12px;font-weight:900;list-style:none}.attendance-record-details>summary::-webkit-details-marker{display:none}.attendance-record-details>summary:after{content:"＋";margin-left:auto;font-size:17px}.attendance-record-details[open]>summary:after{content:"−"}.attendance-record-details>div{padding:0 12px 12px}.attendance-report-times>div.is-primary{border-color:#b9d9c4;background:#f0faf3}.attendance-report-times>div.is-primary dd{color:#176b3a}.attendance-audit-card .attendance-audit-changes{margin-top:3px}.attendance-audit-card .attendance-audit-footer{padding:12px 0 0}.attendance-field-error{display:block!important;margin-top:5px!important;color:#9b241c!important;font-size:12px!important;font-weight:850!important}.input.is-invalid{border-color:#b92f26!important;box-shadow:0 0 0 3px rgba(185,47,38,.12)!important}.attendance-correction-sheet{border-radius:22px}.attendance-correction-sheet label>span{font-size:12px}.attendance-correction-actions .btn,.attendance-review-actions .btn{min-height:48px}
@media(max-width:1024px){.attendance-today-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.attendance-today-summary article:nth-child(4),.attendance-today-summary article:nth-child(5){grid-column:span 1}.attendance-staff-card.attendance-staff-card-v2{grid-template-columns:minmax(0,.9fr) minmax(300px,1.1fr)}.attendance-staff-settings{grid-template-columns:1fr}.attendance-staff-editor{grid-template-columns:1fr}.attendance-staff-actions{justify-content:flex-start}.attendance-subpage-hero{grid-template-columns:auto minmax(0,1fr)}.attendance-subpage-hero>.attendance-scope-switch,.attendance-subpage-hero>.attendance-hero-store{grid-column:1/-1}}
@media(max-width:820px){.attendance-dashboard-head{grid-template-columns:1fr}.attendance-scope-card{grid-template-columns:auto 1fr;align-items:center}.attendance-scope-card span{grid-column:1/-1}.attendance-scope-card small{text-align:right}.attendance-attention-list{grid-template-columns:1fr}.attendance-staff-toolbar{grid-template-columns:1fr}.attendance-staff-card.attendance-staff-card-v2{grid-template-columns:1fr}.attendance-staff-settings{grid-template-columns:minmax(120px,.35fr) minmax(0,1fr)}.attendance-policy-details ul{grid-template-columns:1fr}}
@media(max-width:600px){.attendance-dashboard-page,.attendance-ui-subpage{padding:10px}.attendance-ui-nav{margin:0 -10px;padding:9px 10px 8px}.attendance-ui-nav-item{min-height:44px;padding:8px 11px;border-radius:13px}.attendance-dashboard-head{gap:14px;margin:7px 0 12px;padding:17px;border-radius:18px}.attendance-dashboard-heading{align-items:flex-start;gap:12px}.attendance-dashboard-icon{width:48px;height:48px;border-radius:15px}.attendance-dashboard-icon .attendance-ui-icon{width:25px;height:25px}.attendance-dashboard-heading h1{font-size:23px}.attendance-dashboard-heading p{font-size:12px}.attendance-scope-card{display:grid;grid-template-columns:1fr;padding:12px 13px}.attendance-scope-card small{text-align:left}.attendance-attention-card{padding:12px 13px}.attendance-today-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.attendance-today-summary article{padding:13px 12px}.attendance-today-summary article:last-child{grid-column:1/-1}.attendance-today-summary b{font-size:25px}.attendance-staff-toolbar{padding:10px;border-radius:15px}.attendance-mode-switch{display:grid;grid-template-columns:1fr 1fr}.attendance-mode-switch button{padding:8px 7px}.attendance-search-v2{grid-template-columns:1fr}.attendance-search-v2 small{justify-self:start}.attendance-status-filters{margin-right:-10px;padding-right:10px}.attendance-staff-card.attendance-staff-card-v2{gap:12px;padding:14px 12px 14px 16px}.attendance-staff-overview{align-items:flex-start}.attendance-staff-avatar{width:44px;height:44px;border-radius:13px}.attendance-staff-name{gap:5px}.attendance-staff-name h3{width:100%;font-size:17px}.attendance-staff-identity p{display:grid;gap:3px}.attendance-staff-identity p span{padding-left:0;border-left:0}.attendance-staff-settings{grid-template-columns:1fr}.attendance-staff-editor{grid-template-columns:1fr}.attendance-staff-actions{display:grid;grid-template-columns:1fr}.attendance-staff-actions button{width:100%}.attendance-clock-in-button,.attendance-reconnect-button{min-height:52px}.attendance-policy-details{margin-top:13px}.attendance-policy-details summary{padding:14px}.attendance-policy-details>div{padding:0 14px 14px}.attendance-subpage-hero{grid-template-columns:1fr;padding:16px;border-radius:17px}.attendance-subpage-hero .attendance-hero-icon{width:48px;height:48px}.attendance-subpage-hero h1{font-size:22px}.attendance-ui-subpage .attendance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-ui-subpage .attendance-summary-grid article:last-child:nth-child(odd){grid-column:1/-1}.attendance-report-filter,.attendance-audit-filter,.attendance-flag-filter{padding:14px}.attendance-correction-sheet{width:100%;max-height:calc(100vh - 18px);padding:18px 14px;border-radius:19px}.attendance-correction-sheet-head{gap:10px}.attendance-correction-sheet-head h2{font-size:21px}.attendance-correction-actions,.attendance-review-actions{grid-template-columns:1fr}.attendance-correction-actions .btn,.attendance-review-actions .btn{min-height:52px}.attendance-record-details>summary{min-height:48px}.attendance-setup-state{grid-template-columns:1fr;margin:18px auto;padding:18px}}

/* v1.2.0-fix276 attendance clock UI */
.attendance-clock-card{min-height:0;padding:22px}.attendance-clock-ui-icon{width:24px;height:24px;display:block}.attendance-clock-result-v2,.attendance-clock-confirm-v2,.attendance-clock-working-v2,.attendance-clock-completed-v2{display:grid;justify-items:stretch;text-align:left;min-height:0}.attendance-clock-result-v2{justify-items:center;text-align:center;padding:20px 4px}.attendance-clock-result-icon,.attendance-clock-confirm-icon,.attendance-clock-completed-icon,.attendance-clock-state-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:22px;background:#176b3a;color:#fff}.attendance-clock-result-icon .attendance-clock-ui-icon,.attendance-clock-confirm-icon .attendance-clock-ui-icon,.attendance-clock-completed-icon .attendance-clock-ui-icon,.attendance-clock-state-icon .attendance-clock-ui-icon{width:34px;height:34px}.attendance-clock-result-v2.is-error .attendance-clock-result-icon{background:#9c2c23}.attendance-clock-result-v2.is-idle .attendance-clock-result-icon{background:#20231f}.attendance-clock-result-v2 h1{margin:10px 0 8px}.attendance-clock-steps{display:grid;gap:8px;width:100%;margin:22px 0 0;padding:0;list-style:none;text-align:left}.attendance-clock-steps li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:center;padding:11px 12px;border-radius:13px;background:#f4f6f4}.attendance-clock-steps li b{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#176b3a;color:#fff}.attendance-clock-steps li span{font-size:13px;font-weight:800}.attendance-clock-confirm-v2{justify-items:center;text-align:center}.attendance-clock-confirm-v2 .attendance-clock-confirm-icon{margin-top:3px}.attendance-clock-confirm-v2 h1{margin:9px 0 2px}.attendance-clock-confirm-question{margin:0 0 4px;color:#4c564f;font-size:16px;font-weight:850}.attendance-clock-confirm-v2 dl{margin-top:14px}.attendance-clock-state-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:13px;align-items:center;width:100%;text-align:left}.attendance-clock-state-icon{width:56px;height:56px;border-radius:17px}.attendance-clock-state-icon .attendance-clock-ui-icon{width:28px;height:28px}.attendance-clock-state-icon.is-break{background:#8a6414}.attendance-clock-state-head .attendance-clock-kicker{margin:0}.attendance-clock-state-head h1{margin:3px 0 1px;font-size:29px}.attendance-clock-state-head p{margin:0;color:#69645c;font-size:12px;font-weight:700}.attendance-clock-live-panel{display:grid;justify-items:center;gap:5px;width:100%;margin:18px 0 13px;padding:18px;border-radius:18px;background:#eaf7ee;text-align:center}.attendance-clock-live-panel.is-break{background:#fff3d8}.attendance-clock-live-panel.is-completed{background:#edf7ef}.attendance-clock-live-panel span,.attendance-clock-live-panel small{color:#4f6255;font-size:11px;font-weight:850}.attendance-clock-live-panel.is-break span,.attendance-clock-live-panel.is-break small{color:#6a501c}.attendance-clock-live-panel b{font-size:31px;line-height:1.2;font-variant-numeric:tabular-nums}.attendance-clock-work-detail-v2{margin:0 0 14px}.attendance-clock-work-detail-v2>div{grid-template-columns:minmax(100px,.75fr) minmax(0,1.25fr);padding:12px 14px}.attendance-clock-actions-v2{display:grid;grid-template-columns:1fr 1fr;gap:9px;width:100%;margin:0 0 12px}.attendance-clock-actions-v2 .attendance-clock-action{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:center;min-height:70px;padding:12px 13px;border:1px solid #d8dcd8;border-radius:16px;background:#fff;color:#20231f;text-align:left;box-shadow:none}.attendance-clock-actions-v2 .attendance-clock-action>.attendance-clock-ui-icon{width:25px;height:25px}.attendance-clock-actions-v2 .attendance-clock-action>span{display:grid;gap:3px}.attendance-clock-actions-v2 .attendance-clock-action b{font-size:16px}.attendance-clock-actions-v2 .attendance-clock-action small{font-size:10px;color:#6b726d;line-height:1.35}.attendance-clock-actions-v2 .attendance-clock-action.is-break,.attendance-clock-actions-v2 .attendance-clock-action.is-break-end{border-color:#c7dfcf;background:#f0faf3;color:#175a34}.attendance-clock-actions-v2 .attendance-clock-action.is-clock-out{border-color:#edc8c4;background:#fff7f6;color:#8c241d}.attendance-clock-hold-note{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start}.attendance-clock-hold-note>.attendance-clock-ui-icon{width:21px;height:21px;color:#176b3a}.attendance-clock-hold-note>div{display:grid;gap:3px}.attendance-clock-completed-v2{justify-items:center;text-align:center}.attendance-clock-completed-v2 h1{margin:9px 0 6px;font-size:29px}.attendance-clock-completed-v2>p{margin:0;color:#666157;line-height:1.7}.attendance-clock-completed-v2 .attendance-clock-live-panel{margin-top:17px}.attendance-clock-modal-v2 .attendance-clock-modal-sheet{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:start}.attendance-clock-modal-v2 .attendance-clock-modal-icon{margin:0}.attendance-clock-modal-v2 .attendance-clock-modal-icon .attendance-clock-ui-icon{width:28px;height:28px}.attendance-clock-modal-v2 .attendance-clock-modal-copy small{display:block;color:#777166;font-size:10px;font-weight:900;letter-spacing:.12em}.attendance-clock-modal-v2 .attendance-clock-modal-copy h2{margin:5px 0 7px}.attendance-clock-modal-v2 .attendance-clock-modal-copy p{margin:0}.attendance-clock-modal-v2 .attendance-clock-modal-actions{grid-column:1/-1}.attendance-clock-modal-v2 .attendance-clock-modal-confirm,.attendance-clock-modal-v2 .attendance-clock-modal-cancel{min-height:52px}.attendance-clock-modal-v2 .attendance-clock-modal-confirm.is-danger{background:#a72d24}
@media(max-width:600px){.attendance-clock-card{padding:17px 14px}.attendance-clock-result-v2{padding:14px 0}.attendance-clock-result-icon,.attendance-clock-confirm-icon,.attendance-clock-completed-icon{width:62px;height:62px;border-radius:19px}.attendance-clock-state-head{gap:11px}.attendance-clock-state-icon{width:50px;height:50px;border-radius:15px}.attendance-clock-state-head h1{font-size:25px}.attendance-clock-live-panel{margin:15px 0 11px;padding:16px 10px}.attendance-clock-live-panel b{font-size:27px}.attendance-clock-actions-v2{grid-template-columns:1fr}.attendance-clock-actions-v2 .attendance-clock-action{min-height:64px}.attendance-clock-hold-note{padding:13px}.attendance-clock-modal-v2 .attendance-clock-modal-sheet{grid-template-columns:1fr;justify-items:center;text-align:center}.attendance-clock-modal-v2 .attendance-clock-modal-actions{grid-column:auto;width:100%;grid-template-columns:1fr}.attendance-clock-modal-v2 .attendance-clock-modal-cancel{order:2}.attendance-clock-confirm-v2 .attendance-clock-primary{min-height:62px}.attendance-clock-work-detail-v2>div{grid-template-columns:100px minmax(0,1fr)}}

/* fix276 QR SVG sizing */
.attendance-qr-icon .attendance-ui-icon{width:42px;height:42px}.attendance-result-icon .attendance-ui-icon{width:36px;height:36px}

/* v1.2.0-fix277 scalable attendance lists + unified store management home button */
.store-management-home-button{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border:1px solid rgba(255,255,255,.24)!important;border-radius:999px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;font:inherit;font-size:13px;font-weight:800;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer;box-shadow:none!important;transition:background .16s ease,border-color .16s ease,transform .16s ease
}
.store-management-home-button::before{content:"";width:16px;height:16px;flex:0 0 16px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10M9 20v-6h6v6'/%3E%3C/svg%3E") center/contain no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 11 9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10M9 20v-6h6v6'/%3E%3C/svg%3E") center/contain no-repeat}
.store-management-home-button:hover{background:rgba(255,255,255,.15)!important;border-color:rgba(255,255,255,.42)!important;transform:translateY(-1px)}
.store-management-home-button:focus-visible{outline:3px solid rgba(255,153,0,.45);outline-offset:2px}
.waiting-back-button.store-management-home-button{width:auto;color:#fff!important}

.attendance-search-scalable{display:grid;gap:7px;min-width:min(440px,100%)}
.attendance-search-scalable>label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:#314138}
.attendance-search-scalable>label .attendance-ui-icon{width:16px;height:16px}
.attendance-search-scalable>div{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:8px;align-items:center}
.attendance-search-scalable>small{font-size:12px;color:#68736d;font-weight:700}
.attendance-list-footer{display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:16px;align-items:center;margin-top:14px;padding:14px 16px;border:1px solid #dce3df;border-radius:16px;background:#fff}
.attendance-list-range{display:flex;align-items:baseline;gap:7px;white-space:nowrap}
.attendance-list-range b{font-size:16px;color:#132019}
.attendance-list-range span{font-size:12px;color:#66716b}
.attendance-list-size,.attendance-inline-page-size,.attendance-page-select{display:flex;align-items:center;gap:8px;white-space:nowrap}
.attendance-list-size label,.attendance-inline-page-size span,.attendance-page-select span{font-size:12px;font-weight:800;color:#59655f}
.attendance-list-size .input,.attendance-inline-page-size .input,.attendance-page-select .input{width:auto;min-width:92px;min-height:40px;padding:7px 34px 7px 11px}
.attendance-pagination-v2{margin:0;justify-content:flex-end;gap:9px}
.attendance-pagination-v2 .btn{min-width:84px}
.attendance-inline-page-size{margin-right:auto}
.attendance-pagination:has(.attendance-inline-page-size){flex-wrap:wrap}

@media(max-width:760px){
  .store-management-home-button{min-height:40px;padding:0 13px;font-size:12px}
  .store-management-home-button::before{width:15px;height:15px;flex-basis:15px}
  .attendance-search-scalable{min-width:0;width:100%}
  .attendance-search-scalable>div{grid-template-columns:minmax(0,1fr) auto}
  .attendance-search-scalable>div .state-btn{grid-column:1/-1;justify-self:start}
  .attendance-list-footer{grid-template-columns:1fr auto;gap:12px;padding:13px}
  .attendance-list-range{align-self:center}
  .attendance-pagination-v2{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(105px,1fr) auto;width:100%;justify-content:stretch}
  .attendance-pagination-v2 .btn{min-width:0;width:100%}
  .attendance-page-select{display:grid;grid-template-columns:auto minmax(0,1fr)}
  .attendance-page-select .input{width:100%;min-width:0}
  .attendance-pagination:has(.attendance-inline-page-size){display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .attendance-pagination:has(.attendance-inline-page-size)>.attendance-inline-page-size{grid-column:1/-1;margin:0;justify-content:flex-end}
}
@media(max-width:420px){
  .store-management-home-button{padding:0 11px}
  .attendance-search-scalable>div{grid-template-columns:1fr}
  .attendance-search-scalable>div .btn,.attendance-search-scalable>div .state-btn{width:100%;justify-content:center}
  .attendance-search-scalable>div .state-btn{grid-column:auto}
  .attendance-list-footer{grid-template-columns:1fr}
  .attendance-list-size{justify-content:space-between}
  .attendance-pagination-v2{grid-column:auto;grid-template-columns:1fr 1fr}
  .attendance-page-select{grid-column:1/-1;grid-row:1}
  .attendance-pagination-v2 #attendanceStaffPrev,.attendance-pagination-v2 #attendanceSelfPrev{grid-column:1}
}

/* fix277 scalable correction requests and administrator work search */
.attendance-scalable-filter{display:grid;grid-template-columns:minmax(150px,210px) minmax(260px,1fr) auto auto;gap:12px;align-items:end;margin:18px 0}
.attendance-scalable-filter label{display:grid;gap:6px;min-width:0}
.attendance-scalable-filter label>span{font-size:11px;font-weight:900;color:#4e5a53}
.attendance-scalable-filter .attendance-filter-grow{min-width:0}
.attendance-scalable-filter .btn,.attendance-scalable-filter .state-btn{min-height:44px;white-space:nowrap}
.attendance-corrections-page .attendance-admin-adjust-head{margin-top:32px}
.attendance-corrections-page .attendance-list-footer+.attendance-section-head{margin-top:34px}
@media(max-width:850px){
  .attendance-scalable-filter{grid-template-columns:minmax(150px,.55fr) minmax(0,1.45fr)}
  .attendance-scalable-filter .btn,.attendance-scalable-filter .state-btn{width:100%}
}
@media(max-width:600px){
  .attendance-scalable-filter{grid-template-columns:1fr;padding:14px}
  .attendance-scalable-filter .btn,.attendance-scalable-filter .state-btn{width:100%;justify-content:center}
  .attendance-corrections-page .attendance-admin-adjust-head{margin-top:26px}
}

/* v1.2.0-fix279 store home menu order and white section surfaces */
.store-home-section,.store-home-section-head,.store-home-action-grid{background-color:#fff}

/* v1.2.0-fix280 業務連絡 Phase 1 */
.store-home-action-badge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#c83c2c;color:#fff;font-size:13px;font-weight:800;line-height:1;box-shadow:0 3px 10px rgba(156,40,28,.18)}
.communication-page{padding-bottom:72px}
.communication-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin:26px 0 18px;padding:30px;border:1px solid #dfe7e2;border-radius:24px;background:linear-gradient(135deg,#fff 0%,#f6fbf8 100%);box-shadow:0 14px 34px rgba(26,55,41,.07)}
.communication-hero>div:first-child{max-width:760px}.communication-hero h1{margin:6px 0 10px;font-size:clamp(30px,4vw,48px);letter-spacing:-.04em}.communication-hero p{margin:0;color:#536159;font-size:16px;line-height:1.8}
.communication-context{min-width:220px;padding:17px 19px;border:1px solid #d7e4db;border-radius:18px;background:#fff}.communication-context span,.communication-context small{display:block;color:#6d7a72;font-size:12px}.communication-context b{display:block;margin:5px 0;font-size:18px;overflow-wrap:anywhere}
.communication-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.communication-summary-grid article{padding:18px;border:1px solid #e1e7e3;border-radius:18px;background:#fff}.communication-summary-grid article.attention{border-color:#efc9a1;background:#fff9f1}.communication-summary-grid span,.communication-summary-grid small{display:block;color:#6b776f;font-size:12px}.communication-summary-grid b{display:block;margin:7px 0;font-size:30px;line-height:1}
.communication-ready-banner,.communication-setup-warning{display:flex;align-items:center;gap:20px;margin:18px 0;padding:24px;border-radius:22px}.communication-ready-banner{border:1px solid #cde0d3;background:#f2faf5}.communication-setup-warning{align-items:flex-start;border:1px solid #edc7a0;background:#fff8ef}.communication-ready-icon,.communication-warning-icon{display:flex;align-items:center;justify-content:center;flex:0 0 54px;width:54px;height:54px;border-radius:17px;background:#fff;color:#287347}.communication-ready-icon svg{width:28px;height:28px}.communication-warning-icon{color:#a45813;font-size:28px;font-weight:900}.communication-ready-banner h2,.communication-setup-warning h2{margin:4px 0 6px;font-size:21px}.communication-ready-banner p,.communication-setup-warning p{margin:0;color:#58665d;line-height:1.7}.communication-ready-pill{margin-left:auto;white-space:nowrap;padding:8px 13px;border-radius:999px;background:#287347;color:#fff;font-size:13px;font-weight:800}.communication-command{margin:12px 0 8px;padding:11px 13px;border-radius:10px;background:#252b28;color:#fff;overflow:auto}.communication-command code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;white-space:nowrap}
.communication-section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:34px 0 14px}.communication-section-heading h2{margin:4px 0 6px;font-size:25px}.communication-section-heading p{margin:0;color:#66736b}
.communication-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.communication-section-card{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:18px;padding:24px;border:1px solid #dfe6e1;border-radius:22px;background:#fff;overflow:hidden}.communication-section-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#bfd9c7}.communication-section-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:17px;background:#edf7f0;color:#296f47}.communication-section-icon svg{width:28px;height:28px}.communication-section-copy>span{color:#5c8069;font-size:11px;font-weight:800;letter-spacing:.12em}.communication-section-copy h2{margin:5px 0 7px;font-size:22px}.communication-section-copy p{margin:0;color:#5f6d64;line-height:1.65}.communication-section-copy ul{margin:15px 0 0;padding-left:18px;color:#58665d;font-size:13px;line-height:1.8}.communication-section-status{align-self:start;text-align:right}.communication-section-status b{display:block;padding:7px 10px;border-radius:999px;background:#f1f3f2;color:#526058;font-size:12px}.communication-section-status small{display:block;margin-top:8px;color:#7a857e;font-size:11px}
.communication-foundation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.communication-foundation-grid article{display:flex;gap:14px;padding:20px;border:1px solid #e2e7e4;border-radius:18px;background:#fff}.communication-foundation-grid article>span{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:#f3f7f4;color:#3c6f50}.communication-foundation-grid svg{width:23px;height:23px}.communication-foundation-grid h3{margin:1px 0 7px;font-size:16px}.communication-foundation-grid p{margin:0;color:#66736b;font-size:13px;line-height:1.65}
.communication-permission-card{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:18px;padding:24px}.communication-permission-card h2{margin:4px 0 6px;font-size:20px}.communication-permission-card p{margin:0;color:#66736b}.communication-permission-list{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;max-width:560px}.communication-permission{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border-radius:999px;font-size:12px;font-weight:700}.communication-permission.is-enabled{background:#edf7f0;color:#246b42}.communication-permission.is-disabled{background:#f2f3f2;color:#7a827d}.communication-permission i{font-style:normal}
.communication-next-phase{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding:24px 28px;border-radius:22px;background:#252c28;color:#fff}.communication-next-phase span:first-child{color:#a7cbb4;font-size:12px;font-weight:800;letter-spacing:.1em}.communication-next-phase h2{margin:5px 0 7px;font-size:22px}.communication-next-phase p{margin:0;color:#cfdbd3}.communication-phase-number{font-size:56px;font-weight:900;line-height:1;color:#4c5b52}
@media(max-width:900px){.communication-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.communication-section-grid,.communication-foundation-grid{grid-template-columns:1fr}.communication-permission-card{display:block}.communication-permission-list{justify-content:flex-start;max-width:none;margin-top:18px}}
@media(max-width:640px){.communication-page{padding-bottom:40px}.communication-hero{display:block;margin-top:16px;padding:22px;border-radius:20px}.communication-hero h1{font-size:34px}.communication-context{margin-top:18px;min-width:0}.communication-summary-grid{gap:8px}.communication-summary-grid article{padding:15px}.communication-summary-grid b{font-size:25px}.communication-ready-banner,.communication-setup-warning{display:grid;grid-template-columns:46px minmax(0,1fr);gap:13px;padding:18px}.communication-ready-icon,.communication-warning-icon{width:46px;height:46px;flex-basis:46px}.communication-ready-pill{grid-column:1/-1;margin:0;text-align:center}.communication-section-heading{margin-top:28px}.communication-section-card{grid-template-columns:48px minmax(0,1fr);gap:13px;padding:19px}.communication-section-icon{width:46px;height:46px}.communication-section-status{grid-column:2;text-align:left;display:flex;align-items:center;gap:8px}.communication-section-status small{margin:0}.communication-foundation-grid article{padding:17px}.communication-next-phase{padding:20px}.communication-phase-number{font-size:42px}.store-home-action-badge{min-width:25px;height:25px;padding:0 7px}}

/* v1.2.0-fix281 業務連絡 Phase 2：基本チャット */
.communication-hero-compact{align-items:center;padding-top:24px;padding-bottom:24px}
.communication-hero-compact h1{font-size:clamp(30px,3.5vw,43px)}
.communication-tabs{display:flex;align-items:stretch;gap:10px;margin:18px 0 12px;padding:7px;border:1px solid #dfe6e1;border-radius:18px;background:#fff}
.communication-tab{display:flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:10px 18px;border:1px solid transparent;border-radius:13px;background:transparent;color:#536159;font:inherit;font-weight:800;cursor:pointer}
.communication-tab svg{width:21px;height:21px}.communication-tab b{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#e7eee9;color:#365846;font-size:12px}.communication-tab small{padding:4px 7px;border-radius:999px;background:#f0f2f1;color:#707a74;font-size:10px}
.communication-tab.is-active{border-color:#bcd7c5;background:#edf7f0;color:#205f3a;box-shadow:0 5px 15px rgba(35,94,58,.08)}
.communication-chat-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:12px;padding:20px 22px;border:1px solid #dfe6e1;border-radius:20px;background:#fff}
.communication-chat-toolbar h2{margin:4px 0 6px;font-size:22px}.communication-chat-toolbar p{margin:0;color:#657169;line-height:1.6}.communication-create-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}.communication-create-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px}.communication-create-actions svg{width:20px;height:20px}
.communication-workspace{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);height:min(720px,calc(100vh - 155px));min-height:590px;border:1px solid #dce4df;border-radius:22px;background:#fff;box-shadow:0 16px 38px rgba(25,48,37,.08);overflow:hidden}
.communication-room-panel{display:flex;min-width:0;flex-direction:column;border-right:1px solid #e1e7e3;background:#fbfcfb}
.communication-room-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:66px;padding:13px 16px;border-bottom:1px solid #e3e8e5;background:#fff}
.communication-room-panel-head>div{display:flex;align-items:baseline;gap:8px}.communication-room-panel-head b{font-size:17px}.communication-room-panel-head span{color:#6d7771;font-size:12px}
.communication-icon-button{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:1px solid #d8e0db;border-radius:12px;background:#fff;color:#41604d;cursor:pointer}.communication-icon-button:hover{background:#f1f7f3}.communication-icon-button:focus-visible{outline:3px solid rgba(47,126,78,.24);outline-offset:2px}.communication-icon-button svg{width:21px;height:21px}
.communication-room-search{padding:13px;border-bottom:1px solid #e5e9e7;background:#fff}.communication-room-search>label,.communication-picker-search{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border:1px solid #d7dfda;border-radius:12px;background:#fff}.communication-room-search>label:focus-within,.communication-picker-search:focus-within{border-color:#5b9b70;box-shadow:0 0 0 3px rgba(61,130,83,.12)}.communication-room-search svg,.communication-picker-search svg{flex:0 0 20px;width:20px;height:20px;color:#68766d}.communication-room-search input,.communication-picker-search input{min-width:0;width:100%;height:42px;padding:0;border:0;outline:0;background:transparent;font:inherit;font-size:14px}
.communication-room-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:9px}.communication-room-filters select{min-height:42px;margin:0}.communication-unread-toggle{display:flex;align-items:center;gap:7px;min-height:42px;padding:0 11px;border:1px solid #d8e0db;border-radius:11px;background:#fff;color:#4d5e53;font-size:13px;font-weight:700;cursor:pointer}.communication-unread-toggle input{width:18px;height:18px;margin:0;accent-color:#2e7549}
.communication-room-list{position:relative;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.communication-room-list.is-loading:after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.55);pointer-events:none}.communication-room-list.is-loading:before{content:"";position:absolute;z-index:2;top:20px;left:50%;width:22px;height:22px;margin-left:-11px;border:3px solid #dce8e0;border-top-color:#347a4e;border-radius:50%;animation:spin .8s linear infinite}
.communication-room-item{position:relative;display:grid;grid-template-columns:43px minmax(0,1fr) 18px;align-items:center;gap:11px;width:100%;min-height:100px;padding:14px 13px;border:0;border-bottom:1px solid #e5e9e7;background:#fff;color:#26342c;text-align:left;font:inherit;cursor:pointer}.communication-room-item:hover{background:#f6faf7}.communication-room-item.is-selected{background:#edf7f0}.communication-room-item.is-selected:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#2f7650}.communication-room-item.has-unread .communication-room-preview{color:#31483a;font-weight:700}.communication-room-icon{display:flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:13px;background:#eef5f0;color:#34734e}.communication-room-item.has-unread .communication-room-icon{background:#dff1e5;color:#1f683e}.communication-room-icon svg,.communication-room-arrow svg{width:22px;height:22px}.communication-room-main,.communication-room-title,.communication-room-preview,.communication-room-meta{min-width:0}.communication-room-title{display:flex;align-items:center;gap:7px}.communication-room-title b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.communication-room-title em{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#c9423a;color:#fff;font-style:normal;font-size:11px;font-weight:900}.communication-room-preview{display:block;margin-top:7px;color:#68746c;font-size:12px;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.communication-room-preview strong{color:inherit}.communication-room-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;color:#7a837e;font-size:10px}.communication-room-meta i{font-style:normal}.communication-room-meta time{white-space:nowrap}.communication-room-arrow{color:#94a098}.communication-room-empty{display:flex;min-height:230px;align-items:center;justify-content:center;flex-direction:column;padding:25px;text-align:center;color:#6a766e}.communication-room-empty>span{display:flex;align-items:center;justify-content:center;width:55px;height:55px;border-radius:18px;background:#eef4f0;color:#47705a}.communication-room-empty svg{width:27px;height:27px}.communication-room-empty b{margin-top:13px;color:#33433a}.communication-room-empty small{margin-top:6px;line-height:1.6}
.communication-room-pagination{display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;padding:8px;border-top:1px solid #e3e8e5;background:#fff}.communication-room-pagination label{display:flex;align-items:center;gap:6px;color:#6a756e;font-size:11px}.communication-room-pagination select{height:36px;border:1px solid #d5ddd8;border-radius:9px;background:#fff}.communication-room-pagination .state-btn{min-height:36px;padding:6px 10px}
.communication-chat-panel{display:flex;min-width:0;min-height:0;flex-direction:column;background:#f6f8f6}.communication-chat-head{display:grid;grid-template-columns:auto 45px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:72px;padding:11px 17px;border-bottom:1px solid #dfe5e1;background:#fff}.communication-mobile-back{display:none;align-items:center;gap:5px;min-height:42px;padding:0 10px;border:1px solid #d7dfda;border-radius:11px;background:#fff;color:#385443;font:inherit;font-weight:800}.communication-mobile-back svg{width:19px;height:19px}.communication-chat-room-icon{display:flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:14px;background:#e6f2e9;color:#2f7049}.communication-chat-room-icon svg{width:24px;height:24px}.communication-chat-room-title{min-width:0}.communication-chat-room-title>span{display:block;color:#5b8069;font-size:10px;font-weight:900;letter-spacing:.07em}.communication-chat-room-title h2{margin:2px 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px}.communication-chat-room-title small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#78817c;font-size:11px}.communication-chat-head-actions{display:flex;align-items:center;gap:7px}.communication-chat-head-actions .state-btn{min-height:40px}
.communication-chat-empty,.communication-chat-loading{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;padding:38px;text-align:center;color:#69756d}.communication-chat-empty>span{display:flex;align-items:center;justify-content:center;width:76px;height:76px;border-radius:24px;background:#e9f2ec;color:#3e7353}.communication-chat-empty>span svg{width:37px;height:37px}.communication-chat-empty h2{margin:18px 0 8px;color:#314038;font-size:23px}.communication-chat-empty p{max-width:520px;margin:0;line-height:1.75}.communication-chat-empty>div{display:grid;gap:4px;max-width:480px;margin-top:23px;padding:15px 18px;border:1px solid #dce5df;border-radius:14px;background:#fff}.communication-chat-empty small{line-height:1.55}.communication-chat-loading{gap:10px}.communication-chat-loading b{color:#3c4942}
.communication-messages{flex:1;min-height:0;padding:20px clamp(14px,3vw,32px);overflow:auto;overscroll-behavior:contain;scroll-behavior:smooth}.communication-message-stream{display:flex;max-width:900px;margin:0 auto;flex-direction:column;gap:14px}.communication-day-divider{display:flex;align-items:center;justify-content:center;margin:10px 0 2px}.communication-day-divider span{padding:5px 11px;border:1px solid #dfe5e1;border-radius:999px;background:#fff;color:#6b756f;font-size:11px;font-weight:800}
.communication-message{display:grid;grid-template-columns:minmax(0,78%);justify-content:start;gap:6px}.communication-message.is-own{justify-content:end}.communication-message-author{display:flex;align-items:center;gap:7px;margin:0 4px;color:#5d6c63}.communication-message.is-own .communication-message-author{justify-content:flex-end}.communication-message-author>span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:10px;background:#e8efea;color:#52705e}.communication-message.is-headquarters .communication-message-author>span{background:#e6eef8;color:#315f91}.communication-message-author svg{width:17px;height:17px}.communication-message-author b{display:block;font-size:12px}.communication-message-author small{display:block;margin-top:1px;font-size:10px}.communication-message-bubble{min-width:0;padding:13px 15px;border:1px solid #dce3df;border-radius:4px 17px 17px 17px;background:#fff;box-shadow:0 4px 13px rgba(34,54,43,.05)}.communication-message.is-own .communication-message-bubble{border-color:#bdd9c6;border-radius:17px 4px 17px 17px;background:#eaf6ee}.communication-message.is-headquarters:not(.is-own) .communication-message-bubble{border-color:#cbd9e9;background:#f5f9fe}.communication-message-bubble>p{margin:0;color:#26342d;font-size:15px;line-height:1.72;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.communication-message-bubble a{color:#175f96;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}.communication-message-bubble footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:8px;color:#778079;font-size:10px}.communication-message-bubble footer button{display:inline-flex;align-items:center;gap:4px;min-height:30px;padding:3px 7px;border:0;border-radius:8px;background:transparent;color:#47705a;font:inherit;font-weight:800;cursor:pointer}.communication-message-bubble footer button:hover{background:rgba(38,106,67,.09)}.communication-message-bubble footer svg{width:14px;height:14px}.communication-reply-reference{display:grid;grid-template-columns:20px minmax(0,1fr);gap:1px 7px;width:100%;margin:0 0 10px;padding:8px 9px;border:0;border-left:3px solid #7ca28a;border-radius:8px;background:rgba(52,101,70,.07);color:#486354;text-align:left;font:inherit;cursor:pointer}.communication-reply-reference>span{grid-row:1/3}.communication-reply-reference svg{width:16px;height:16px}.communication-reply-reference b{font-size:11px}.communication-reply-reference small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.communication-deleted-message{color:#788079!important;font-style:italic}.communication-message-empty{display:flex;min-height:260px;align-items:center;justify-content:center;flex-direction:column;color:#748078;text-align:center}.communication-message-empty span{font-weight:800}.communication-message-empty small{margin-top:5px}.communication-load-button{display:block;min-height:40px;margin:0 auto 15px;padding:8px 15px;border:1px solid #cad7ce;border-radius:999px;background:#fff;color:#3d624b;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.communication-load-button.is-newer{margin:15px auto 0}
.communication-composer{border-top:1px solid #dce3df;background:#fff;padding:12px clamp(12px,2.5vw,24px) max(12px,env(safe-area-inset-bottom))}.communication-composer>label{display:block}.communication-composer textarea{display:block;width:100%;min-height:86px;max-height:190px;padding:13px 14px;border:1px solid #ced8d1;border-radius:14px;background:#fff;color:#26342d;font:inherit;font-size:15px;line-height:1.55;resize:vertical}.communication-composer textarea:focus{border-color:#4b9063;outline:0;box-shadow:0 0 0 3px rgba(53,125,77,.13)}.communication-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:9px}.communication-compose-footer>div{display:flex;align-items:center;gap:12px;min-width:0}.communication-compose-footer span{color:#6b766f;font-size:11px}.communication-compose-footer span.is-error{color:#a52d28;font-weight:800}.communication-compose-footer span.is-sending{color:#315f8a;font-weight:800}.communication-compose-footer small{white-space:nowrap;color:#7c8580;font-size:10px}.communication-compose-footer .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:124px;min-height:46px}.communication-compose-footer svg{width:19px;height:19px}.communication-compose-reply{display:grid;grid-template-columns:25px minmax(0,1fr) 38px;align-items:center;gap:9px;margin-bottom:9px;padding:9px 10px;border:1px solid #cddad1;border-radius:12px;background:#f1f7f3}.communication-compose-reply>span{color:#477057}.communication-compose-reply svg{width:19px;height:19px}.communication-compose-reply b,.communication-compose-reply small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.communication-compose-reply b{font-size:12px}.communication-compose-reply small{margin-top:2px;color:#717b75;font-size:10px}.communication-compose-reply button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:10px;background:#fff;color:#5b6c61;cursor:pointer}.communication-readonly-note{margin:0;padding:16px 18px max(16px,env(safe-area-inset-bottom));border-top:1px solid #dce3df;background:#fff;color:#5f6c64;text-align:center;font-size:13px}
.communication-room-picker-modal{z-index:1500;padding:18px}.communication-room-picker-sheet{display:flex;width:min(620px,100%);max-height:min(760px,calc(100vh - 36px));flex-direction:column;padding:0;overflow:hidden;border-radius:23px;background:#fff}.communication-room-picker-sheet>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 23px 17px;border-bottom:1px solid #e2e7e4}.communication-room-picker-sheet h2{margin:4px 0 6px;font-size:23px}.communication-room-picker-sheet p{margin:0;color:#66726b;line-height:1.55}.communication-room-picker-sheet header>button{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #d7dfda;border-radius:12px;background:#fff;color:#4e6155;cursor:pointer}.communication-room-picker-sheet header svg{width:21px;height:21px}.communication-picker-search{margin:15px 18px 11px}.communication-picker-list{min-height:180px;overflow:auto;border-top:1px solid #edf0ee}.communication-picker-store{display:grid;grid-template-columns:45px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:72px;padding:12px 18px;border:0;border-bottom:1px solid #e6ebe8;background:#fff;color:#29372f;text-align:left;font:inherit;cursor:pointer}.communication-picker-store:hover{background:#f5faf7}.communication-picker-store:disabled{opacity:.65;cursor:wait}.communication-picker-store>span{display:flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:13px;background:#eaf3ed;color:#39714f}.communication-picker-store svg{width:22px;height:22px}.communication-picker-store b,.communication-picker-store small{display:block}.communication-picker-store small{margin-top:4px;color:#747e78;font-size:11px}.communication-picker-store em{padding:7px 10px;border-radius:999px;background:#edf6f0;color:#2f6c47;font-style:normal;font-size:11px;font-weight:900}.communication-picker-loading,.communication-picker-error,.communication-picker-empty{display:flex;min-height:220px;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:28px;text-align:center;color:#6a766e}.communication-picker-error b,.communication-picker-empty b{color:#334139}.communication-room-picker-sheet>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;padding:10px 18px;border-top:1px solid #e1e7e3;background:#fbfcfb}.communication-picker-pagination{display:flex;align-items:center;gap:8px}.communication-picker-pagination span{min-width:58px;text-align:center;color:#69756e;font-size:12px}
@media(max-width:980px){.communication-workspace{grid-template-columns:minmax(280px,330px) minmax(0,1fr)}.communication-message{grid-template-columns:minmax(0,88%)}.communication-chat-toolbar{align-items:flex-start}.communication-create-actions{max-width:330px}}
@media(max-width:760px){.communication-chat-toolbar{display:block;padding:18px}.communication-create-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;margin-top:15px}.communication-workspace{display:block;height:calc(100dvh - 122px);min-height:560px;border-radius:18px}.communication-room-panel,.communication-chat-panel{height:100%}.communication-room-panel{border-right:0}.communication-chat-panel{display:none}.communication-workspace.has-open-room .communication-room-panel{display:none}.communication-workspace.has-open-room .communication-chat-panel{display:flex}.communication-mobile-back{display:inline-flex}.communication-chat-head{grid-template-columns:auto 42px minmax(0,1fr) auto;padding:9px 10px}.communication-chat-room-icon{width:42px;height:42px}.communication-chat-room-title h2{font-size:16px}.communication-chat-head-actions .state-btn{display:none}.communication-messages{padding:16px 11px}.communication-message{grid-template-columns:minmax(0,92%)}.communication-message-bubble{padding:12px 13px}.communication-composer{padding:10px 10px max(10px,env(safe-area-inset-bottom))}.communication-compose-footer{align-items:flex-end}.communication-compose-footer>div{display:grid;gap:2px}.communication-compose-footer .btn{min-width:112px}.communication-permission-card,.communication-next-phase{display:none}.communication-room-picker-modal{align-items:flex-end;padding:0}.communication-room-picker-sheet{width:100%;max-height:92dvh;border-radius:23px 23px 0 0}.communication-room-picker-sheet>header{padding:19px 17px 14px}.communication-room-picker-sheet h2{font-size:20px}.communication-picker-search{margin:12px 13px 9px}.communication-picker-store{padding-left:14px;padding-right:14px}.communication-room-picker-sheet>footer{padding-bottom:max(10px,env(safe-area-inset-bottom))}}
@media(max-width:520px){.communication-tabs{gap:5px;padding:5px}.communication-tab{flex:1;min-width:0;padding:8px 7px;font-size:12px}.communication-tab small{display:none}.communication-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.communication-chat-toolbar h2{font-size:19px}.communication-chat-toolbar p{font-size:13px}.communication-create-actions{grid-template-columns:1fr}.communication-room-filters{grid-template-columns:minmax(0,1fr) auto}.communication-room-item{min-height:94px}.communication-room-pagination label span{display:none}.communication-chat-room-title small{max-width:150px}.communication-message{grid-template-columns:minmax(0,96%)}.communication-message-author small{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.communication-compose-footer span{max-width:145px}.communication-compose-footer small{font-size:9px}.communication-compose-footer .btn{min-width:105px;padding-left:11px;padding-right:11px}}
@media(prefers-reduced-motion:reduce){.communication-messages{scroll-behavior:auto}}

/* v1.2.0-fix282 業務連絡 Phase 3：安全な添付ファイル */
.communication-room-attachment{display:inline-flex;vertical-align:-2px;margin-right:4px;color:#4e735c}.communication-room-attachment svg{width:14px;height:14px}
.communication-chat-room-title h2{white-space:normal;line-height:1.25;overflow-wrap:anywhere}.communication-chat-room-title small{white-space:normal;line-height:1.3}
.communication-message-attachments{display:grid;gap:8px;margin-top:10px}.communication-message-bubble>p+.communication-message-attachments{margin-top:12px}
.communication-file-attachment,.communication-attachment-expired{display:grid;grid-template-columns:42px minmax(0,1fr) 28px;align-items:center;gap:10px;min-height:64px;padding:9px 10px;border:1px solid #d5dfd9;border-radius:12px;background:#fff;color:#263b2e;text-decoration:none!important}.communication-file-attachment:hover{border-color:#8db39a;background:#f7fbf8}.communication-file-attachment>span,.communication-attachment-expired>span{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:11px;background:#eaf3ed;color:#39714f}.communication-file-attachment>span svg,.communication-attachment-expired>span svg{width:21px;height:21px}.communication-file-attachment b,.communication-file-attachment small,.communication-attachment-expired b,.communication-attachment-expired small{display:block;overflow-wrap:anywhere}.communication-file-attachment b,.communication-attachment-expired b{font-size:12px}.communication-file-attachment small,.communication-attachment-expired small{margin-top:3px;color:#6d7971;font-size:10px;line-height:1.45}.communication-file-attachment>i{display:flex;color:#39714f}.communication-file-attachment>i svg{width:19px;height:19px}
.communication-attachment-expired{grid-template-columns:42px minmax(0,1fr);border-style:dashed;background:#f5f6f5;color:#626b65}.communication-attachment-expired>span{background:#e9ebea;color:#777f7a}.communication-attachment-expired small{color:#8a5b36;font-weight:700}
.communication-image-attachment{display:block;width:min(360px,100%);padding:0;overflow:hidden;border:1px solid #cfddd3;border-radius:14px;background:#fff;color:#263b2e;text-align:left;font:inherit;cursor:pointer}.communication-image-attachment:hover{border-color:#78a488;box-shadow:0 5px 16px rgba(39,91,58,.09)}.communication-image-attachment img{display:block;width:100%;max-height:260px;object-fit:cover;background:#eef2ef}.communication-image-attachment>span{display:block;padding:8px 10px}.communication-image-attachment b,.communication-image-attachment small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.communication-image-attachment b{font-size:12px}.communication-image-attachment small{margin-top:3px;color:#6e7972;font-size:10px}
.communication-attachment-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.communication-attachment-toolbar>small{color:#707b74;font-size:10px;text-align:right}.communication-attach-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:7px 12px;border:1px solid #cbd8cf;border-radius:11px;background:#f5faf7;color:#2d6844;font-size:12px;font-weight:800;cursor:pointer}.communication-attach-button:hover{border-color:#7ba08a;background:#edf7f0}.communication-attach-button.is-disabled{opacity:.55;cursor:not-allowed}.communication-attach-button svg{width:18px;height:18px}.communication-attach-button input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.communication-pending-attachments{display:grid;gap:7px;margin-bottom:9px}.communication-pending-attachment{display:grid;grid-template-columns:42px minmax(0,1fr) 38px;align-items:center;gap:9px;padding:8px 9px;border:1px solid #cedbd2;border-radius:12px;background:#f5faf7}.communication-pending-attachment.is-error{grid-template-columns:42px minmax(0,1fr) 38px 38px}.communication-pending-attachment.is-error{border-color:#e5b4ac;background:#fff6f4}.communication-pending-attachment>img,.communication-pending-attachment>span{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:10px;background:#e5efe8;color:#3a7450;object-fit:cover}.communication-pending-attachment>span svg{width:21px;height:21px}.communication-pending-attachment b,.communication-pending-attachment small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.communication-pending-attachment b{font-size:12px}.communication-pending-attachment small{margin-top:3px;color:#68756c;font-size:10px}.communication-pending-attachment.is-error small{color:#a03931;font-weight:700}.communication-pending-attachment>button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:0;border-radius:10px;background:#fff;color:#65736a;cursor:pointer}.communication-pending-attachment>button:hover{background:#e9efeb;color:#2e6745}.communication-pending-attachment>button svg{width:18px;height:18px}
.communication-image-viewer{z-index:1700;padding:18px}.communication-image-viewer>section{display:flex;width:min(1000px,100%);max-height:calc(100dvh - 36px);flex-direction:column;overflow:hidden;border-radius:22px;background:#fff;box-shadow:0 25px 80px rgba(0,0,0,.3)}.communication-image-viewer header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border-bottom:1px solid #e1e7e3}.communication-image-viewer header b,.communication-image-viewer header small{display:block;overflow-wrap:anywhere}.communication-image-viewer header small{margin-top:3px;color:#6f7973;font-size:11px}.communication-image-viewer header button{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #d6ded9;border-radius:12px;background:#fff;color:#4d5f54;cursor:pointer}.communication-image-viewer header svg{width:21px;height:21px}.communication-image-viewer-stage{display:flex;min-height:240px;flex:1;align-items:center;justify-content:center;padding:18px;overflow:auto;background:#202521}.communication-image-viewer-stage img{display:block;max-width:100%;max-height:calc(100dvh - 190px);object-fit:contain}.communication-image-viewer footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 16px;border-top:1px solid #e1e7e3}.communication-image-viewer footer .btn{display:inline-flex;align-items:center;gap:7px}.communication-image-viewer footer svg{width:18px;height:18px}
@media(max-width:760px){.communication-chat-head{grid-template-columns:auto 42px minmax(0,1fr) auto}.communication-chat-room-title small{display:none}.communication-image-attachment{width:100%}.communication-image-attachment img{max-height:220px}.communication-attachment-toolbar{align-items:flex-start;flex-direction:column}.communication-attachment-toolbar>small{text-align:left}.communication-attach-button{width:100%}.communication-pending-attachment{grid-template-columns:40px minmax(0,1fr) 38px}.communication-pending-attachment.is-error{grid-template-columns:40px minmax(0,1fr) 38px 38px}.communication-image-viewer{align-items:flex-end;padding:0}.communication-image-viewer>section{width:100%;max-height:94dvh;border-radius:22px 22px 0 0}.communication-image-viewer-stage{padding:10px}.communication-image-viewer-stage img{max-height:calc(94dvh - 160px)}.communication-image-viewer footer{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media(max-width:430px){.communication-file-attachment,.communication-attachment-expired{grid-template-columns:38px minmax(0,1fr) 24px;padding:8px}.communication-attachment-expired{grid-template-columns:38px minmax(0,1fr)}.communication-file-attachment>span,.communication-attachment-expired>span{width:36px;height:36px}.communication-pending-attachment.is-error{grid-template-columns:38px minmax(0,1fr) 34px 34px}.communication-pending-attachment>button{width:32px;height:34px}.communication-compose-footer{gap:8px}.communication-compose-footer .btn{min-width:102px}}

/* v1.2.0-fix283 業務連絡 Phase 4：本部からのお知らせ */
.communication-tab>b{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;padding:0 6px;border-radius:999px;background:#edf2ee;color:#476052;font-size:11px}.communication-tab.is-active>b{background:#fff;color:#146b3c}
.communication-notice-toolbar{align-items:center}.communication-notice-scope{display:flex;gap:6px;margin:0 0 10px;padding:5px;border:1px solid #d8e1db;border-radius:14px;background:#fff}.communication-notice-scope button{min-height:42px;padding:8px 15px;border:0;border-radius:10px;background:transparent;color:#536258;font-weight:800;cursor:pointer}.communication-notice-scope button.is-active{background:#eaf6ee;color:#176e3e;box-shadow:inset 0 0 0 1px #b9d9c4}.communication-notice-scope>span{padding:10px 13px;color:#526158;font-size:13px;font-weight:800}
.communication-notice-workspace{min-height:660px}.communication-notice-list .communication-room-empty{min-height:260px}.communication-notice-item{display:grid;width:100%;grid-template-columns:42px minmax(0,1fr) 22px;align-items:start;gap:10px;padding:15px 13px;border:0;border-bottom:1px solid #e4e9e6;background:#fff;color:#1c2d23;text-align:left;cursor:pointer}.communication-notice-item:hover{background:#f7faf8}.communication-notice-item.is-selected{background:#edf8f1;box-shadow:inset 4px 0 #1b7b46}.communication-notice-item.is-attention{box-shadow:inset 4px 0 #d99a22}.communication-notice-item.is-selected.is-attention{box-shadow:inset 4px 0 #d99a22}.communication-notice-item-icon{display:flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:11px;background:#e9f4ed;color:#2c7449}.communication-notice-item.is-attention .communication-notice-item-icon{background:#fff2d3;color:#9a6200}.communication-notice-item-icon svg{width:21px;height:21px}.communication-notice-item-main{min-width:0}.communication-notice-item-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.communication-notice-item-top b{overflow:hidden;font-size:13px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.communication-notice-item-top em,.communication-notice-badges em{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#eef1ef;color:#56635a;font-size:9px;font-style:normal;font-weight:800}.communication-notice-item-top em.is-published,.communication-notice-badges em.is-published{background:#e5f5ea;color:#176b3b}.communication-notice-item-top em.is-scheduled,.communication-notice-badges em.is-scheduled{background:#e9f1ff;color:#35619b}.communication-notice-item-top em.is-draft,.communication-notice-badges em.is-draft{background:#f0f0ef;color:#5f625f}.communication-notice-item-top em.is-ended,.communication-notice-badges em.is-ended{background:#f3eee8;color:#7c654e}.communication-notice-item-top em.is-cancelled,.communication-notice-badges em.is-cancelled{background:#fde9e6;color:#9a4036}.communication-notice-item-meta{display:block;margin-top:5px;overflow:hidden;color:#68766d;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.communication-notice-item-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:7px;color:#768078;font-size:9px}.communication-notice-item-bottom strong{padding:3px 7px;border-radius:999px;background:#fff0cd;color:#8c5900}.communication-notice-item-bottom i{color:#227044;font-style:normal;font-weight:800}
.communication-notice-panel{background:#f8faf9}.communication-notice-empty{display:flex;min-height:620px;align-items:center;justify-content:center;flex-direction:column;padding:30px;text-align:center}.communication-notice-empty>span{display:flex;width:68px;height:68px;align-items:center;justify-content:center;border-radius:20px;background:#e9f4ed;color:#267044}.communication-notice-empty svg{width:32px;height:32px}.communication-notice-empty h2{margin:16px 0 5px;font-size:20px}.communication-notice-empty p{max-width:400px;color:#6c786f;font-size:13px;line-height:1.7}
.communication-notice-detail{min-height:620px;padding:22px 24px 30px}.communication-notice-detail>header{display:flex;gap:15px;padding-bottom:18px;border-bottom:1px solid #dde5df}.communication-notice-detail>header>div{min-width:0;flex:1}.communication-notice-detail>header h2{margin:9px 0 6px;font-size:24px;line-height:1.45;overflow-wrap:anywhere}.communication-notice-detail>header p{color:#6a786f;font-size:11px}.communication-notice-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.communication-notice-badges em.is-important{background:#fff0cd;color:#865800}.communication-notice-badges em.is-urgent{background:#fee7e4;color:#a3342a}.communication-notice-body{padding:24px 4px;color:#24352b;font-size:15px;line-height:1.95;overflow-wrap:anywhere}.communication-notice-body a{color:#126a9b;text-decoration:underline}.communication-notice-attachments{margin:0 0 20px;padding:15px;border:1px solid #dce4de;border-radius:15px;background:#fff}.communication-notice-attachments h3{display:flex;align-items:center;gap:7px;margin:0 0 10px;font-size:13px}.communication-notice-attachments h3 svg{width:18px;height:18px}.communication-notice-attachments>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.communication-notice-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:18px}.communication-notice-info-grid article{padding:12px;border:1px solid #dde5df;border-radius:12px;background:#fff}.communication-notice-info-grid span,.communication-notice-info-grid b{display:block}.communication-notice-info-grid span{color:#6b786f;font-size:9px}.communication-notice-info-grid b{margin-top:5px;font-size:12px;overflow-wrap:anywhere}
.communication-notice-confirmation{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px;padding:16px;border:1px solid #d4e1d8;border-radius:15px;background:#edf8f1}.communication-notice-confirmation>svg{flex:0 0 28px;width:28px;height:28px;color:#197344}.communication-notice-confirmation b,.communication-notice-confirmation span{display:block}.communication-notice-confirmation b{font-size:14px}.communication-notice-confirmation span{margin-top:3px;color:#607068;font-size:11px;line-height:1.55}.communication-notice-confirmation.is-confirmed{justify-content:flex-start}.communication-notice-confirmation.is-not-required,.communication-notice-confirmation.is-ended{background:#f4f5f4;color:#5e6962}.communication-notice-manager{margin-top:18px}.communication-notice-manager-actions{display:flex;justify-content:flex-end;gap:8px}.communication-notice-manager details{margin-top:14px;border:1px solid #dce4de;border-radius:14px;background:#fff}.communication-notice-manager summary{padding:14px 15px;font-size:12px;font-weight:800;cursor:pointer}.communication-notice-target-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 13px 13px}.communication-notice-target-status article{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;padding:10px;border-radius:11px;background:#f5f7f5}.communication-notice-target-status article>span{display:flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:9px;background:#e8ece9;color:#727c75}.communication-notice-target-status article.is-confirmed>span{background:#e5f4ea;color:#176c3c}.communication-notice-target-status svg{width:17px;height:17px}.communication-notice-target-status b,.communication-notice-target-status small{display:block}.communication-notice-target-status b{font-size:11px}.communication-notice-target-status small{margin-top:2px;color:#707a73;font-size:9px}
.communication-notice-editor-modal{z-index:1650;padding:18px}.communication-notice-editor-sheet{width:min(920px,100%);max-height:calc(100dvh - 36px);overflow:auto;border-radius:22px}.communication-notice-editor-sheet>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px 22px;border-bottom:1px solid #e0e6e2}.communication-notice-editor-sheet>header h2{margin:4px 0;font-size:23px}.communication-notice-editor-sheet>header p{max-width:650px;color:#68766d;font-size:12px;line-height:1.6}.communication-notice-editor-sheet>header button{display:flex;width:42px;height:42px;align-items:center;justify-content:center;flex:0 0 42px;border:1px solid #d6ded9;border-radius:12px;background:#fff;cursor:pointer}.communication-notice-editor-sheet>header svg{width:20px;height:20px}.communication-notice-editor-sheet form{padding:20px 22px 24px}.communication-notice-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.communication-notice-form-grid label{display:grid;gap:6px}.communication-notice-form-grid label.is-wide{grid-column:1/-1}.communication-notice-form-grid label>span{font-size:11px;font-weight:800}.communication-notice-form-grid label>span em{color:#b04435;font-size:9px;font-style:normal}.communication-notice-form-grid textarea{min-height:170px;resize:vertical;line-height:1.7}.communication-notice-confirm-toggle{display:flex;align-items:flex-start;gap:10px;margin-top:14px;padding:13px;border:1px solid #d9e3dc;border-radius:13px;background:#f6faf7;cursor:pointer}.communication-notice-confirm-toggle input{width:20px;height:20px;margin-top:1px}.communication-notice-confirm-toggle b,.communication-notice-confirm-toggle small{display:block}.communication-notice-confirm-toggle b{font-size:12px}.communication-notice-confirm-toggle small{margin-top:3px;color:#68766d;font-size:10px}.communication-notice-store-selector{margin-top:15px;border:1px solid #dbe3de;border-radius:15px;overflow:hidden}.communication-notice-store-selector>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;background:#f3f7f4}.communication-notice-store-selector>header b,.communication-notice-store-selector>header span{display:block}.communication-notice-store-selector>header b{font-size:12px}.communication-notice-store-selector>header span{color:#65746a;font-size:10px}.communication-notice-store-selector>header .input{width:250px}.communication-notice-store-selector>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:250px;overflow:auto;padding:10px;gap:7px}.communication-notice-store-selector label{display:grid;grid-template-columns:auto 28px minmax(0,1fr);align-items:center;gap:7px;padding:9px;border:1px solid #e0e6e2;border-radius:10px;cursor:pointer}.communication-notice-store-selector label.is-selected{border-color:#9dc6aa;background:#edf8f1}.communication-notice-store-selector label>span{display:flex;width:27px;height:27px;align-items:center;justify-content:center;border-radius:8px;background:#e9f1ec;color:#39724f}.communication-notice-store-selector label svg{width:15px;height:15px}.communication-notice-store-selector label b{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.communication-notice-editor-attachments{margin-top:15px;padding:13px;border:1px solid #dbe3de;border-radius:15px}.communication-notice-editor-attachments>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.communication-notice-editor-attachments b,.communication-notice-editor-attachments small{display:block}.communication-notice-editor-attachments b{font-size:12px}.communication-notice-editor-attachments small{color:#68766d;font-size:9px}.communication-notice-form-error{min-height:22px;padding-top:9px;color:#a53a30;font-size:11px;font-weight:800}.communication-notice-editor-sheet form>footer{display:flex;justify-content:flex-end;gap:9px;padding-top:9px;border-top:1px solid #e4e9e6}
@media(max-width:900px){.communication-notice-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.communication-notice-attachments>div{grid-template-columns:1fr}.communication-notice-store-selector>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.communication-notice-workspace{min-height:540px}.communication-notice-workspace .communication-room-panel,.communication-notice-workspace .communication-notice-panel{width:100%}.communication-notice-workspace.has-open-room .communication-room-panel{display:none}.communication-notice-workspace:not(.has-open-room) .communication-notice-panel{display:none}.communication-notice-detail{min-height:520px;padding:15px}.communication-notice-detail>header h2{font-size:20px}.communication-notice-body{padding:18px 2px;font-size:14px}.communication-notice-confirmation{align-items:stretch;flex-direction:column}.communication-notice-confirmation .btn{width:100%}.communication-notice-target-status{grid-template-columns:1fr}.communication-notice-editor-modal{align-items:flex-end;padding:0}.communication-notice-editor-sheet{width:100%;max-height:94dvh;border-radius:22px 22px 0 0}.communication-notice-editor-sheet>header{padding:17px 15px 13px}.communication-notice-editor-sheet form{padding:15px 14px max(18px,env(safe-area-inset-bottom))}.communication-notice-form-grid{grid-template-columns:1fr}.communication-notice-form-grid label.is-wide{grid-column:auto}.communication-notice-store-selector>header{align-items:stretch;flex-direction:column}.communication-notice-store-selector>header .input{width:100%}.communication-notice-store-selector>div{grid-template-columns:1fr;max-height:230px}.communication-notice-editor-attachments>div:first-child{align-items:flex-start;flex-direction:column}.communication-notice-editor-sheet form>footer{position:sticky;bottom:0;margin:10px -14px -18px;padding:11px 14px max(11px,env(safe-area-inset-bottom));background:#fff}.communication-notice-editor-sheet form>footer .btn{flex:1}.communication-notice-scope button{flex:1;padding-left:7px;padding-right:7px;font-size:11px}}
@media(max-width:430px){.communication-notice-item{grid-template-columns:38px minmax(0,1fr) 18px;padding:13px 10px}.communication-notice-item-icon{width:35px;height:35px}.communication-notice-info-grid{grid-template-columns:1fr 1fr}.communication-notice-info-grid article{padding:10px}.communication-notice-manager-actions .btn{flex:1}.communication-notice-manager-actions{display:flex}.communication-notice-detail>header h2{font-size:18px}.communication-notice-editor-sheet>header h2{font-size:20px}}
/* fix283: chat header title width stabilization */
.communication-chat-head{grid-template-columns:minmax(0,1fr) auto!important}
.communication-chat-title{min-width:0}
.communication-chat-title h2,.communication-chat-title strong{display:-webkit-box;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:normal;word-break:keep-all}
.communication-chat-head .communication-icon-button{align-self:center;flex:0 0 auto}

/* v1.2.0-fix284 notice publish clarity and version semantics */
.communication-notice-publish-hint{display:block;margin-top:2px;color:#5f6d64;font-size:10px;line-height:1.55}
#communicationNoticePublish{max-width:min(100%,460px);white-space:normal;line-height:1.35;text-align:center}
@media(max-width:760px){#communicationNoticePublish{max-width:none;min-height:52px}.communication-notice-publish-hint{font-size:11px}}

/* v1.2.0-fix285 communication groups important search archive */
.communication-create-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;max-width:620px}
.communication-create-actions .btn{min-height:46px;white-space:nowrap}
.communication-room-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.communication-room-filters .communication-unread-toggle{min-height:42px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d9e2dc;border-radius:12px;background:#fff;font-weight:700;color:#42534b;padding:8px 10px}
.communication-room-filters .communication-unread-toggle:has(input:checked){border-color:#76b28d;background:#eff9f2;color:#126c3c}
.communication-room-item.is-important{border-left-color:#e49b17}
.communication-room-item.is-archived{opacity:.78;background:#f5f5f2}
.communication-room-item.is-archived .communication-room-icon{background:#eceeea;color:#5f6963}
.communication-important-badge{display:inline-flex;align-items:center;gap:3px;max-width:92px;padding:3px 7px;border-radius:999px;background:#fff0c6;color:#865800;font-size:11px;font-style:normal;font-weight:800;white-space:nowrap}
.communication-important-badge svg{width:12px;height:12px;fill:currentColor;stroke:none}
.communication-chat-header-main{min-width:0}
.communication-chat-header-main h2{overflow-wrap:normal;word-break:keep-all}
.communication-chat-header-main h2 span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.communication-pinned-panel{margin:0 16px 14px;border:1px solid #edcf82;border-radius:15px;background:#fffaf0;overflow:hidden}
.communication-pinned-panel summary{display:flex;align-items:center;gap:8px;padding:12px 14px;cursor:pointer;color:#765100;font-weight:800;list-style:none}
.communication-pinned-panel summary::-webkit-details-marker{display:none}
.communication-pinned-panel summary svg{width:17px;height:17px;fill:currentColor;stroke:none}
.communication-pinned-panel summary b{margin-left:auto;min-width:24px;height:24px;display:grid;place-items:center;border-radius:999px;background:#e39a18;color:#fff;font-size:12px}
.communication-pinned-panel>div{display:grid;gap:6px;padding:0 10px 10px}
.communication-pinned-panel button{display:grid;grid-template-columns:minmax(70px,auto) minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;border:1px solid #efe0b9;border-radius:11px;background:#fff;padding:9px 11px;text-align:left;color:#3f433f}
.communication-pinned-panel button:hover{border-color:#d9ad46;background:#fffdf8}
.communication-pinned-panel button strong,.communication-pinned-panel button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.communication-pinned-panel button i,.communication-pinned-panel button em{font-size:11px;font-style:normal;font-weight:800}
.communication-pinned-panel button i{color:#147441}.communication-pinned-panel button em{color:#a05b00}
.communication-message.is-important .communication-message-bubble{border-color:#e4bd55;box-shadow:0 6px 18px rgba(133,91,0,.08)}
.communication-important-heading{display:flex;align-items:center;gap:6px;margin:-2px 0 10px;padding-bottom:8px;border-bottom:1px solid #edd8a3;color:#855a00;font-size:12px;font-weight:900}
.communication-important-heading svg{width:15px;height:15px;fill:currentColor;stroke:none}
.communication-message-important-meta,.communication-confirmed-label{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:800}
.communication-message-important-meta{color:#805700}.communication-message-important-meta svg{width:13px;height:13px;fill:currentColor;stroke:none}
.communication-confirmed-label{color:#177642;background:#e8f7ed;padding:3px 7px;border-radius:999px}
.communication-message-links{display:grid;gap:7px;margin-top:10px}
.communication-message-links a,.communication-message-links span{display:flex;align-items:center;gap:8px;border:1px solid #cddfd4;border-radius:10px;background:#f7fbf8;padding:10px 12px;color:#176b3c;font-weight:800;text-decoration:none}
.communication-message-links span{color:#737b77;background:#f2f3f2;border-color:#dedfdd}
.communication-message-links svg{width:16px;height:16px;flex:0 0 auto}
.communication-compose-links{display:grid;gap:8px;margin-bottom:9px}
.communication-compose-links>div{display:flex;flex-wrap:wrap;gap:6px}
.communication-compose-links>div>span{display:inline-flex;align-items:center;gap:5px;max-width:100%;border:1px solid #b9d8c5;border-radius:999px;background:#eef8f1;padding:6px 8px 6px 10px;color:#166b3c;font-size:12px;font-weight:800}
.communication-compose-links>div>span svg{width:14px;height:14px;flex:0 0 auto}
.communication-compose-links>div>span button{display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:999px;background:#fff;color:#55635b;padding:0}
.communication-compose-links>label{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}
.communication-compose-links>label>span{font-size:12px;font-weight:800;color:#4f5d55}
.communication-compose-links .input{min-height:40px}
.communication-readonly-note{margin:0;padding:16px;border-top:1px solid #dce2de;background:#f5f6f4;color:#58635d;font-weight:700;line-height:1.7}

.communication-group-modal .sheet,.communication-search-modal .sheet{width:min(760px,calc(100vw - 30px));max-height:min(900px,calc(100dvh - 30px));overflow:auto}
.communication-group-modal .sheet>header,.communication-search-modal .sheet>header{position:sticky;top:0;z-index:3;background:#fff}
.communication-group-modal form{display:grid;gap:14px;padding:18px 22px 22px}
.communication-group-modal form>label{display:grid;gap:7px;font-weight:800}
.communication-group-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.communication-group-options>label{display:grid;gap:7px;font-weight:800}
.communication-check-card{display:flex!important;align-items:center;gap:10px;border:1px solid #d8e3dc;border-radius:12px;background:#f8fbf9;padding:11px 13px}
.communication-check-card input{width:20px;height:20px}
.communication-group-selected{font-size:13px;font-weight:900;color:#176d3e}
.communication-group-store-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:330px;overflow:auto;border:1px solid #dce3df;border-radius:14px;background:#f7f8f6;padding:10px}
.communication-group-store-list>label{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px;min-height:48px;border:1px solid #d9dfdb;border-radius:11px;background:#fff;padding:9px 11px;cursor:pointer}
.communication-group-store-list>label.is-selected{border-color:#69ae83;background:#edf8f1}
.communication-group-store-list input{width:19px;height:19px}
.communication-group-store-list svg{width:17px;height:17px;color:#287d4c}
.communication-group-store-list b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.communication-group-modal form>footer{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}

.communication-search-modal .sheet{width:min(900px,calc(100vw - 30px))}
.communication-search-modal form{display:grid;gap:12px;padding:18px 22px;border-bottom:1px solid #e1e5e2;background:#fbfcfb}
.communication-search-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.communication-search-grid>label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#4d5952}
.communication-search-checks{display:flex;flex-wrap:wrap;gap:8px}
.communication-search-checks label{display:flex;align-items:center;gap:8px;border:1px solid #d6dfd9;border-radius:10px;background:#fff;padding:9px 11px;font-weight:800}
.communication-search-checks input{width:18px;height:18px}
.communication-search-results{display:grid;gap:8px;min-height:230px;max-height:430px;overflow:auto;padding:14px 22px}
.communication-search-result{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;width:100%;border:1px solid #dce3df;border-radius:13px;background:#fff;padding:12px 14px;text-align:left;color:#26332c}
.communication-search-result:hover{border-color:#70ac86;background:#f7fcf8}
.communication-search-result-head{grid-column:1/-1;display:flex;align-items:center;gap:7px;min-width:0}
.communication-search-result-head b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.communication-search-result-head em,.communication-search-result-head i{flex:0 0 auto;border-radius:999px;padding:3px 7px;font-size:10px;font-style:normal;font-weight:900}
.communication-search-result-head em{background:#edf1ee;color:#4d5a53}.communication-search-result-head i{background:#fff0c8;color:#805700}
.communication-search-result>strong{font-size:12px;color:#506158}
.communication-search-result>p{grid-column:1/-1;margin:1px 0 0;line-height:1.55;color:#303a35;overflow-wrap:anywhere}
.communication-search-result>time{grid-column:2;grid-row:2;font-size:11px;color:#748078}
.communication-search-modal .sheet>footer{display:flex;justify-content:flex-end;padding:12px 22px 18px;border-top:1px solid #e2e6e3;background:#fff}

@media(max-width:900px){
  .communication-chat-toolbar{align-items:stretch}.communication-create-actions{max-width:none;justify-content:stretch}.communication-create-actions .btn{flex:1 1 180px}
  .communication-pinned-panel{margin-inline:10px}
}
@media(max-width:600px){
  .communication-create-actions{display:grid;grid-template-columns:1fr 1fr}.communication-create-actions .btn{width:100%;min-width:0;font-size:13px;padding-inline:8px}
  .communication-room-filters{grid-template-columns:1fr 1fr}
  .communication-pinned-panel button{grid-template-columns:1fr auto}.communication-pinned-panel button strong{grid-column:1}.communication-pinned-panel button span{grid-column:1/-1;grid-row:2}.communication-pinned-panel button i,.communication-pinned-panel button em{grid-column:2;grid-row:1}
  .communication-compose-links>label{grid-template-columns:1fr auto}.communication-compose-links>label>span{grid-column:1/-1}
  .communication-group-modal .sheet,.communication-search-modal .sheet{width:100%;max-height:100dvh;height:100dvh;border-radius:0}
  .communication-group-options,.communication-search-grid{grid-template-columns:1fr}
  .communication-group-store-list{grid-template-columns:1fr;max-height:38dvh}
  .communication-group-modal form>footer{position:sticky;bottom:0;margin:0 -22px -22px;padding:12px 22px calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e0e5e1}
  .communication-search-results{max-height:none;flex:1}.communication-search-modal .sheet{display:flex;flex-direction:column}.communication-search-modal form{flex:0 0 auto}.communication-search-modal .sheet>footer{padding-bottom:calc(18px + env(safe-area-inset-bottom))}
  .communication-search-result{grid-template-columns:1fr}.communication-search-result>time{grid-column:1;grid-row:auto}
}

/* v1.2.0-fix286 業務連絡UI全面再構築 */
.communication-app-fixed{height:var(--communication-viewport-height,100dvh);overflow:hidden;background:#f5f2ea}
.communication-app-fixed #app{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}
.communication-app-fixed .communication-dedicated-topbar{flex:0 0 auto}
.communication-dedicated-topbar .wrap{position:relative}
.communication-dedicated-title{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:17px;white-space:nowrap;color:#fff}
.communication-hub-main{max-width:1120px;padding-top:44px;padding-bottom:72px}
.communication-hub-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:24px}
.communication-hub-heading>div>span{display:block;margin-bottom:7px;color:#287247;font-size:13px;font-weight:900}
.communication-hub-heading h1{margin:0 0 10px;font-size:clamp(34px,5vw,54px);line-height:1.05;letter-spacing:-.04em}
.communication-hub-heading p{margin:0;color:#59665f;font-size:16px;line-height:1.75}
.communication-hub-heading aside{min-width:230px;padding:16px 18px;border:1px solid #dce5df;border-radius:17px;background:#fff}
.communication-hub-heading aside small,.communication-hub-heading aside b{display:block}.communication-hub-heading aside small{color:#758078;font-size:11px}.communication-hub-heading aside b{margin-top:5px;font-size:17px}
.communication-attention-strip{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:16px;padding:11px 13px;border:1px solid #dce5df;border-radius:15px;background:#fff}
.communication-attention-strip span{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#edf7f0;color:#286a43;font-size:13px;font-weight:800}.communication-attention-strip span.is-important{background:#fff1ce;color:#825700}.communication-attention-strip svg{width:16px;height:16px}
.communication-hub-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.communication-hub-card{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr) auto;grid-template-rows:1fr auto;gap:14px 18px;min-height:250px;padding:28px;border:1px solid #dce4df;border-radius:26px;background:#fff;color:#1e2823;text-align:left;box-shadow:0 14px 30px rgba(33,54,43,.07);cursor:pointer;transition:.18s ease}
.communication-hub-card:hover{transform:translateY(-2px);border-color:#9ec6ad;box-shadow:0 18px 36px rgba(33,54,43,.12)}
.communication-hub-card.is-notice:hover{border-color:#e1ba67}
.communication-hub-card-icon{display:grid;place-items:center;width:72px;height:72px;border-radius:22px;background:#eaf6ee;color:#237044}.communication-hub-card.is-notice .communication-hub-card-icon{background:#fff4d8;color:#986000}.communication-hub-card-icon svg{width:34px;height:34px}
.communication-hub-card-copy{min-width:0}.communication-hub-card-copy small,.communication-hub-card-copy strong,.communication-hub-card-copy em{display:block}.communication-hub-card-copy small{margin:2px 0 7px;color:#6d7872;font-size:12px;font-style:normal;font-weight:800}.communication-hub-card-copy strong{font-size:28px;line-height:1.2}.communication-hub-card-copy em{margin-top:10px;color:#59665f;font-size:14px;font-style:normal;line-height:1.65}
.communication-hub-card-status{display:grid;place-items:center;align-self:start;min-width:64px;height:64px;padding:7px;border-radius:18px;background:#eef7f1;color:#286a43}.communication-hub-card-status.is-important{background:#fff1ce;color:#845800}.communication-hub-card-status b{font-size:25px;line-height:1}.communication-hub-card-status small{margin-top:3px;font-size:10px;font-weight:800}
.communication-hub-card>i{grid-column:2/-1;display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;color:#287247;font-size:14px;font-style:normal;font-weight:900}.communication-hub-card>i svg{width:17px;height:17px}.communication-hub-card.is-notice>i{color:#996300}
.communication-hub-guide{display:flex;align-items:flex-start;gap:15px;margin-top:18px;padding:18px 20px;border:1px solid #dce4df;border-radius:18px;background:#fff}.communication-hub-guide>span{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:#edf7f0;color:#2a7447}.communication-hub-guide svg{width:23px;height:23px}.communication-hub-guide b{font-size:15px}.communication-hub-guide p{margin:5px 0 0;color:#626e67;line-height:1.65}

.communication-dedicated-main{display:flex;flex:1;min-height:0;flex-direction:column;width:100%;max-width:1540px;margin:0 auto;padding:14px 18px 18px;overflow:hidden}
.communication-screen-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:16px;flex:0 0 auto;margin-bottom:12px;padding:12px 14px;border:1px solid #dce4df;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(33,54,43,.06)}
.communication-screen-back{display:inline-flex;align-items:center;gap:5px;min-height:42px;padding:0 12px;border:1px solid #d8e0db;border-radius:12px;background:#fff;color:#34463d;font:inherit;font-weight:800}.communication-screen-back:hover{background:#f3f8f4}.communication-screen-back svg{width:18px;height:18px}
.communication-screen-header>div:nth-child(2){min-width:0}.communication-screen-header>div:nth-child(2) small{display:block;color:#6f7973;font-size:11px;font-weight:800}.communication-screen-header h1{margin:2px 0 0;font-size:23px;line-height:1.15}
.communication-screen-count{display:inline-flex;align-items:baseline;gap:5px;padding:7px 11px;border-radius:999px;background:#f1f3f2;color:#66716b;font-size:11px;font-weight:800}.communication-screen-count b{font-size:16px}.communication-screen-count.has-count{background:#fff0c8;color:#805800}
.communication-screen-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.communication-action-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 14px;border:1px solid #d6dfd9;border-radius:12px;background:#fff;color:#34463d;font:inherit;font-size:13px;font-weight:900}.communication-action-button.is-primary{border-color:#ff7a00;background:#ff7a00;color:#fff}.communication-action-button:hover{filter:brightness(.98)}.communication-action-button svg{width:18px!important;height:18px!important;flex:0 0 auto}

.communication-workspace-v2{flex:1;min-height:0;height:auto!important;margin:0;border-radius:20px;overflow:hidden;box-shadow:0 10px 28px rgba(26,48,37,.08)}
.communication-workspace-v2 .communication-room-panel,.communication-workspace-v2 .communication-chat-panel{min-height:0;height:100%}
.communication-workspace-v2 .communication-room-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;background:#fff}
.communication-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:62px;padding:11px 13px;border-bottom:1px solid #e1e6e3}.communication-list-heading>div{display:flex;align-items:baseline;gap:7px}.communication-list-heading b{font-size:17px}.communication-list-heading span{color:#6e7872;font-size:12px}
.communication-icon-button{display:grid;place-items:center;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;border:1px solid #d7dfda!important;border-radius:11px!important;background:#fff!important;color:#395246!important}.communication-icon-button:hover{background:#f0f7f2!important}.communication-icon-button svg{width:19px!important;height:19px!important;max-width:19px!important;max-height:19px!important}
.communication-list-controls{display:grid;gap:8px;padding:11px;border-bottom:1px solid #e1e6e3;background:#fafbfa}.communication-list-search{display:flex;align-items:center;gap:8px;min-height:43px;padding:0 11px;border:1px solid #d7dfda;border-radius:12px;background:#fff}.communication-list-search svg{width:17px;height:17px;color:#557064}.communication-list-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;font:inherit;font-size:13px}
.communication-list-filter{position:relative}.communication-list-filter>summary{display:inline-flex;align-items:center;gap:6px;min-height:35px;padding:0 10px;border:1px solid #d9e0dc;border-radius:10px;background:#fff;color:#56645c;font-size:12px;font-weight:800;cursor:pointer;list-style:none}.communication-list-filter>summary::-webkit-details-marker{display:none}.communication-list-filter>summary svg{width:15px;height:15px}.communication-list-filter>div{position:absolute;z-index:10;top:42px;left:0;display:grid;gap:9px;width:min(300px,calc(100vw - 42px));padding:12px;border:1px solid #d8e0db;border-radius:14px;background:#fff;box-shadow:0 14px 32px rgba(27,44,35,.18)}.communication-list-filter label>span{display:block;margin-bottom:4px;color:#69746e;font-size:11px;font-weight:800}.communication-list-filter .input{min-height:40px}.communication-compact-check{display:flex!important;align-items:center;gap:7px;min-height:36px;margin:0!important;font-size:12px;font-weight:800}.communication-compact-check input{width:18px;height:18px}
.communication-workspace-v2 .communication-room-list{min-height:0;overflow:auto;overscroll-behavior:contain}.communication-workspace-v2 .communication-room-item{grid-template-columns:42px minmax(0,1fr);min-height:88px;padding:12px 13px}.communication-workspace-v2 .communication-room-icon{width:42px;height:42px;border-radius:13px}.communication-workspace-v2 .communication-room-icon svg{width:21px;height:21px}.communication-workspace-v2 .communication-room-preview{display:flex;align-items:center;gap:5px;min-width:0}.communication-workspace-v2 .communication-room-preview svg{width:13px;height:13px;flex:0 0 auto}.communication-workspace-v2 .communication-room-arrow{display:none}.communication-room-pagination{background:#fff}
.communication-workspace-v2 .communication-chat-panel{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#f4f7f5}
.communication-workspace-v2 .communication-chat-head{grid-template-columns:auto auto minmax(0,1fr) auto!important;min-height:66px;padding:9px 12px}.communication-chat-room-title h2{margin:1px 0 2px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;word-break:normal!important}.communication-chat-room-title small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important}.communication-chat-head-actions{display:flex;align-items:center;gap:5px}.communication-chat-head-actions .state-btn{min-height:38px}
.communication-workspace-v2 .communication-messages{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px 18px 20px;scrollbar-gutter:stable}.communication-message-stream{max-width:920px;margin:0 auto}.communication-pinned-panel{max-width:920px;margin:0 auto 14px}.communication-message{scroll-margin-block:90px}
.communication-composer-v2{position:relative;z-index:4;display:grid;gap:8px;padding:9px 12px max(9px,env(safe-area-inset-bottom));border-top:1px solid #dce3df;background:#fff;box-shadow:0 -8px 24px rgba(28,48,38,.06)}
.communication-compose-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px}.communication-compose-row>label{display:block;min-width:0}.communication-compose-row textarea{display:block;width:100%;min-height:44px;max-height:116px;padding:11px 13px;border:1px solid #ccd8d0;border-radius:14px;background:#fff;font:inherit;line-height:1.45;resize:none;overflow-y:auto}.communication-compose-row textarea:focus{border-color:#54a673;box-shadow:0 0 0 3px rgba(54,145,87,.12);outline:0}
.communication-send-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:98px;height:44px;padding:0 15px;border:0;border-radius:13px;background:#ff7600;color:#fff;font:inherit;font-weight:900}.communication-send-button:disabled{opacity:.55}.communication-send-button svg{width:18px!important;height:18px!important}
.communication-compose-tools{display:flex;align-items:center;gap:7px;min-height:30px}.communication-compose-tool{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 8px;border:0;border-radius:9px;background:#eff6f1;color:#2e6f48;font:inherit;font-size:11px;font-weight:900;cursor:pointer}.communication-compose-tool svg{width:14px!important;height:14px!important}.communication-compose-tool input{position:absolute;opacity:0;pointer-events:none}.communication-compose-tool.is-disabled{opacity:.45;pointer-events:none}.communication-compose-tools>span{min-width:0;margin-left:auto;color:#9a4b3f;font-size:11px;font-weight:700}.communication-compose-tools>small{color:#7a847e;font-size:10px;white-space:nowrap}.communication-selected-links{display:flex;flex-wrap:wrap;gap:5px}.communication-selected-links span{display:inline-flex;align-items:center;gap:4px;padding:5px 8px;border-radius:999px;background:#edf7f0;color:#286a43;font-size:11px;font-weight:800}.communication-selected-links svg{width:13px;height:13px}
.communication-new-message-toast{position:absolute;right:22px;bottom:104px;z-index:8;display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:0 12px;border:0;border-radius:999px;background:#1d6f43;color:#fff;font:inherit;font-size:12px;font-weight:900;box-shadow:0 8px 22px rgba(24,72,45,.25)}.communication-new-message-toast svg{width:14px;height:14px;transform:rotate(90deg)}
.communication-readonly-note{padding:14px 16px!important}

.communication-notices-screen .communication-screen-header{margin-bottom:8px}.communication-notice-mode{flex:0 0 auto;margin-bottom:8px}.communication-notice-scope{margin:0;padding:5px;border-radius:13px}.communication-notice-scope button{min-height:39px;padding:0 14px;border-radius:9px}.communication-notice-scope.is-label{padding:10px 13px;background:#fff;border:1px solid #dce4df;color:#516058;font-size:13px;font-weight:800}
.communication-notice-workspace .communication-list-controls{grid-template-columns:minmax(0,1fr) 135px;align-items:center}.communication-notice-status{min-height:43px}
.communication-notice-detail-v2{min-height:100%;padding:22px 26px}.communication-notice-detail-v2>header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px}.communication-notice-detail-v2>header>div{min-width:0}.communication-notice-detail-v2 h2{margin:8px 0 7px;font-size:clamp(22px,3vw,32px);line-height:1.3}.communication-notice-detail-v2>header p{margin:0;color:#77817b;font-size:12px}.communication-notice-detail-v2 .communication-mobile-back{display:none}.communication-notice-body{margin-top:22px;padding-top:20px;font-size:16px;line-height:1.9}.communication-notice-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;margin-top:16px;padding:12px 14px;border:1px solid #e0e5e2;border-radius:12px;background:#fafbfa;color:#6e7872;font-size:11px}.communication-notice-meta b{color:#2f3934}.communication-notice-admin-details{margin-top:14px;border:1px solid #dce4df;border-radius:13px;background:#fff;overflow:hidden}.communication-notice-admin-details summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;cursor:pointer;font-weight:900}.communication-notice-admin-details>p{margin:0;padding:0 15px 15px;color:#66726b}.communication-notice-target-status{padding:0 12px 12px}
.communication-notice-empty{height:100%;min-height:0}.communication-notice-panel{overflow:auto}.communication-notice-panel .communication-notice-detail{overflow:visible}

.communication-utility-modal{z-index:10000}.communication-choice-sheet,.communication-small-sheet{width:min(520px,calc(100vw - 30px));max-height:calc(100dvh - 30px);overflow:auto;border-radius:22px;background:#fff}.communication-choice-sheet>header,.communication-small-sheet>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:22px;border-bottom:1px solid #e2e7e4}.communication-choice-sheet>header small,.communication-small-sheet>header small{display:block;color:#287247;font-size:11px;font-weight:900}.communication-choice-sheet>header h2,.communication-small-sheet>header h2{margin:4px 0 6px;font-size:24px}.communication-choice-sheet>header p,.communication-small-sheet>header p{margin:0;color:#68736d;line-height:1.55}.communication-modal-close{display:grid;place-items:center;flex:0 0 40px;width:40px!important;height:40px!important;padding:0!important;border:1px solid #d8e0db;border-radius:11px;background:#fff;color:#405147}.communication-modal-close svg{width:18px!important;height:18px!important}.communication-choice-list{display:grid;gap:8px;padding:15px}.communication-choice-list>button{display:grid;grid-template-columns:46px minmax(0,1fr) 20px;align-items:center;gap:11px;width:100%;min-height:70px;padding:10px 12px;border:1px solid #dce3df;border-radius:14px;background:#fff;color:#2c3832;text-align:left}.communication-choice-list>button:hover:not(:disabled){border-color:#7eb290;background:#f5fbf7}.communication-choice-list>button:disabled{opacity:.5;cursor:not-allowed}.communication-choice-list>button>span{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#edf7f0;color:#287247}.communication-choice-list>button>span svg{width:22px;height:22px}.communication-choice-list>button>svg{width:17px;height:17px;color:#7b847f}.communication-choice-list b,.communication-choice-list small{display:block}.communication-choice-list small{margin-top:3px;color:#6e7872}.communication-choice-list.is-compact>button{min-height:64px}.communication-choice-list>button.is-danger>span{background:#fff0ee;color:#a6362b}.communication-choice-sheet>footer,.communication-small-sheet>footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:13px 15px;border-top:1px solid #e1e6e3;background:#fff}.communication-room-menu-info{display:grid;gap:4px;margin:14px 15px 0;padding:12px;border-radius:12px;background:#f4f7f5}.communication-room-menu-info span{color:#718078;font-size:11px}.communication-related-options{display:grid;gap:7px;padding:15px}.communication-related-options button{display:flex;align-items:center;gap:9px;min-height:48px;padding:0 12px;border:1px solid #dce3df;border-radius:12px;background:#fff;color:#34423a;text-align:left}.communication-related-options button.is-selected{border-color:#72ad87;background:#eef8f1;color:#236a42}.communication-related-options button svg{width:18px;height:18px}.communication-related-options button span{flex:1;font-weight:800}.communication-related-options button i{font-size:11px;font-style:normal;font-weight:800}

.communication-group-modal .sheet>header button,.communication-search-modal .sheet>header button{display:grid;place-items:center;width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;border:1px solid #d8e0db;border-radius:11px;background:#fff}.communication-group-modal .sheet>header button svg,.communication-search-modal .sheet>header button svg{width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important}.communication-group-modal #communicationGroupCreate,.communication-search-modal #communicationSearchSubmit{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;min-width:180px!important;min-height:48px!important;height:auto!important;padding:0 18px!important;border-radius:12px!important;font-size:14px!important}.communication-group-modal #communicationGroupCreate svg,.communication-search-modal #communicationSearchSubmit svg{width:18px!important;height:18px!important;max-width:18px!important;max-height:18px!important}.communication-search-modal form{grid-template-columns:1fr}.communication-search-modal #communicationSearchSubmit{justify-self:end}.communication-search-results>.communication-room-empty>span svg{width:34px!important;height:34px!important}

@media(max-width:900px){
  .communication-dedicated-main{padding:10px}.communication-screen-header{grid-template-columns:auto minmax(0,1fr) auto}.communication-screen-count{display:none}.communication-screen-actions{grid-column:1/-1}.communication-screen-actions .communication-action-button{flex:1}.communication-workspace-v2{grid-template-columns:minmax(270px,320px) minmax(0,1fr)}
  .communication-hub-main{padding-inline:18px}.communication-hub-card{grid-template-columns:62px minmax(0,1fr) auto;padding:23px}.communication-hub-card-icon{width:62px;height:62px}
}
@media(max-width:760px){
  .communication-dedicated-title{display:none}.communication-dedicated-main{padding:7px}.communication-screen-header{grid-template-columns:auto minmax(0,1fr);gap:9px;margin-bottom:7px;padding:8px 9px}.communication-screen-back{min-height:39px;padding:0 9px;font-size:12px}.communication-screen-header h1{font-size:19px}.communication-screen-header>div:nth-child(2) small{display:none}.communication-screen-actions{grid-column:1/-1;gap:6px}.communication-action-button{min-height:40px;padding:0 10px;font-size:12px}
  .communication-workspace-v2{display:block;height:auto!important;min-height:0;border-radius:15px}.communication-workspace-v2 .communication-room-panel,.communication-workspace-v2 .communication-chat-panel{height:100%}.communication-workspace-v2 .communication-chat-panel{display:none}.communication-workspace-v2.has-open-room .communication-room-panel{display:none}.communication-workspace-v2.has-open-room .communication-chat-panel{display:grid}.communication-workspace-v2 .communication-chat-head{grid-template-columns:auto 40px minmax(0,1fr) auto!important;padding:7px}.communication-chat-head-actions{gap:3px}.communication-chat-head-actions .state-btn{display:none}.communication-chat-room-title h2{font-size:15px!important}.communication-chat-room-title small{display:none}.communication-mobile-back{display:inline-flex}.communication-workspace-v2 .communication-messages{padding:12px 8px 16px}.communication-message{grid-template-columns:minmax(0,96%)}
  .communication-compose-row{grid-template-columns:minmax(0,1fr) 72px}.communication-send-button{min-width:72px;padding:0 9px}.communication-send-button span{font-size:12px}.communication-compose-tools{gap:5px}.communication-compose-tools>span{display:none}.communication-compose-tools>small{margin-left:auto}.communication-new-message-toast{right:12px;bottom:98px}
  .communication-notice-mode{margin-bottom:6px}.communication-notice-scope{display:grid;grid-template-columns:1fr 1fr}.communication-notice-workspace .communication-list-controls{grid-template-columns:1fr}.communication-notice-detail-v2{padding:16px}.communication-notice-detail-v2 .communication-mobile-back{display:inline-flex;margin-bottom:8px}.communication-notice-detail-v2>header{grid-template-columns:1fr auto}.communication-notice-body{font-size:15px}.communication-notice-meta{display:grid;grid-template-columns:1fr 1fr}.communication-notice-panel{overflow:auto}
  .communication-choice-sheet,.communication-small-sheet{width:100%;max-height:92dvh;border-radius:22px 22px 0 0}.communication-utility-modal{align-items:flex-end;padding:0}.communication-choice-sheet>footer,.communication-small-sheet>footer{padding-bottom:max(13px,env(safe-area-inset-bottom))}
  .communication-group-modal #communicationGroupCreate,.communication-search-modal #communicationSearchSubmit{width:100%!important;min-width:0!important;justify-self:stretch}
}
@media(max-width:620px){
  .communication-hub-main{padding:20px 10px 40px}.communication-hub-heading{display:block;margin-bottom:16px;padding:0 8px}.communication-hub-heading h1{font-size:36px}.communication-hub-heading p{font-size:14px}.communication-hub-heading aside{margin-top:15px;min-width:0}.communication-hub-choices{grid-template-columns:1fr;gap:12px}.communication-hub-card{grid-template-columns:56px minmax(0,1fr) auto;min-height:190px;padding:18px;gap:12px}.communication-hub-card-icon{width:56px;height:56px;border-radius:17px}.communication-hub-card-icon svg{width:27px;height:27px}.communication-hub-card-copy strong{font-size:23px}.communication-hub-card-copy em{font-size:13px}.communication-hub-card-status{min-width:52px;height:52px;border-radius:15px}.communication-hub-card-status b{font-size:21px}.communication-hub-guide{margin-top:12px}.communication-attention-strip{margin-inline:0}
  .communication-list-filter>div{position:fixed;left:10px;right:10px;top:auto;bottom:10px;width:auto;z-index:100;border-radius:16px;box-shadow:0 18px 46px rgba(20,35,27,.28)}
  .communication-notice-meta{grid-template-columns:1fr}.communication-compose-tools>small{display:none}
}


/* v1.2.0-fix287 communication sync, reply jump and mobile polish */
.communication-message.is-jump-highlight .communication-message-bubble{animation:communication-message-jump-highlight 1.8s ease}
@keyframes communication-message-jump-highlight{0%,38%{outline:4px solid rgba(255,122,0,.42);outline-offset:3px}100%{outline:0 solid transparent;outline-offset:0}}
.communication-hub-card-copy strong>span{display:inline}
@media(max-width:760px){
  .communication-dedicated-topbar .wrap{min-height:60px!important;padding:6px 10px!important;gap:8px!important;align-items:center!important;flex-wrap:nowrap!important}
  .communication-dedicated-topbar .wrap::before{width:38px!important;height:38px!important;flex:0 0 38px!important}
  .communication-dedicated-topbar .store-identity{min-width:0!important;flex:1 1 auto!important}
  .communication-dedicated-topbar .store-identity-copy .brand{font-size:14px!important}
  .communication-dedicated-topbar .store-identity-copy .sub{font-size:9px!important}
  .communication-dedicated-topbar .top-actions{width:auto!important;margin-left:auto!important;flex:0 0 auto!important;flex-wrap:nowrap!important;justify-content:flex-end!important}
  .communication-dedicated-topbar .store-management-home-button{min-height:36px;padding:0 10px;font-size:11px}
  .communication-chat-screen:has(.communication-workspace-v2.has-open-room) .communication-screen-actions{display:none}
  .communication-workspace-v2 .communication-chat-room-title h2{display:-webkit-box!important;overflow:hidden!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal!important;line-height:1.25!important}
  .communication-workspace-v2 .communication-messages{padding-bottom:28px;scroll-padding-bottom:90px}
  .communication-message-bubble footer button{min-height:34px;padding:5px 8px}
}
@media(max-width:620px){
  .communication-hub-card-copy strong>span{display:block}
}
@media(prefers-reduced-motion:reduce){
  .communication-message.is-jump-highlight .communication-message-bubble{animation:none;outline:4px solid rgba(255,122,0,.42);outline-offset:3px}
}

/* v1.2.0-fix288 communication list clarity, refresh labels and attachment type cards */
.communication-list-search-block{
  display:grid;
  gap:6px;
}

.communication-list-search-caption{
  display:block;
  color:#526159;
  font-size:11px;
  font-weight:900;
  line-height:1.3;
}

.communication-refresh-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-width:40px;
  min-height:40px;
  padding:0 11px;
  border:1px solid #d7dfda;
  border-radius:11px;
  background:#fff;
  color:#395246;
  font:inherit;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
  cursor:pointer;
}

.communication-refresh-button:hover{
  background:#f0f7f2;
}

.communication-refresh-button:focus-visible{
  outline:3px solid rgba(47,126,78,.24);
  outline-offset:2px;
}

.communication-refresh-button svg{
  flex:0 0 auto;
  width:18px;
  height:18px;
}

.communication-refresh-button.is-compact{
  padding-inline:10px;
}

.communication-file-attachment{
  grid-template-columns:54px minmax(0,1fr) 28px;
}

.communication-attachment-expired{
  grid-template-columns:54px minmax(0,1fr);
}

.communication-file-attachment>.communication-attachment-type-badge,
.communication-attachment-expired>.communication-attachment-type-badge{
  display:grid;
  place-items:center;
  width:52px;
  min-width:52px;
  height:42px;
  padding:4px;
  border-radius:11px;
  background:#e8f3ec;
  color:#286b43;
  font-size:10px;
  font-weight:950;
  letter-spacing:.02em;
  line-height:1;
  text-align:center;
}

.communication-attachment-expired>
.communication-attachment-type-badge.is-unavailable{
  background:#e9ebea;
  color:#747d77;
}

.communication-attachment-copy{
  min-width:0;
}

.communication-attachment-copy b{
  display:block;
  overflow:hidden;
  max-width:100%;
  color:#27372e;
  font-size:12px;
  font-weight:800;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.communication-attachment-copy small{
  display:block;
  margin-top:4px;
  color:#6d7971;
  font-size:10px;
  line-height:1.4;
}

.communication-image-attachment-copy{
  min-width:0;
}

.communication-image-attachment-copy strong{
  display:block;
  margin-bottom:3px;
  color:#276c43;
  font-size:11px;
  font-weight:950;
}

.communication-image-attachment-copy b{
  display:block;
  overflow:hidden;
  max-width:100%;
  text-overflow:ellipsis;
  white-space:nowrap;
}

@media(min-width:761px){
  .communication-workspace-v2
  .communication-room-title b{
    font-size:16px;
  }

  .communication-workspace-v2
  .communication-room-preview{
    font-size:13px;
    line-height:1.5;
  }

  .communication-workspace-v2
  .communication-room-meta{
    font-size:11px;
  }

  .communication-workspace-v2
  .communication-message-author b{
    font-size:13px;
  }

  .communication-workspace-v2
  .communication-message-author small{
    font-size:11px;
  }

  .communication-workspace-v2
  .communication-message-bubble footer{
    font-size:11px;
  }
}

@media(max-width:760px){
  .communication-refresh-button{
    width:40px;
    min-width:40px;
    height:40px;
    min-height:40px;
    padding:0;
  }

  .communication-refresh-button>span{
    display:none;
  }

  .communication-list-search-caption{
    font-size:10px;
  }

  .communication-file-attachment{
    grid-template-columns:48px minmax(0,1fr) 24px;
  }

  .communication-attachment-expired{
    grid-template-columns:48px minmax(0,1fr);
  }

  .communication-file-attachment>
  .communication-attachment-type-badge,
  .communication-attachment-expired>
  .communication-attachment-type-badge{
    width:46px;
    min-width:46px;
    height:40px;
    font-size:9px;
  }
}

/* v1.2.0-fix289 compact notice confirmation and simplified communication topbar */
.communication-notice-confirmation.is-action-required{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  justify-content:initial!important;
  gap:16px!important;
  padding:14px 16px!important;
  border-color:#cbded1!important;
  background:#f3faf5!important;
}

.communication-notice-confirmation-copy{
  min-width:0;
}

.communication-notice-confirmation-copy>b{
  display:block!important;
  margin:0!important;
  color:#17251d!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1.45!important;
}

.communication-notice-confirmation-copy>span{
  display:block!important;
  margin:3px 0 0!important;
  color:#617068!important;
  font-size:11px!important;
  line-height:1.55!important;
}

.communication-notice-confirm-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  width:auto!important;
  min-width:178px!important;
  height:auto!important;
  min-height:46px!important;
  max-height:none!important;
  margin:0!important;
  padding:10px 15px!important;
  border-radius:12px!important;
  white-space:nowrap!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.25!important;
}

.communication-notice-confirm-button>svg{
  display:block!important;
  flex:0 0 18px!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  max-height:18px!important;
  margin:0!important;
}

.communication-notice-confirm-button>span{
  display:inline!important;
  margin:0!important;
  color:inherit!important;
  font-size:inherit!important;
  line-height:inherit!important;
  white-space:nowrap!important;
}

.communication-notice-confirm-button>.ui-action-icon{
  display:none!important;
}

.communication-notice-confirmation.is-confirmed{
  display:grid!important;
  grid-template-columns:36px minmax(0,1fr)!important;
  align-items:center!important;
  justify-content:initial!important;
  gap:11px!important;
  padding:11px 13px!important;
  border-color:#b9d9c3!important;
  background:#f0faf3!important;
}

.communication-notice-confirmed-icon{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  margin:0!important;
  border-radius:10px!important;
  background:#dcefe2!important;
  color:#176b3a!important;
}

.communication-notice-confirmed-icon>svg{
  display:block!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
}

@media(max-width:760px){
  .communication-notice-detail{
    min-height:0;
    padding:15px 16px 20px;
  }

  .communication-notice-confirmation.is-action-required{
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:14px!important;
  }

  .communication-notice-confirm-button{
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    padding:11px 14px!important;
    font-size:14px!important;
  }

  .communication-notice-confirmation.is-confirmed{
    grid-template-columns:34px minmax(0,1fr)!important;
    padding:11px 12px!important;
  }

  .communication-notice-confirmed-icon{
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    min-height:32px!important;
  }
}

/* ==========================================================================
 * v1.2.0-fix290 本部メニュー管理UI全面改修
 * ========================================================================== */
.company-menu-fix290{display:grid;gap:18px;padding-bottom:92px}
.company-menu-fix290-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.company-menu-fix290-tabs button{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:58px;padding:12px 14px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--muted);font-weight:900;text-align:left;cursor:pointer}
.company-menu-fix290-tabs button b{display:grid;place-items:center;min-width:30px;height:30px;padding:0 8px;border-radius:999px;background:var(--soft);color:var(--text)}
.company-menu-fix290-tabs button.active{border-color:var(--primary);background:#f2fbf5;color:var(--text);box-shadow:inset 0 0 0 1px var(--primary)}
.company-menu-fix290-tabs button.active b{background:var(--primary);color:#fff}
.company-menu-fix290-auto-note{display:flex;align-items:flex-start;gap:12px;padding:15px 17px;border:1px solid #b9dfd0;border-radius:15px;background:#f2fbf7}
.company-menu-fix290-auto-note>span{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;background:#18845e;color:#fff;font-weight:1000}
.company-menu-fix290-auto-note b,.company-menu-fix290-auto-note p{margin:0}
.company-menu-fix290-auto-note p{margin-top:4px;color:#46655a;font-size:13px;line-height:1.65}
.company-menu-fix290-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-top:4px}
.company-menu-fix290-section-head>div:last-child{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.company-menu-fix290-section-head h2,.company-menu-fix290-section-head p{margin:0}
.company-menu-fix290-section-head h2{margin-top:4px;font-size:clamp(24px,3vw,34px)}
.company-menu-fix290-section-head p{margin-top:5px;color:var(--muted)}
.company-menu-fix290-eyebrow{display:block;color:var(--primary);font-size:10px;font-weight:1000;letter-spacing:.12em}
.company-menu-fix290-toolbar{display:grid;grid-template-columns:minmax(240px,2fr) repeat(3,minmax(150px,1fr)) auto;gap:10px;align-items:end;padding:14px}
.company-menu-fix290-toolbar label{display:grid;gap:5px}
.company-menu-fix290-toolbar label>span{color:var(--muted);font-size:11px;font-weight:900}
.company-menu-fix290-search{min-width:0}
.company-menu-fix290-result-head{display:flex;align-items:center;gap:8px;margin:4px 0 10px}
.company-menu-fix290-result-head b{font-size:18px}
.company-menu-fix290-result-head span{color:var(--muted);font-size:12px}
.company-menu-fix290-list,.company-menu-fix290-manage-list{display:grid;gap:11px}
.company-menu-fix290-product-card{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:15px;align-items:center;padding:14px}
.company-menu-fix290-product-media{display:grid;place-items:center;width:92px;height:92px;border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#f2f1ec;font-size:32px}
.company-menu-fix290-product-media img{width:100%;height:100%;object-fit:cover}
.company-menu-fix290-product-copy{display:grid;gap:9px;min-width:0}
.company-menu-fix290-product-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.company-menu-fix290-product-title h3{margin:3px 0 0;font-size:19px;line-height:1.35;overflow-wrap:anywhere}
.company-menu-fix290-product-title>strong{white-space:nowrap;font-size:19px}
.company-menu-fix290-chips{display:flex;gap:6px;flex-wrap:wrap}
.company-menu-fix290-chip{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;background:#eaf5ed;color:#176b3a;font-size:11px;font-weight:900}
.company-menu-fix290-chip.muted{background:#ecece8;color:#666}
.company-menu-fix290-chip.accent{background:#fff3d2;color:#765000}
.company-menu-fix290-product-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0}
.company-menu-fix290-product-meta>div{min-width:0;padding:8px 9px;border-radius:9px;background:var(--soft)}
.company-menu-fix290-product-meta dt{color:var(--muted);font-size:10px;font-weight:800}
.company-menu-fix290-product-meta dd{margin:3px 0 0;font-size:12px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.company-menu-fix290-option-summary{margin:0;color:var(--muted);font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.company-menu-fix290-product-actions{display:grid;gap:7px;min-width:142px}
.company-menu-fix290-product-actions .btn,.company-menu-fix290-product-actions .state-btn{width:100%;justify-content:center}
.company-menu-fix290-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:16px 0}
.company-menu-fix290-pagination span{font-weight:900}
.company-menu-fix290-manage-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px;align-items:center;padding:15px}
.company-menu-fix290-manage-row h3,.company-menu-fix290-manage-row p{margin:0}
.company-menu-fix290-manage-row h3{margin-top:4px}
.company-menu-fix290-manage-row p{margin-top:4px;color:var(--muted)}
.company-menu-fix290-row-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.company-menu-fix290-option-row{display:grid;gap:13px;padding:15px}
.company-menu-fix290-option-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.company-menu-fix290-option-head h3,.company-menu-fix290-option-head p{margin:0}
.company-menu-fix290-option-head h3{margin-top:4px}
.company-menu-fix290-option-head p{margin-top:4px;color:var(--muted)}
.company-menu-fix290-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.company-menu-fix290-choice-item{display:grid;grid-template-columns:minmax(0,1fr) auto;border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}
.company-menu-fix290-choice-edit{display:grid;gap:3px;padding:10px;border:0;background:transparent;text-align:left;cursor:pointer}
.company-menu-fix290-choice-edit:hover{background:var(--soft)}
.company-menu-fix290-choice-edit span{color:var(--muted);font-size:11px}
.company-menu-fix290-choice-end{align-self:stretch;border:0;border-left:1px solid var(--line);background:#fff7f6;color:var(--danger);font-weight:900;cursor:pointer;padding:8px 10px}
.company-menu-fix290-choice-end:hover{background:#ffe8e5}
.company-menu-fix290-modal{z-index:150}
.company-menu-fix290-editor-sheet{display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:min(1040px,100%);max-height:94dvh;padding:0;overflow:hidden}
.company-menu-fix290-editor-head,.company-menu-fix290-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid var(--line)}
.company-menu-fix290-editor-head h2,.company-menu-fix290-editor-head p,.company-menu-fix290-sheet-head h2,.company-menu-fix290-sheet-head p{margin:0}
.company-menu-fix290-editor-head h2,.company-menu-fix290-sheet-head h2{margin-top:4px}
.company-menu-fix290-editor-head p,.company-menu-fix290-sheet-head p{margin-top:4px;color:var(--muted)}
.company-menu-fix290-editor-body{display:grid;gap:14px;padding:18px 22px;overflow:auto;background:#f6f5f1}
.company-menu-fix290-form-section{display:grid;gap:14px;padding:18px;border:1px solid var(--line);border-radius:17px;background:#fff}
.company-menu-fix290-form-title{display:flex;align-items:flex-start;gap:11px}
.company-menu-fix290-form-title>b{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;background:var(--primary);color:#fff}
.company-menu-fix290-form-title h3,.company-menu-fix290-form-title p{margin:0}
.company-menu-fix290-form-title p{margin-top:3px;color:var(--muted);font-size:12px}
.company-menu-fix290-basic-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px}
.company-menu-fix290-image-panel{display:grid;align-content:start;gap:9px}
.company-menu-fix290-image-current,.company-menu-fix290-image-empty{display:grid;place-items:center;min-height:180px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#f3f2ed;color:var(--muted);font-weight:800}
.company-menu-fix290-image-current img{width:100%;height:180px;object-fit:cover}
.company-menu-fix290-image-current label{display:flex;align-items:center;gap:7px;width:100%;padding:9px;background:#fff}
.company-menu-fix290-file{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--primary);font-weight:900;cursor:pointer}
.company-menu-fix290-file input{position:absolute;width:1px;height:1px;opacity:0}
.company-menu-fix290-switch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.company-menu-fix290-switch-grid label,.company-menu-fix290-single-switch{display:flex;align-items:flex-start;gap:10px;min-height:68px;padding:11px;border:1px solid var(--line);border-radius:12px;background:var(--soft);cursor:pointer}
.company-menu-fix290-switch-grid input,.company-menu-fix290-single-switch input{width:21px;height:21px;flex:0 0 auto}
.company-menu-fix290-switch-grid span,.company-menu-fix290-single-switch span{display:grid;gap:3px}
.company-menu-fix290-switch-grid small,.company-menu-fix290-single-switch small{color:var(--muted)}
.company-menu-fix290-editor-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 22px calc(14px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;box-shadow:0 -8px 24px rgba(0,0,0,.06)}
.company-menu-fix290-editor-footer .btn{min-width:150px}
.company-menu-fix290-editor-footer.inline{margin:16px -18px -18px;padding:14px 18px;box-shadow:none}
.company-menu-fix290-option-tools{display:flex;justify-content:flex-end}
.company-menu-fix290-application{margin:0;background:#fafaf7}
.company-menu-fix290-store-picker{display:grid;gap:10px}
.company-menu-fix290-store-picker-tools{display:grid;grid-template-columns:minmax(180px,1fr) auto auto auto;gap:8px;align-items:center}
.company-menu-fix290-store-picker-tools b{white-space:nowrap;font-size:12px}
.company-menu-fix290-store-picker .company-menu-application-stores{max-height:310px;overflow:auto;padding-right:3px}
.company-menu-fix290-store-prices>summary{display:flex;align-items:center;justify-content:space-between;gap:10px}
.company-menu-fix290-store-prices>summary span{color:var(--muted);font-size:11px}
.company-menu-fix290-store-price-tools{display:flex;align-items:center;gap:10px;margin-top:10px}
.company-menu-fix290-store-price-tools .input{flex:1}
.company-menu-fix290-store-price-tools label{display:flex;align-items:center;gap:7px;white-space:nowrap}
.company-menu-fix290-store-price-list{display:grid;gap:9px;max-height:390px;overflow:auto;padding-right:3px}
.company-menu-fix290-store-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:11px;background:var(--soft);text-align:left;cursor:pointer}
.company-menu-fix290-store-summary span{display:grid;gap:2px}
.company-menu-fix290-store-summary small{color:var(--muted)}
.company-menu-fix290-store-summary strong{color:var(--primary);white-space:nowrap}
.company-menu-fix290-store-status-sheet{display:grid;gap:13px;width:min(760px,100%);max-height:90dvh;padding:0 18px 18px;overflow:auto}
.company-menu-fix290-store-status-sheet>.company-menu-fix290-sheet-head{margin:0 -18px;padding-left:18px;padding-right:18px}
.company-menu-fix290-store-status-list{display:grid;gap:7px}
.company-menu-fix290-store-status-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;border:1px solid var(--line);border-radius:11px;background:#fff}
.company-menu-fix290-store-status-list article>span{display:grid;gap:2px}
.company-menu-fix290-store-status-list small{color:var(--muted)}
.company-menu-fix290-small-sheet,.company-menu-fix290-item-sheet{display:grid;gap:15px;width:min(760px,100%);max-height:92dvh;padding:0 18px 18px;overflow:auto}
.company-menu-fix290-small-sheet>.company-menu-fix290-sheet-head,.company-menu-fix290-item-sheet>.company-menu-fix290-sheet-head{margin:0 -18px}
.company-menu-fix290-small-sheet .company-menu-application{margin-top:2px}
@media(max-width:980px){
  .company-menu-fix290-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .company-menu-fix290-toolbar .company-menu-fix290-search{grid-column:1/-1}
  .company-menu-fix290-product-card{grid-template-columns:78px minmax(0,1fr)}
  .company-menu-fix290-product-media{width:78px;height:78px}
  .company-menu-fix290-product-actions{grid-column:1/-1;display:flex;min-width:0}
  .company-menu-fix290-product-actions>*{flex:1}
  .company-menu-fix290-product-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .company-menu-fix290{gap:14px;padding-bottom:76px}
  .company-menu-fix290-tabs{position:sticky;top:0;z-index:6;padding:8px 0;background:var(--bg)}
  .company-menu-fix290-tabs button{min-height:52px;padding:10px}
  .company-menu-fix290-section-head,.company-menu-fix290-option-head{display:grid;align-items:stretch}
  .company-menu-fix290-section-head>div:last-child,.company-menu-fix290-row-actions{display:grid;grid-template-columns:1fr 1fr}
  .company-menu-fix290-section-head .btn,.company-menu-fix290-section-head .state-btn{width:100%}
  .company-menu-fix290-toolbar{grid-template-columns:1fr;padding:12px}
  .company-menu-fix290-toolbar .company-menu-fix290-search{grid-column:auto}
  .company-menu-fix290-product-card{grid-template-columns:68px minmax(0,1fr);padding:12px}
  .company-menu-fix290-product-media{width:68px;height:68px}
  .company-menu-fix290-product-title{display:grid;gap:4px}
  .company-menu-fix290-product-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
  .company-menu-fix290-product-actions{display:grid;grid-template-columns:1fr 1fr}
  .company-menu-fix290-product-actions .danger{grid-column:1/-1}
  .company-menu-fix290-manage-row{grid-template-columns:1fr}
  .company-menu-fix290-choice-grid{grid-template-columns:1fr}
  .company-menu-fix290-editor-sheet{width:100%;height:100dvh;max-height:100dvh;border-radius:0}
  .company-menu-fix290-editor-head{padding:16px}
  .company-menu-fix290-editor-body{padding:12px}
  .company-menu-fix290-form-section{padding:14px}
  .company-menu-fix290-basic-layout{grid-template-columns:1fr}
  .company-menu-fix290-image-current,.company-menu-fix290-image-empty{min-height:150px}
  .company-menu-fix290-image-current img{height:170px}
  .company-menu-fix290-switch-grid{grid-template-columns:1fr}
  .company-menu-fix290-editor-footer{display:grid;grid-template-columns:1fr 1fr;padding:11px 12px calc(11px + env(safe-area-inset-bottom))}
  .company-menu-fix290-editor-footer .btn{width:100%;min-width:0;min-height:50px}
  .company-menu-fix290-editor-footer.inline{margin:14px -14px -14px;padding:12px 14px}
  .company-menu-fix290-store-picker-tools{grid-template-columns:1fr 1fr}
  .company-menu-fix290-store-picker-tools .input,.company-menu-fix290-store-picker-tools b{grid-column:1/-1}
  .company-menu-fix290-store-price-tools{display:grid}
  .company-menu-fix290-store-status-list article{align-items:stretch;display:grid}
  .company-menu-fix290-store-status-list .state-btn{width:100%;min-height:46px}
}
@media(max-width:480px){
  .company-menu-fix290-tabs button{display:grid;justify-items:center;text-align:center}
  .company-menu-fix290-tabs button b{min-width:26px;height:26px}
  .company-menu-fix290-product-card{grid-template-columns:56px minmax(0,1fr)}
  .company-menu-fix290-product-media{width:56px;height:56px;border-radius:11px;font-size:24px}
  .company-menu-fix290-product-meta{grid-template-columns:1fr 1fr}
  .company-menu-fix290-product-actions{grid-template-columns:1fr}
  .company-menu-fix290-product-actions .danger{grid-column:auto}
  .company-menu-fix290-section-head>div:last-child,.company-menu-fix290-row-actions{grid-template-columns:1fr}
}

.company-menu-fix290-archive-sheet{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(980px,100%);max-height:92dvh;padding:0;overflow:hidden}
.company-menu-fix290-archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding:18px;overflow:auto;background:#f6f5f1}
.company-menu-fix290-archive-card{display:grid;gap:13px;align-content:start}
.company-menu-fix290-archive-card h3,.company-menu-fix290-archive-card p{margin:0}
.company-menu-fix290-archive-card h3{margin-top:7px}
.company-menu-fix290-archive-card p{margin-top:4px;color:var(--muted)}
.company-menu-fix290-archive-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}
.company-menu-fix290-archive-card dl>div{padding:9px;border-radius:9px;background:var(--soft)}
.company-menu-fix290-archive-card dt{color:var(--muted);font-size:10px}
.company-menu-fix290-archive-card dd{margin:3px 0 0;font-weight:900}
.company-menu-fix290-archive-card .btn{margin-top:auto}
@media(max-width:720px){.company-menu-fix290-archive-sheet{width:100%;height:100dvh;max-height:100dvh;border-radius:0}.company-menu-fix290-archive-grid{grid-template-columns:1fr;padding:12px}.company-menu-fix290-archive-card dl{grid-template-columns:1fr}}

/* v1.2.0-fix290 end */

/* v1.2.0-fix290 差分監査補正 */
.company-menu-fix290-inline-sync-warning{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border:1px solid #efb4ae;border-radius:14px;background:#fff5f4;color:#7d211b}
.company-menu-fix290-inline-sync-warning b,.company-menu-fix290-inline-sync-warning p{margin:0}
.company-menu-fix290-inline-sync-warning p{margin-top:3px;font-size:12px;line-height:1.55}
.company-menu-fix290-inline-sync-warning.success{border-color:#9dd4ad;background:#f1fbf4;color:#176b3a}
@media(max-width:700px){.company-menu-fix290-inline-sync-warning{align-items:stretch;display:grid}.company-menu-fix290-inline-sync-warning .state-btn{width:100%;min-height:46px}}

/* v1.2.0-fix290 最終UI監査補正 */
.company-menu-fix290-editor-head>.tab,
.company-menu-fix290-sheet-head>.tab{
  flex:0 0 auto;
  min-width:72px;
  white-space:nowrap;
}

/* ==========================================================================
 * v1.2.0-fix290 大量データ対応UI補正
 * ========================================================================== */
.company-menu-fix290-scale-product-toolbar{grid-template-columns:minmax(260px,2fr) repeat(4,minmax(135px,1fr)) auto}
.company-menu-fix290-scale-toolbar{display:grid;grid-template-columns:minmax(260px,2fr) minmax(170px,1fr) minmax(140px,.7fr);gap:10px;align-items:end;padding:14px}
.company-menu-fix290-scale-toolbar label{display:grid;gap:5px}
.company-menu-fix290-scale-toolbar label>span{color:var(--muted);font-size:11px;font-weight:900}
.company-menu-fix290-scale-search{min-width:0}
.company-menu-fix290-scale-resultbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:5px 0 10px}
.company-menu-fix290-scale-resultbar>div{display:flex;align-items:baseline;gap:6px}
.company-menu-fix290-scale-resultbar b{font-size:17px}
.company-menu-fix290-scale-resultbar span{color:var(--muted);font-size:12px}
.company-menu-fix290-scale-resultbar label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;font-weight:900}
.company-menu-fix290-scale-resultbar select{min-width:92px;height:38px;padding:5px 9px}
.company-menu-fix290-scale-product-table{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:visible}
.company-menu-fix290-scale-product-head,.company-menu-fix290-scale-product-row{display:grid;grid-template-columns:minmax(280px,2fr) 118px minmax(130px,1fr) 92px 96px 132px;gap:12px;align-items:center}
.company-menu-fix290-scale-product-head{padding:10px 13px;border-bottom:1px solid var(--line);border-radius:16px 16px 0 0;background:#f2f1ec;color:var(--muted);font-size:10px;font-weight:1000;letter-spacing:.04em}
.company-menu-fix290-scale-product-body{display:grid}
.company-menu-fix290-scale-product-row{position:relative;min-height:70px;padding:10px 13px;border-bottom:1px solid var(--line)}
.company-menu-fix290-scale-product-row:last-child{border-bottom:0}
.company-menu-fix290-scale-product-row:hover{background:#fcfcf9}
.company-menu-fix290-scale-product-main{display:grid;grid-template-columns:48px minmax(0,1fr);gap:11px;align-items:center;min-width:0;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}
.company-menu-fix290-scale-thumb{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:#f2f1ec;font-size:22px}
.company-menu-fix290-scale-thumb img{width:100%;height:100%;object-fit:cover}
.company-menu-fix290-scale-product-name{display:grid;gap:2px;min-width:0}
.company-menu-fix290-scale-product-name small,.company-menu-fix290-scale-product-name em{overflow:hidden;color:var(--muted);font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.company-menu-fix290-scale-product-name b{overflow:hidden;font-size:14px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.company-menu-fix290-scale-cell{display:grid;gap:2px;min-width:0}
.company-menu-fix290-scale-cell strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.company-menu-fix290-scale-cell small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.company-menu-fix290-scale-status{display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:3px 8px;border-radius:999px;background:#eaf5ed;color:#176b3a;font-size:10px;font-weight:1000;white-space:nowrap}
.company-menu-fix290-scale-status.muted{background:#ecece8;color:#666}
.company-menu-fix290-scale-actions{display:grid;grid-template-columns:minmax(70px,1fr) 42px;gap:6px;align-items:center}
.company-menu-fix290-scale-actions>.state-btn{min-height:38px;padding:7px 9px}
.company-menu-fix290-scale-actions details{position:relative}
.company-menu-fix290-scale-actions summary{display:grid;place-items:center;min-height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--text);font-weight:1000;cursor:pointer;list-style:none}
.company-menu-fix290-scale-actions summary::-webkit-details-marker{display:none}
.company-menu-fix290-scale-actions details>div{position:absolute;right:0;z-index:20;display:grid;gap:4px;width:190px;margin-top:5px;padding:7px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 14px 32px rgba(0,0,0,.16)}
.company-menu-fix290-scale-actions details button{width:100%;min-height:39px;padding:8px 10px;border:0;border-radius:8px;background:transparent;text-align:left;font-weight:900;cursor:pointer}
.company-menu-fix290-scale-actions details button:hover{background:var(--soft)}
.company-menu-fix290-scale-actions details button.danger{color:var(--danger)}
.company-menu-fix290-scale-pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin:15px 0}
.company-menu-fix290-scale-pagination>div{display:flex;gap:5px}
.company-menu-fix290-scale-pagination button{display:grid;place-items:center;min-width:38px;min-height:38px;padding:6px 9px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--text);font-weight:900;cursor:pointer}
.company-menu-fix290-scale-pagination button.active{border-color:var(--primary);background:var(--primary);color:#fff}
.company-menu-fix290-scale-pagination button:disabled{cursor:not-allowed;opacity:.42}
.company-menu-fix290-scale-category-list{display:grid;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}
.company-menu-fix290-scale-category-row{display:grid;grid-template-columns:minmax(0,1fr) 74px auto;gap:14px;align-items:center;min-height:67px;padding:10px 13px;border-bottom:1px solid var(--line)}
.company-menu-fix290-scale-category-row:last-child{border-bottom:0}
.company-menu-fix290-scale-category-row.child{padding-left:34px}
.company-menu-fix290-scale-category-row.child:before{content:'↳';position:absolute;margin-left:-20px;color:var(--muted)}
.company-menu-fix290-scale-category-copy{display:grid;gap:2px;min-width:0}
.company-menu-fix290-scale-category-copy small,.company-menu-fix290-scale-category-copy span{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.company-menu-fix290-scale-category-copy b{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.company-menu-fix290-scale-category-order{display:grid;gap:1px;text-align:center}
.company-menu-fix290-scale-category-order small{color:var(--muted);font-size:9px}
.company-menu-fix290-scale-category-order b{font-size:13px}
.company-menu-fix290-scale-row-actions{display:flex;gap:6px;justify-content:flex-end}
.company-menu-fix290-scale-row-actions .state-btn,.company-menu-fix290-scale-row-actions .btn{min-height:38px;padding:7px 10px}
.company-menu-fix290-scale-option-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:13px;align-items:start}
.company-menu-fix290-scale-option-layout>aside{display:grid;gap:8px;min-width:0}
.company-menu-fix290-scale-group-list{display:grid;border:1px solid var(--line);border-radius:15px;background:#fff;overflow:hidden}
.company-menu-fix290-scale-group-row{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;gap:9px;align-items:center;min-height:66px;padding:10px 11px;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left;cursor:pointer}
.company-menu-fix290-scale-group-row:last-child{border-bottom:0}
.company-menu-fix290-scale-group-row:hover{background:#f8faf8}
.company-menu-fix290-scale-group-row.active{background:#eff9f2;box-shadow:inset 4px 0 0 var(--primary)}
.company-menu-fix290-scale-group-row>span{display:grid;gap:2px;min-width:0}
.company-menu-fix290-scale-group-row>span:nth-child(2){text-align:right}
.company-menu-fix290-scale-group-row b,.company-menu-fix290-scale-group-row strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.company-menu-fix290-scale-group-row small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.company-menu-fix290-scale-group-row em{color:var(--primary);font-size:22px;font-style:normal}
.company-menu-fix290-scale-option-detail{display:grid;gap:12px;min-width:0;padding:14px}
.company-menu-fix290-scale-option-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;padding-bottom:11px;border-bottom:1px solid var(--line)}
.company-menu-fix290-scale-option-detail-head h3,.company-menu-fix290-scale-option-detail-head p{margin:0}
.company-menu-fix290-scale-option-detail-head h3{margin-top:3px;font-size:20px}
.company-menu-fix290-scale-option-detail-head p,.company-menu-fix290-scale-option-detail-head small{color:var(--muted);font-size:11px}
.company-menu-fix290-scale-option-detail-head>div:last-child{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.company-menu-fix290-scale-item-toolbar{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(140px,.8fr) minmax(120px,.6fr);gap:8px}
.company-menu-fix290-scale-item-toolbar label{display:grid;gap:4px}
.company-menu-fix290-scale-item-toolbar label>span{color:var(--muted);font-size:10px;font-weight:900}
.company-menu-fix290-scale-item-list{display:grid;border:1px solid var(--line);border-radius:13px;overflow:hidden}
.company-menu-fix290-scale-item-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;min-height:54px;border-bottom:1px solid var(--line);background:#fff}
.company-menu-fix290-scale-item-list>article:last-child{border-bottom:0}
.company-menu-fix290-scale-item-list>article>button:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:9px 11px;border:0;background:#fff;text-align:left;cursor:pointer}
.company-menu-fix290-scale-item-list>article>button:first-child:hover{background:var(--soft)}
.company-menu-fix290-scale-item-list>article>button:first-child span{display:grid;gap:2px;min-width:0}
.company-menu-fix290-scale-item-list b,.company-menu-fix290-scale-item-list strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.company-menu-fix290-scale-item-list small{color:var(--muted);font-size:9px}
.company-menu-fix290-scale-item-end{min-width:62px;border:0;border-left:1px solid var(--line);background:#fff7f6;color:var(--danger);font-weight:1000;cursor:pointer}
.company-menu-fix290-scale-item-end:hover{background:#ffe8e5}
.company-menu-fix290-scale-ended{display:grid;place-items:center;min-width:72px;border-left:1px solid var(--line);background:#f2f1ec;color:var(--muted);font-size:10px;font-weight:900}
@media(max-width:1180px){
  .company-menu-fix290-scale-product-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}
  .company-menu-fix290-scale-product-toolbar .company-menu-fix290-search{grid-column:1/-1}
  .company-menu-fix290-scale-product-head,.company-menu-fix290-scale-product-row{grid-template-columns:minmax(240px,2fr) 105px minmax(120px,1fr) 84px 90px 118px}
}
@media(max-width:930px){
  .company-menu-fix290-scale-product-head{display:none}
  .company-menu-fix290-scale-product-row{grid-template-columns:minmax(250px,1fr) repeat(2,minmax(110px,.45fr)) 120px;gap:9px}
  .company-menu-fix290-scale-product-main{grid-row:1/3}
  .company-menu-fix290-scale-cell[data-label='オプション'],.company-menu-fix290-scale-cell[data-label='状態']{align-self:start}
  .company-menu-fix290-scale-actions{grid-column:4;grid-row:1/3}
  .company-menu-fix290-scale-option-layout{grid-template-columns:minmax(230px,290px) minmax(0,1fr)}
}
@media(max-width:720px){
  .company-menu-fix290-scale-product-toolbar,.company-menu-fix290-scale-toolbar{grid-template-columns:1fr}
  .company-menu-fix290-scale-product-toolbar .company-menu-fix290-search{grid-column:auto}
  .company-menu-fix290-scale-resultbar{align-items:stretch;display:grid}
  .company-menu-fix290-scale-resultbar label{justify-content:space-between}
  .company-menu-fix290-scale-product-table{border-radius:13px}
  .company-menu-fix290-scale-product-row{grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:11px}
  .company-menu-fix290-scale-product-main{grid-column:1/-1;grid-row:auto}
  .company-menu-fix290-scale-cell{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 0;border-top:1px dashed var(--line)}
  .company-menu-fix290-scale-cell:before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:900}
  .company-menu-fix290-scale-cell strong,.company-menu-fix290-scale-cell small{white-space:normal;text-align:right}
  .company-menu-fix290-scale-cell[data-label='オプション'],.company-menu-fix290-scale-cell[data-label='状態']{align-self:auto}
  .company-menu-fix290-scale-actions{grid-column:1/-1;grid-row:auto;grid-template-columns:minmax(0,1fr) 48px}
  .company-menu-fix290-scale-actions details>div{right:0;width:min(240px,calc(100vw - 36px))}
  .company-menu-fix290-scale-category-row{grid-template-columns:minmax(0,1fr) 58px;padding:11px}
  .company-menu-fix290-scale-category-row.child{padding-left:29px}
  .company-menu-fix290-scale-row-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
  .company-menu-fix290-scale-row-actions>*{width:100%}
  .company-menu-fix290-scale-option-layout{grid-template-columns:1fr}
  .company-menu-fix290-scale-option-detail{scroll-margin-top:74px}
  .company-menu-fix290-scale-option-detail-head{display:grid}
  .company-menu-fix290-scale-option-detail-head>div:last-child{display:grid;grid-template-columns:1fr 1fr}
  .company-menu-fix290-scale-option-detail-head>div:last-child>*{width:100%}
  .company-menu-fix290-scale-option-detail-head>div:last-child .danger{grid-column:1/-1}
  .company-menu-fix290-scale-item-toolbar{grid-template-columns:1fr}
  .company-menu-fix290-scale-pagination{justify-content:space-between}
  .company-menu-fix290-scale-pagination>div{display:none}
}
@media(max-width:430px){
  .company-menu-fix290-scale-thumb{width:44px;height:44px}
  .company-menu-fix290-scale-product-main{grid-template-columns:44px minmax(0,1fr)}
  .company-menu-fix290-scale-category-row{grid-template-columns:minmax(0,1fr) 50px}
  .company-menu-fix290-scale-row-actions{grid-template-columns:1fr}
  .company-menu-fix290-scale-option-detail-head>div:last-child{grid-template-columns:1fr}
  .company-menu-fix290-scale-option-detail-head>div:last-child .danger{grid-column:auto}
  .company-menu-fix290-scale-item-list>article>button:first-child{align-items:flex-start;display:grid}
  .company-menu-fix290-scale-item-list>article>button:first-child strong{white-space:normal}
}
/* v1.2.0-fix290 大量データ対応UI補正 end */
/* v1.2.0-fix291 Phase1 */
.company-menu-fix291 .company-menu-fix290-tabs{overflow-x:auto;scrollbar-width:thin;justify-content:flex-start}
.company-menu-fix291-code{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border:1px solid #d6dde7;border-radius:999px;background:#f7f9fc;color:#526173;font:700 11px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.02em;white-space:nowrap}
.company-menu-fix291-summary,.company-menu-fix291-import-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}
.company-menu-fix291-summary article,.company-menu-fix291-import-summary article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border:1px solid #e2e7ef;border-radius:16px;background:#fff}
.company-menu-fix291-summary span,.company-menu-fix291-import-summary span{font-size:13px;color:#687588}.company-menu-fix291-summary b,.company-menu-fix291-import-summary b{font-size:24px;color:#172033}
.company-menu-fix291-group-list{display:grid;gap:14px}.company-menu-fix291-group-card{padding:20px}.company-menu-fix291-group-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:24px}.company-menu-fix291-group-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.company-menu-fix291-group-title h3{width:100%;margin:4px 0 0;font-size:21px}.company-menu-fix291-group-title p{width:100%;margin:2px 0 0;color:#697587}.company-menu-fix291-status{display:inline-flex;padding:4px 9px;border-radius:999px;font-size:12px;font-weight:800}.company-menu-fix291-status.active{background:#e9f8ef;color:#16733c}.company-menu-fix291-status.scheduled{background:#eef4ff;color:#315fa8}.company-menu-fix291-status.paused{background:#fff4dd;color:#8a5a00}.company-menu-fix291-status.ended{background:#f2f3f5;color:#66707c}.company-menu-fix291-group-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.company-menu-fix291-group-card dl div{padding:10px 12px;border-radius:12px;background:#f7f9fc}.company-menu-fix291-group-card dt{font-size:11px;color:#728094}.company-menu-fix291-group-card dd{margin:3px 0 0;font-weight:750;color:#263247}.company-menu-fix291-group-products{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid #edf0f4}.company-menu-fix291-group-products span{padding:5px 9px;border-radius:9px;background:#f2f6fb;font-size:12px;color:#46546a}.company-menu-fix291-group-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}
.company-menu-fix291-group-editor,.company-menu-fix291-import-sheet{width:min(1080px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto}.company-menu-fix291-scope-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}.company-menu-fix291-scope-options label,.company-menu-fix291-check-grid label{display:flex;gap:11px;align-items:flex-start;padding:13px;border:1px solid #dfe5ed;border-radius:13px;background:#fff;cursor:pointer}.company-menu-fix291-scope-options label:has(input:checked),.company-menu-fix291-check-grid label:has(input:checked){border-color:#4f79b6;background:#f3f7ff;box-shadow:0 0 0 2px rgba(79,121,182,.1)}.company-menu-fix291-scope-options input,.company-menu-fix291-check-grid input{margin-top:3px;accent-color:#315fa8}.company-menu-fix291-scope-options span,.company-menu-fix291-check-grid span{display:grid;gap:3px;min-width:0}.company-menu-fix291-scope-options small,.company-menu-fix291-check-grid small{color:#748094}.company-menu-fix291-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:330px;overflow:auto;padding:2px}.company-menu-fix291-check-grid.products{grid-template-columns:repeat(2,minmax(0,1fr));max-height:440px}.company-menu-fix291-filter{display:grid;gap:6px;margin-bottom:10px}.company-menu-fix291-allergens{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.company-menu-fix291-allergens article{display:grid;grid-template-columns:minmax(0,1fr) 170px;align-items:center;gap:12px;padding:11px 12px;border:1px solid #e1e6ed;border-radius:12px}.company-menu-fix291-allergens article div{display:grid;gap:2px}.company-menu-fix291-allergens small{font-size:11px;color:#768297}
.company-menu-fix291-csv-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:16px}.company-menu-fix291-csv-upload,.company-menu-fix291-csv-spec{padding:22px}.company-menu-fix291-csv-upload{display:grid;gap:16px}.company-menu-fix291-csv-upload>label:not(.company-menu-fix291-file-drop){display:grid;gap:6px}.company-menu-fix291-file-drop{display:grid;place-items:center;min-height:150px;padding:20px;border:2px dashed #b7c3d2;border-radius:16px;background:#f8fafc;text-align:center;cursor:pointer}.company-menu-fix291-file-drop:hover{border-color:#5579aa;background:#f3f7fd}.company-menu-fix291-file-drop input{position:absolute;width:1px;height:1px;opacity:0}.company-menu-fix291-file-drop span{font-size:17px;font-weight:800}.company-menu-fix291-file-drop small{margin-top:4px;color:#748094}.company-menu-fix291-selected-files{display:grid;gap:6px}.company-menu-fix291-selected-files>span{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border-radius:9px;background:#f2f5f9}.company-menu-fix291-csv-spec>div{display:grid;gap:7px;margin-top:14px}.company-menu-fix291-csv-spec article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #e2e7ed;border-radius:10px}.company-menu-fix291-csv-spec article>span{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.company-menu-fix291-csv-spec a{font-size:12px;font-weight:750}.company-menu-fix291-recent{margin-top:22px}.company-menu-fix291-history-list{display:grid;gap:8px}.company-menu-fix291-history-list>button{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:18px;width:100%;padding:14px 16px;border:1px solid #e1e6ed;border-radius:13px;background:#fff;text-align:left}.company-menu-fix291-history-list>button:hover{border-color:#9aabc1;background:#f8fafc}.company-menu-fix291-history-list span{display:grid;gap:3px}.company-menu-fix291-history-list small{color:#758196}.company-menu-fix291-history-list strong{color:#315fa8}.company-menu-fix291-import-summary{grid-template-columns:repeat(5,minmax(0,1fr));padding:18px}.company-menu-fix291-import-summary article{display:grid;gap:4px;padding:12px}.company-menu-fix291-import-summary article.danger{background:#fff3f2;border-color:#edbbb6}.company-menu-fix291-errors,.company-menu-fix291-diffs{margin:0 18px 18px;padding:16px;border:1px solid #e2e7ed;border-radius:15px}.company-menu-fix291-errors{background:#fff7f6;border-color:#edc3be}.company-menu-fix291-errors article,.company-menu-fix291-diffs article{display:flex;justify-content:space-between;gap:14px;padding:9px 4px;border-bottom:1px solid rgba(118,130,151,.17)}.company-menu-fix291-errors article:last-child,.company-menu-fix291-diffs article:last-child{border-bottom:0}.company-menu-fix291-diffs article>span{display:grid;gap:2px}.company-menu-fix291-diffs article strong{text-transform:uppercase;font-size:12px;color:#355f9a}.company-menu-fix291-diffs article.danger strong{color:#a6362b}
.public-product-extra{margin-top:12px}.public-product-extra details{border:1px solid #e2e6ec;border-radius:12px;background:#fafbfd}.public-product-extra summary{padding:10px 12px;font-weight:750;cursor:pointer}.public-product-extra dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 12px 12px;margin:0}.public-product-extra dl div{display:flex;justify-content:space-between;gap:8px;padding:6px 8px;border-radius:8px;background:#fff}.public-product-extra p{padding:0 12px 12px;margin:0;color:#5f6b7d;font-size:13px}
@media(max-width:900px){.company-menu-fix291-group-main,.company-menu-fix291-csv-layout{grid-template-columns:1fr}.company-menu-fix291-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.company-menu-fix291-import-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.company-menu-fix291-summary{grid-template-columns:1fr}.company-menu-fix291-summary article{padding:12px 14px}.company-menu-fix291-group-card{padding:15px}.company-menu-fix291-group-card dl,.company-menu-fix291-scope-options,.company-menu-fix291-check-grid,.company-menu-fix291-check-grid.products,.company-menu-fix291-allergens{grid-template-columns:1fr}.company-menu-fix291-allergens article{grid-template-columns:1fr}.company-menu-fix291-group-actions{display:grid;grid-template-columns:1fr}.company-menu-fix291-import-summary{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.company-menu-fix291-errors,.company-menu-fix291-diffs{margin:0 10px 12px;padding:12px}.company-menu-fix291-history-list>button{grid-template-columns:1fr 18px}.company-menu-fix291-history-list>button>span:nth-child(2){grid-column:1}.company-menu-fix291-history-list>button>em{grid-column:2;grid-row:1/3}.public-product-extra dl{grid-template-columns:1fr}}
/* v1.2.0-fix291 Phase1 end */
/* v1.2.0-fix291 UI2 active-count and compact management-code badge */
.company-menu-fix290-tabs button.active b{
  border:1px solid #b8e3cb;
  background:#dff4e7;
  color:#126b48;
}
.company-menu-fix291-code{
  width:max-content;
  max-width:100%;
  margin-bottom:2px;
  justify-self:start;
}

/* fix292 company category three-level hierarchy */
.company-menu-category-parent-field{
  display:grid;
  gap:7px
}
.company-menu-category-parent-field small{
  color:var(--muted);
  font-size:11px;
  line-height:1.65
}
.company-menu-fix290-scale-category-row{
  position:relative
}
.company-menu-fix290-scale-category-row.depth-2{
  padding-left:38px
}
.company-menu-fix290-scale-category-row.depth-3{
  padding-left:66px
}
.company-menu-fix290-scale-category-row.depth-2:before,
.company-menu-fix290-scale-category-row.depth-3:before{
  position:absolute;
  color:var(--muted);
  font-weight:900
}
.company-menu-fix290-scale-category-row.depth-2:before{
  content:'↳';
  left:17px
}
.company-menu-fix290-scale-category-row.depth-3:before{
  content:'└';
  left:44px
}
.company-menu-category-level{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin-right:6px;
  padding:2px 7px;
  border-radius:999px;
  background:var(--soft);
  color:var(--text);
  font-size:9px;
  font-weight:900;
  line-height:1.4
}
.company-menu-category-level.level-2{
  background:#eef6ff;
  color:#175b96
}
.company-menu-category-level.level-3{
  background:#f4efff;
  color:#6240a4
}
@media(max-width:720px){
  .company-menu-fix290-scale-category-row.depth-2{
    padding-left:31px
  }
  .company-menu-fix290-scale-category-row.depth-3{
    padding-left:50px
  }
  .company-menu-fix290-scale-category-row.depth-2:before{
    left:12px
  }
  .company-menu-fix290-scale-category-row.depth-3:before{
    left:31px
  }
}

/* fix293: explicit child-category creation UI */
.company-menu-category-parent-lock{
  display:grid;
  gap:8px;
}

.company-menu-category-parent-lock>span{
  font-weight:800;
}

.company-menu-category-parent-lock .input[readonly]{
  cursor:default;
  font-weight:700;
}

.company-menu-category-parent-lock small{
  color:var(--muted);
  line-height:1.6;
}

.company-menu-fix290-scale-row-actions{
  flex-wrap:wrap;
}

.company-menu-category-child-button{
  white-space:nowrap;
}

@media(max-width:760px){
  .company-menu-fix290-scale-row-actions{
    justify-content:flex-start;
    width:100%;
  }

  .company-menu-category-child-button{
    flex:1 1 auto;
  }
}

/* fix296 Stage 2B: お客様スマートフォンSquare Sandbox決済 */
.square-customer-sheet{width:min(560px,calc(100vw - 24px));max-height:min(88vh,760px);overflow:auto;padding:22px;display:grid;gap:16px}
.square-customer-head{align-items:flex-start}
.square-customer-kicker{display:block;margin-bottom:3px;color:#64748b;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.square-customer-head h2,.square-customer-sheet>h2{margin:0;color:#17252e;font-size:22px;line-height:1.35}
.square-customer-sheet>p{margin:0;color:#566874;line-height:1.7}
.square-customer-total{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border-radius:15px;background:#f2f7f9}
.square-customer-total span{color:#536873;font-weight:800}
.square-customer-total b{color:#17252e;font-size:24px}
.square-customer-methods{display:grid;gap:10px}
.square-customer-method{width:100%;min-height:82px;padding:13px;border:1px solid #d8e3e8;border-radius:16px;background:#fff;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left;cursor:pointer;transition:.18s ease}
.square-customer-method:hover:not(:disabled){border-color:#76a9bb;background:#f8fcfd;transform:translateY(-1px)}
.square-customer-method:disabled{cursor:not-allowed;opacity:.55}
.square-customer-method-icon{width:48px;height:48px;border-radius:14px;background:#eaf4f7;color:#245b6c;display:grid;place-items:center;font-size:15px;font-weight:900}
.square-customer-method>span:nth-child(2){display:grid;gap:4px;min-width:0}
.square-customer-method>span:nth-child(2)>b{color:#17252e;font-size:15px}
.square-customer-method>span:nth-child(2)>small{color:#60727d;font-size:12px;line-height:1.55}
.square-customer-method>strong{display:flex;align-items:center;gap:5px;color:#26677d;font-size:13px;white-space:nowrap}
.square-customer-method>strong i{font-size:22px;font-style:normal;line-height:1}
.square-customer-sandbox-note{padding:12px 13px;border:1px solid #fed7aa;border-radius:13px;background:#fff7ed;color:#9a3412;display:grid;gap:3px}
.square-customer-sandbox-note b{font-size:13px}
.square-customer-sandbox-note span{font-size:12px;line-height:1.55}
.square-customer-loading{min-height:220px;display:grid;place-items:center;align-content:center;gap:9px;text-align:center}
.square-customer-loading h2,.square-customer-loading p{margin:0}
.square-customer-loading p{color:#64748b}
.square-customer-spinner{display:inline-block;width:30px;height:30px;border:3px solid #d7e6eb;border-top-color:#2b7188;border-radius:50%;animation:square-customer-spin .8s linear infinite}
.square-customer-processing-mark{width:74px;height:74px;margin:2px auto 0;border-radius:50%;background:#eef7fa;display:grid;place-items:center}
.square-customer-processing-mark .square-customer-spinner{width:38px;height:38px}
.square-customer-loading-inline{display:flex;align-items:center;justify-content:center;gap:9px;color:#536873;font-weight:800}
.square-customer-loading-inline .square-customer-spinner{width:20px;height:20px;border-width:2px}
.square-customer-counter-icon{width:72px;height:72px;margin:2px auto 0;border-radius:22px;background:#eef7f2;color:#17643d;display:grid;place-items:center;font-size:25px;font-weight:900}
.square-card-container{min-height:120px;padding:14px;border:1px solid #d8e3e8;border-radius:15px;background:#fff}
.square-card-loading{min-height:90px;display:flex;align-items:center;justify-content:center;gap:9px;color:#60727d;font-weight:800}
.square-card-loading .square-customer-spinner{width:22px;height:22px;border-width:2px}
.square-card-error{padding:11px 12px;border-radius:12px;background:#fff1f2;color:#a61b31;font-size:13px;line-height:1.55;font-weight:800}
.square-card-security{padding:12px 13px;border-radius:13px;background:#f2f8f5;color:#315d48;display:grid;gap:3px}
.square-card-security b{font-size:13px}
.square-card-security span{font-size:12px;line-height:1.55}
.square-card-pay-button:disabled{opacity:.58;cursor:not-allowed}
.square-customer-no-retry{background:#fff8e7;border-color:#f1d69b;color:#795314}
@keyframes square-customer-spin{to{transform:rotate(360deg)}}
@media(max-width:640px){
  .square-customer-sheet{width:calc(100vw - 16px);max-height:92vh;padding:18px 15px;border-radius:20px 20px 0 0;align-self:end}
  .square-customer-head h2,.square-customer-sheet>h2{font-size:20px}
  .square-customer-total b{font-size:21px}
  .square-customer-method{grid-template-columns:44px minmax(0,1fr);min-height:88px}
  .square-customer-method-icon{width:44px;height:44px}
  .square-customer-method>strong{grid-column:2;justify-self:start}
}

/* ===== v1.2.0-fix307 Stage 2C1: 本部共通 放題プラン管理UI BEGIN ===== */
.fix307-stage2c-master-note{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;margin:0 0 16px;border:1px solid var(--line,#dce3ea);border-radius:16px;background:var(--panel,#fff)}
.fix307-stage2c-master-note>span{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;font-weight:800;background:#eef8f0}
.fix307-stage2c-master-note b{display:block;margin-bottom:3px}.fix307-stage2c-master-note p{margin:0;color:var(--muted,#687482);line-height:1.6}
.fix307-stage2c-plan-list{display:grid;gap:14px}.fix307-stage2c-plan-card{padding:18px}.fix307-stage2c-plan-card-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.fix307-stage2c-plan-card-head h3{margin:8px 0 4px;font-size:1.15rem}.fix307-stage2c-plan-card-head p{margin:0;color:var(--muted,#687482);line-height:1.55}.fix307-stage2c-plan-card-head>strong{white-space:nowrap;font-size:1.35rem}.fix307-stage2c-plan-card-head>strong small{font-size:.72rem;font-weight:600;color:var(--muted,#687482)}
.fix307-stage2c-plan-badges{display:flex;gap:7px;flex-wrap:wrap}.fix307-stage2c-plan-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.fix307-stage2c-plan-metrics>div{padding:10px 12px;border-radius:12px;background:var(--soft,#f6f8fa)}.fix307-stage2c-plan-metrics dt{font-size:.74rem;color:var(--muted,#687482)}.fix307-stage2c-plan-metrics dd{margin:4px 0 0;font-weight:800}.fix307-stage2c-plan-card-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.fix307-stage2c-modal{align-items:flex-start;overflow:auto;padding:18px}.fix307-stage2c-plan-editor{width:min(980px,100%);max-height:none;margin:auto}.fix307-stage2c-editor-body{display:grid;gap:14px}.fix307-stage2c-editor-body .company-menu-fix290-form-section{margin:0}.fix307-stage2c-details{margin-top:14px;border:1px solid var(--line,#dce3ea);border-radius:14px;overflow:hidden}.fix307-stage2c-details>summary{cursor:pointer;padding:13px 15px;font-weight:800;background:var(--soft,#f6f8fa)}.fix307-stage2c-details[open]>summary{border-bottom:1px solid var(--line,#dce3ea)}
.fix307-stage2c-store-select{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.fix307-stage2c-store-select label,.fix307-stage2c-check-list label{display:flex;gap:10px;align-items:flex-start;padding:11px 12px;border:1px solid var(--line,#dce3ea);border-radius:12px;background:#fff}.fix307-stage2c-store-select input,.fix307-stage2c-check-list input,.fix307-stage2c-choice-row>input[type=checkbox]{width:20px;height:20px;flex:0 0 auto;margin-top:1px}.fix307-stage2c-store-select span,.fix307-stage2c-check-list span{min-width:0}.fix307-stage2c-check-list b{display:block}.fix307-stage2c-check-list small{display:block;color:var(--muted,#687482);margin-top:2px}
.fix307-stage2c-store-price-list{display:grid;gap:8px;padding:12px}.fix307-stage2c-store-price{display:grid;grid-template-columns:minmax(160px,1fr) minmax(120px,.55fr) minmax(120px,.55fr);gap:10px;align-items:end;padding:11px;border:1px solid var(--line,#dce3ea);border-radius:12px}.fix307-stage2c-store-price>div{align-self:center}.fix307-stage2c-store-price b,.fix307-stage2c-store-price small{display:block}.fix307-stage2c-store-price small{margin-top:2px;color:var(--muted,#687482)}.fix307-stage2c-store-price label>span{display:block;font-size:.75rem;margin-bottom:4px;color:var(--muted,#687482)}
.fix307-stage2c-target-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fix307-stage2c-target-columns>article{min-width:0;border:1px solid var(--line,#dce3ea);border-radius:14px;padding:12px}.fix307-stage2c-target-columns h4{margin:0 0 9px}.fix307-stage2c-check-list{display:grid;gap:7px;max-height:280px;overflow:auto;padding-right:2px}.fix307-stage2c-check-list label:has(input:disabled){opacity:.45}.fix307-stage2c-eligibility{margin-top:12px;padding:12px;border-radius:14px;background:var(--soft,#f6f8fa)}.fix307-stage2c-eligibility>b{display:block;margin-bottom:8px}.fix307-stage2c-eligibility>div{display:flex;gap:6px;flex-wrap:wrap}.fix307-stage2c-eligibility span{display:inline-flex;padding:5px 9px;border:1px solid var(--line,#dce3ea);border-radius:999px;background:#fff;font-size:.82rem}
.fix307-stage2c-schedule-list{display:grid;gap:8px;margin-bottom:10px}.fix307-stage2c-schedule-row{display:grid;grid-template-columns:1fr 1fr 1fr auto auto auto;gap:8px;align-items:end;padding:10px;border:1px solid var(--line,#dce3ea);border-radius:12px}.fix307-stage2c-schedule-row label>span{display:block;font-size:.74rem;color:var(--muted,#687482);margin-bottom:4px}.fix307-stage2c-inline-check{display:flex!important;gap:6px;align-items:center;padding:10px 4px}.fix307-stage2c-inline-check span{margin:0!important;color:inherit!important;white-space:nowrap}.fix307-stage2c-inline-check input{width:20px;height:20px}
.fix307-stage2c-first-list,.fix307-stage2c-option-rule-list{display:grid;gap:8px}.fix307-stage2c-choice-row,.fix307-stage2c-option-rule{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(130px,.35fr);gap:10px;align-items:center;padding:11px 12px;border:1px solid var(--line,#dce3ea);border-radius:12px}.fix307-stage2c-choice-row>span b,.fix307-stage2c-choice-row>span small,.fix307-stage2c-option-rule>span b,.fix307-stage2c-option-rule>span small{display:block}.fix307-stage2c-choice-row small,.fix307-stage2c-option-rule small{margin-top:2px;color:var(--muted,#687482)}.fix307-stage2c-choice-row .compact{max-width:110px}.fix307-stage2c-option-rule{grid-template-columns:minmax(0,1fr) minmax(190px,.45fr)}
@media(max-width:820px){.fix307-stage2c-plan-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.fix307-stage2c-target-columns{grid-template-columns:1fr}.fix307-stage2c-check-list{max-height:220px}.fix307-stage2c-schedule-row{grid-template-columns:1fr 1fr}.fix307-stage2c-schedule-row>:first-child{grid-column:1/-1}.fix307-stage2c-store-price{grid-template-columns:1fr 1fr}.fix307-stage2c-store-price>div{grid-column:1/-1}.fix307-stage2c-store-select{grid-template-columns:1fr}}
@media(max-width:560px){.fix307-stage2c-modal{padding:0}.fix307-stage2c-plan-editor{width:100%;border-radius:0;min-height:100vh}.fix307-stage2c-plan-card-head{display:block}.fix307-stage2c-plan-card-head>strong{display:block;margin-top:12px}.fix307-stage2c-plan-metrics{grid-template-columns:1fr 1fr}.fix307-stage2c-plan-card-actions>*{flex:1 1 140px}.fix307-stage2c-schedule-row{grid-template-columns:1fr}.fix307-stage2c-schedule-row>:first-child{grid-column:auto}.fix307-stage2c-store-price{grid-template-columns:1fr}.fix307-stage2c-store-price>div{grid-column:auto}.fix307-stage2c-choice-row,.fix307-stage2c-option-rule{grid-template-columns:auto minmax(0,1fr)}.fix307-stage2c-choice-row .compact,.fix307-stage2c-option-rule select{grid-column:2/-1;max-width:none}.fix307-stage2c-option-rule{grid-template-columns:1fr}.fix307-stage2c-option-rule select{grid-column:auto}.fix307-stage2c-plan-summary{grid-template-columns:1fr 1fr!important}}
/* ===== v1.2.0-fix307 Stage 2C1: 本部共通 放題プラン管理UI END ===== */
/* v1.2.0-fix312 本部 店舗管理 */
.hq-store-management-page{padding-bottom:56px}
.hq-store-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:14px;align-items:stretch;margin:16px 0}
.hq-store-hero>div{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:18px}
.hq-store-hero h1{margin:5px 0 8px;font-size:clamp(24px,4vw,34px)}
.hq-store-hero p{margin:0;color:var(--muted);line-height:1.7}
.hq-store-hero .notice{margin:0;display:grid;align-content:center;gap:6px}
.hq-store-hero .notice span{font-size:13px;line-height:1.6}
.hq-store-summary{margin:14px 0}
.hq-store-filter{display:grid;grid-template-columns:minmax(240px,1fr) minmax(150px,.35fr) minmax(120px,.25fr);gap:10px;align-items:end}
.hq-store-filter label{display:grid;gap:6px;font-size:12px;font-weight:800;color:var(--muted)}
.hq-store-status-filters{display:flex;gap:8px;overflow:auto;padding:4px 0 8px}
.hq-store-status-filters .state-btn{display:flex;align-items:center;gap:8px;white-space:nowrap}
.hq-store-status-filters .state-btn.active{background:var(--ink);color:var(--card)}
.hq-store-result-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 2px;color:var(--muted);font-size:13px}
.hq-store-list{display:grid;gap:12px}
.hq-store-card{margin:0;display:grid;gap:14px}
.hq-store-card.is-deleted{opacity:.8}
.hq-store-card-head{display:flex;align-items:center;gap:12px}
.hq-store-card-head>img,.hq-store-card-head>.company-store-avatar{width:56px;height:56px;border-radius:16px;object-fit:cover;flex:0 0 56px}
.hq-store-card-head h2{margin:4px 0;font-size:20px}
.hq-store-card-head small{color:var(--muted);word-break:break-all}
.hq-store-tags{display:flex;gap:6px;flex-wrap:wrap}
.hq-store-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0}
.hq-store-facts>div{border:1px solid var(--line);border-radius:14px;padding:11px;background:var(--bg);min-width:0}
.hq-store-facts dt{font-size:11px;color:var(--muted);font-weight:800;margin-bottom:5px}
.hq-store-facts dd{margin:0;font-size:13px;font-weight:800;line-height:1.45;overflow-wrap:anywhere}
.hq-store-actions{display:flex;gap:8px;flex-wrap:wrap}
.hq-store-actions .btn{min-height:42px}
.hq-store-inactive-note{border:1px dashed var(--line);border-radius:14px;padding:12px;color:var(--muted);font-size:13px}
.hq-store-danger{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:10px}
.hq-store-danger small{color:var(--muted)}
.hq-store-pager{display:flex;justify-content:center;align-items:center;gap:12px;padding:18px 0}
@media(max-width:760px){
  .hq-store-hero{grid-template-columns:1fr}
  .hq-store-filter{grid-template-columns:1fr 1fr}
  .hq-store-filter label:first-child{grid-column:1/-1}
  .hq-store-facts{grid-template-columns:1fr 1fr}
  .hq-store-actions{display:grid;grid-template-columns:1fr 1fr}
  .hq-store-actions .btn{width:100%;padding:12px 8px}
  .hq-store-danger{align-items:flex-end;flex-direction:column}
}
@media(max-width:460px){
  .hq-store-management-page{padding-left:12px;padding-right:12px}
  .hq-store-filter{grid-template-columns:1fr}
  .hq-store-filter label:first-child{grid-column:auto}
  .hq-store-facts{grid-template-columns:1fr}
  .hq-store-actions{grid-template-columns:1fr}
  .hq-store-result-head{align-items:flex-start;flex-direction:column}
  .hq-store-card-head{align-items:flex-start}
  .hq-store-card-head>img,.hq-store-card-head>.company-store-avatar{width:48px;height:48px;flex-basis:48px}
}


/* v1.2.0-fix386 customer hierarchical category navigation */
.customer-category-nav{position:sticky;top:calc(var(--demo-banner-offset) + var(--platform-banner-offset) + 72px);z-index:4;display:grid;gap:2px;max-width:calc(100% + 36px);margin:0 -18px;padding:6px 0 9px;overflow:hidden;background:linear-gradient(180deg,rgba(250,250,247,.995) 0%,rgba(250,250,247,.985) 84%,rgba(250,250,247,0) 100%)}
.customer-category-level-block{display:grid;gap:2px;min-width:0}
.customer-category-level-label{padding:1px 18px 0;color:#77736b;font-size:10px;font-weight:900;letter-spacing:.08em}
.customer-category-nav .customer-category-tabs{position:static;top:auto;z-index:auto;display:flex;gap:8px;max-width:100%;margin:0;padding:3px 18px 5px;overflow-x:auto;overflow-y:hidden;background:transparent;scroll-padding-inline:18px;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.customer-category-nav .customer-category-tabs::-webkit-scrollbar{display:none}
.customer-category-nav .customer-category-tabs .tab{flex:0 0 auto;min-height:44px;max-width:min(320px,72vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customer-category-nav .customer-category-level-2 .tab{background:#fffdf8;border-color:#ddd5c9}
.customer-category-nav .customer-category-level-3 .tab{background:#f9fafc;border-color:#d6dce5}
.customer-category-nav .customer-category-tabs .tab:focus-visible{outline:3px solid #6a93d4;outline-offset:2px}
@media(max-width:760px){.customer-category-nav{top:calc(var(--demo-banner-offset) + var(--platform-banner-offset) + 68px);max-width:calc(100% + 32px);margin-left:-16px;margin-right:-16px}.customer-category-level-label{padding-left:16px;padding-right:16px}.customer-category-nav .customer-category-tabs{gap:7px;padding-left:16px;padding-right:16px;scroll-padding-inline:16px}.customer-category-nav .customer-category-tabs .tab{min-height:44px;max-width:76vw;padding:9px 14px;font-size:13px}}
