:root{font-family:"Malgun Gothic","Apple SD Gothic Neo",system-ui,sans-serif;color:#132b48;background:#f3f6fa;font-size:15px;line-height:1.65;color-scheme:light}
body[data-errand-mode="admin"] .hero,body[data-errand-mode="admin"] .composer,body[data-errand-mode="admin"] .requests,body[data-errand-mode="admin"] .notice,body[data-errand-mode="admin"] [data-tab="customer"],body[data-errand-mode="admin"] [data-tab="runner"]{display:none}body[data-errand-mode="admin"] .workspace{grid-template-columns:1fr}.withdraw-section{margin-top:20px;padding-top:16px;border-top:1px solid #e2e8f0}.withdraw-section summary{cursor:pointer;font-weight:700;color:#9b3440;font-size:13px}.management-history{margin:12px 0;font-size:12px}.management-history summary{cursor:pointer;color:#2456c4;font-weight:700}.management-history p{overflow-wrap:anywhere}#admin-request-state{max-width:190px}#performer-reviews .result-card{overflow-wrap:anywhere}.participation-controls .actions{margin-bottom:12px}
.performer-options{border:0;padding:0;margin:24px 0 16px;min-width:0}.performer-options legend{font-size:13px;font-weight:700;margin-bottom:10px}.performer-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.performer-role{display:flex;align-items:flex-start;gap:10px;padding:18px 14px;border:1px solid #d7e1ef;border-radius:14px;background:#f8faff;cursor:pointer}.performer-role:has(input:checked){border:2px solid #2456c4;padding:17px 13px;background:#edf3ff;box-shadow:0 4px 14px #2456c415}.performer-role input{width:18px;min-height:18px;margin:4px 0 0;flex:0 0 18px;accent-color:#2456c4}.performer-role span{min-width:0}.performer-role strong{display:block;font-size:14px}.performer-role b{display:block;font-size:22px;color:#2456c4;margin-top:8px}.performer-location{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;border:1px solid #d8e6fc;border-radius:12px;background:#f3f7ff}.performer-location strong{font-size:14px}.performer-location p{font-size:12px;color:#536982;margin-top:4px}.performer-location button{flex-shrink:0;font-size:13px}.performer-store{padding:14px;background:#f7f9fc;border-radius:10px;margin:14px 0}.performer-store summary{cursor:pointer;font-size:13px}.runner-range-notice{grid-column:1/-1;font-size:13px;color:#42618b;background:#f0f5ff;border-radius:9px;padding:12px 14px}.result-card .distance-label{font-weight:700;color:#2456c4}
@media(max-width:560px){.performer-role-grid{grid-template-columns:1fr;gap:9px}.performer-role,.performer-role:has(input:checked){align-items:center;padding:13px}.performer-role:has(input:checked){padding:12px}.performer-role input{margin:0}.performer-role span{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1}.performer-role strong{font-size:13px}.performer-role b{font-size:18px;margin:0;white-space:nowrap}.performer-location{align-items:stretch;flex-direction:column}.performer-location button{align-self:flex-start}}
body[data-errand-mode="participation"] .hero,body[data-errand-mode="participation"] .composer,body[data-errand-mode="participation"] .requests,body[data-errand-mode="participation"] [data-tab="customer"]{display:none}body[data-errand-mode="participation"] .workspace{grid-template-columns:1fr}.participation-intro{padding:18px 0 24px}.participation-intro .eyebrow{color:#37629d}.participation-intro h1{font-size:29px}.participation-intro p:not(.eyebrow){margin:12px 0;color:#536982}.participation-intro a{font-size:13px}
*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin:0}a{color:#2459bf;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid #2456c4;background:#2456c4;color:white;border-radius:10px;padding:10px 18px;font-weight:700;min-height:44px}button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:wait}input,select,textarea{width:100%;border:1px solid #cbd7e7;border-radius:9px;padding:10px 12px;background:#fff;color:#132b48;min-height:44px}textarea{resize:vertical}label{display:block;font-size:13px;font-weight:600}label input,label textarea,label select{margin-top:5px;font-weight:400}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #79a6fb;outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;top:-100px}.skip:focus{top:8px;left:8px;z-index:20;background:white;padding:10px}
.topbar{height:74px;border-bottom:1px solid #dce5f0;background:white;display:flex;justify-content:space-between;align-items:center;padding:0 max(24px,calc((100vw - 1200px)/2));gap:16px}.brand{font-size:27px;font-weight:900;letter-spacing:-1px;color:#102744}.brand span{font-size:10px;letter-spacing:2px;margin-left:14px;color:#6f8198}.topbar nav{display:flex;gap:24px;font-size:13px}.shell{max-width:1200px;margin:auto;padding:32px 24px 16px}.hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:38px 46px;border-radius:22px;background:#102744;color:white;overflow:hidden}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:#9abbfa;margin-bottom:15px}.hero h1{font-size:38px;line-height:1.38;letter-spacing:-1.4px}.hero h1 span{color:#a6c6ff}.hero p:last-child{margin-top:18px;color:#c1cfe2;font-size:14px}.hero img{object-fit:contain;align-self:end;margin:0 36px -30px 0;filter:drop-shadow(0 10px 18px #030d1d55)}.notice{display:flex;align-items:baseline;gap:12px;background:#fff9eb;border:1px solid #ecdcb7;color:#735a25;font-size:12px;border-radius:10px;padding:12px 16px;margin-top:16px}.notice strong{white-space:nowrap}.tabs{display:flex;gap:6px;border-bottom:1px solid #d8e2ef;margin:28px 0 24px}.tabs button{background:none;border:0;border-bottom:3px solid transparent;border-radius:0;color:#738099;padding:12px 20px}.tabs button[aria-current]{border-color:#2456c4;color:#2456c4}.card{border:1px solid #d7e1ef;background:#fff;padding:24px;border-radius:16px;box-shadow:0 5px 18px #233f6908;margin-bottom:20px;min-width:0}.section-title{display:flex;align-items:center;gap:13px;margin-bottom:18px;justify-content:space-between}.section-title:has(.step){justify-content:flex-start}.section-title p,.hint{font-size:12px;color:#6b7d94;margin-top:4px}.step{display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;flex-shrink:0;background:#eaf1ff;color:#2456c4;font-weight:800;border-radius:11px}h2{font-size:19px;letter-spacing:-.4px}h3{font-size:16px;margin-bottom:12px}.composer textarea{font-size:17px;background:#f8faff;border-color:#d5e2f4;padding:16px}.form-actions{display:flex;justify-content:space-between;gap:10px;margin-top:14px}.secondary{background:#fff;border-color:#cbd7e7;color:#254775}.quiet{background:none;border-color:transparent;color:#47658b;font-size:12px;padding:4px 8px}.danger{color:#af3540;border-color:#e8c7cb;background:#fff}.workspace{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:start;gap:22px}.requests{position:sticky;top:20px;padding:19px}.requests h2{font-size:16px}.request-list{display:grid;gap:9px}.request-item{width:100%;text-align:left;background:#f7faff;color:#193756;border:1px solid #dfE8f5;font-size:13px;padding:13px}.request-item.active{background:#e8f0ff;border-color:#82a8e9}.request-item small{display:block;color:#7085a1;font-size:11px;margin-top:5px}.empty{text-align:center;padding:65px 20px;color:#72829a}.empty h2{margin:12px 0;color:#2b466a}.empty p{font-size:14px}.empty-symbol{font-size:28px;display:inline-grid;place-items:center;width:58px;height:58px;background:#eff4fb;border-radius:18px}.status{display:inline-block;padding:4px 9px;font-size:11px;background:#eaf1ff;border-radius:6px;color:#2556a2;font-weight:800}.detail-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px}.detail-header h2{margin-bottom:5px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.wide{grid-column:1/-1}.item-editor{background:#f7faff;border:1px solid #e0e8f4;border-radius:12px;padding:16px;margin:12px 0}.item-title{display:grid;grid-template-columns:minmax(0,1fr) 85px 70px;gap:10px}.options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.missing{border-left:3px solid #5f8ae0;background:#eff5ff;color:#28528e;padding:12px 15px;border-radius:5px;font-size:13px;margin:12px 0}.missing ul{margin:5px 0;padding-left:18px}.result-card{padding:14px;border:1px solid #dce6f3;border-radius:10px;margin-top:10px;background:#f9fbff}.result-card p{font-size:12px;color:#607694;margin:4px 0 8px}.result-card button{font-size:12px;min-height:38px;padding:5px 11px}.line{display:flex;gap:10px;align-items:center}.line input{flex:1;min-width:0}.line button{flex-shrink:0}.divider{border:0;border-top:1px solid #e4ebf5;margin:22px 0}.check{display:flex;align-items:flex-start;gap:9px;font-weight:500;margin:14px 0;font-size:13px}.check input{width:18px;min-height:18px;flex:0 0 18px;margin-top:3px}.summary-list{padding:0;list-style:none;margin:12px 0;display:grid;gap:8px}.summary-list li{padding:12px 14px;border:1px solid #e2e9f3;background:#f7faff;border-radius:9px;font-size:14px}.summary-list small{display:block;font-size:12px;color:#697e99}.summary-box{background:#edf4ff;border-radius:12px;padding:17px;margin:14px 0;font-size:14px}.summary-box p+p{margin-top:7px}.amounts{display:grid;grid-template-columns:1fr auto;gap:7px;font-size:14px;margin:14px 0}.amounts strong{font-size:18px;color:#204c94}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.task-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.task-grid .result-card{margin:0}.tab-panel>.card{margin-bottom:22px}.note{padding:12px 0;border-bottom:1px solid #e7edf6;font-size:13px}.note small{color:#6a7d99;display:block;margin-top:5px}.history{font-size:12px;color:#71819a;line-height:2}.history summary{cursor:pointer;color:#49658c;margin-top:14px}.badge-muted{color:#7b6138;background:#fff4df}footer{font-size:12px;color:#7c8aa0;display:flex;gap:10px;justify-content:center;padding:28px 0}#message{position:fixed;left:50%;transform:translateX(-50%);bottom:24px;max-width:calc(100vw - 32px);padding:12px 20px;border-radius:11px;background:#102744;color:white;box-shadow:0 6px 22px #10274433;z-index:20;font-size:14px}#message:empty{display:none}
@media(max-width:800px){.shell{padding:20px 16px}.hero{padding:28px}.hero h1{font-size:30px}.hero img{width:115px;height:170px;margin-right:0;margin-bottom:-24px}.hero p:last-child{font-size:12px}.workspace{grid-template-columns:1fr}.requests{position:static}.request-list{max-height:270px;overflow:auto}.topbar{padding:0 18px}.brand span{display:none}.notice{display:block}.notice strong{display:block;margin-bottom:4px}.tabs button{padding:12px 14px}.task-grid{grid-template-columns:1fr}.card{padding:20px}.empty{padding:35px 20px}}
@media(max-width:480px){.hero{padding:25px 22px;position:relative}.hero h1{font-size:27px}.hero img{width:85px;height:124px;position:absolute;right:12px;top:16px;opacity:.7}.hero>div{position:relative;z-index:1}.hero p:last-child{max-width:270px}.form-grid{grid-template-columns:1fr}.options{grid-template-columns:1fr}.item-title{grid-template-columns:minmax(0,1fr) 66px 58px;gap:7px}.tabs button{font-size:13px;padding:12px 10px}.topbar nav{gap:15px;font-size:12px}.line{flex-wrap:wrap}.line input{flex-basis:100%}.form-actions button{font-size:13px;padding:10px 12px}}

/* Compact request entry: keep the current task ahead of history and help. */
body[data-errand-mode="customer"] .shell{max-width:880px;padding-top:12px}
.tabs{margin:0 0 16px}.tabs button{padding:9px 16px}
.composer>summary{cursor:pointer;font-size:20px;font-weight:800;line-height:1.4;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px}
.composer>summary::-webkit-details-marker{display:none}.composer>summary:after{content:'＋';font-size:21px;color:#68809e}
.composer[open]>summary:after{content:'−'}.composer .composer-closed-label{display:none}.composer:not([open])>summary>span:first-child{display:none}.composer:not([open]) .composer-closed-label{display:inline;font-size:15px}
.composer-help{margin:6px 0 14px}.composer textarea{padding:12px;min-height:90px;font-size:16px}.composer .form-actions{margin-top:10px}.composer .hint:empty{display:none}
.selected-store{padding:12px 14px;background:#f3f7fc;border-left:3px solid #2456c4;border-radius:8px;margin:12px 0}
.selected-store-label{font-size:11px;font-weight:700;color:#607694}.selected-store h2{font-size:16px;margin:2px 0}.selected-store-address{font-size:12px;color:#657b93;overflow-wrap:anywhere}.selected-product-name{font-size:13px;margin-top:6px;font-weight:700}
.selection-more{font-size:12px;margin-top:10px}.selection-more summary{cursor:pointer;color:#365f98}.selection-more .form-grid{margin:12px 0}
.workspace{display:flex;flex-direction:column;gap:0}.workspace>*{width:100%}#detail{scroll-margin-top:16px}#detail:focus{outline:none}
.requests{position:static;padding:14px 18px}.requests>summary,.errand-extras>details>summary{cursor:pointer;font-size:14px;font-weight:700}.requests #request-count{font-size:12px;color:#7085a1;font-weight:400}.history-toolbar{text-align:right;margin:6px 0}.request-list{max-height:300px;overflow:auto}.request-item{padding:10px 12px}
.errand-extras>details{padding:14px 18px;margin-bottom:10px;box-shadow:none}.errand-extras .notice{margin:12px 0;display:block}.errand-extras .notice strong{display:block}.errand-extras>details>a{font-size:12px}summary:focus-visible{outline:3px solid #79a6fb;outline-offset:4px}
footer{padding:18px 0}
@media(max-width:560px){.topbar{height:56px;padding:0 16px}.brand{font-size:23px}.topbar nav{gap:12px;font-size:12px}.shell{padding:12px 16px}.tabs{margin-bottom:12px}.card.composer{padding:18px;margin-bottom:12px}.composer>summary{font-size:19px}.requests{margin-bottom:10px}.form-actions button{font-size:14px}.form-actions button[type=submit]{min-width:100px}.errand-extras>details{padding:12px 16px}}
