/* Mobile-first task surfaces. Presentation only; execution remains unchanged. */
.naver-list-hero .summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
.naver-list-hero{display:grid;gap:12px;padding:0;margin:0 0 12px}
.naver-list-hero h2{font-size:23px}
.naver-list-hero .summary-card{min-width:0;min-height:86px;padding:12px 10px;gap:6px}
.naver-list-hero .summary-card strong{font-size:clamp(19px,5vw,28px);overflow-wrap:anywhere}
.naver-list-hero .summary-card span{font-size:11px;line-height:1.4}
.naver-list-hero .summary-card.accent span{color:var(--muted)}
.naver-quick-start{padding:14px;margin:0 0 14px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.naver-quick-start form{margin:0}.naver-quick-start .button.wide{margin-top:0;min-height:44px;font-size:13px}
.naver-quick-start p{font-size:12px;color:var(--muted);line-height:1.5;margin:8px 0 0}
.naver-quick-start>a:not(.button){display:flex;min-height:40px;align-items:center;margin-top:12px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#f5f7ef;font-size:12px;color:var(--green);text-decoration:none}
.naver-filter-panel{display:grid;gap:14px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.naver-filter-group{min-width:0}.naver-filter-label{margin:0 0 6px;font-size:12px;font-weight:700;color:var(--ink)}
.naver-filter-hint{margin:0 0 8px;font-size:11px;line-height:1.4;color:var(--muted)}
.naver-link-browser .filters{gap:6px;flex-wrap:wrap;margin:0;padding:0;overflow:visible}
.naver-link-browser .filter-chip{display:inline-flex;align-items:center;justify-content:center;min-height:36px;max-width:100%;padding:7px 10px;border-radius:10px;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.naver-link-browser .naver-secondary-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}
.naver-link-browser .naver-secondary-actions a{display:inline-flex;flex:1 1 130px;justify-content:center;align-items:center;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:12px;color:var(--green);text-decoration:none}
.pocket-balance form{margin:0;flex-shrink:0}
.naver-secondary-actions{display:flex;gap:20px;margin:8px 0}.naver-secondary-actions a{display:inline-flex;align-items:center;min-height:44px;font-size:12px;color:var(--muted)}
@media(max-width:360px){.pocket-balance{flex-wrap:wrap}.pocket-balance form{width:100%}.pocket-balance form .button{width:100%}}
/* Navigation is a body-level sibling, never a fixed child of a sticky/filtered header. */
@media(max-width:1099px){
  /* No document scrolling: iOS PWA resume/elastic scrolling can displace
     viewport-fixed bars. Only the middle region scrolls; tabs own a row. */
  html:has(>body.app-shell){height:100%;overflow:hidden;overscroll-behavior:none}
  /* Opposing edges own the height. Do not replace it with a JS viewport
     measurement: iOS may keep a stale visualViewport after app switching. */
  body.app-shell{position:fixed;inset:0;height:auto;min-height:0;overflow:hidden;display:grid;grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"header" "content" "navigation";padding:0;overscroll-behavior:none}
  body.app-shell>.app-header{grid-area:header;position:relative;top:auto;min-width:0}
  body.app-shell>.app-scroll-region{grid-area:content;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;scroll-padding-block:12px}
  body.app-shell.modal-scroll-locked>.app-scroll-region{overflow:hidden}
  body.app-shell .app-footer{padding-bottom:24px}
  body>.header-nav{grid-area:navigation;position:relative;inset:auto;width:100%;z-index:30;margin:0;background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;transform:none;transition:none;animation:none}
}
@media(min-width:1100px){
  body:has(>.header-nav)>.app-header{position:fixed;inset:0 auto 0 0;width:218px;padding:32px 22px;border-bottom:0;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#f0f2ea;backdrop-filter:none}
  body>.header-nav{position:fixed;inset:180px auto auto 22px;width:174px;margin:0;z-index:30}
}
/* Reset the legacy top inset: top + bottom stretched the grid/toast to viewport height. */
.toast-region{top:auto;bottom:calc(88px + env(safe-area-inset-bottom));width:calc(100% - 32px);max-width:360px;left:0;right:0;align-content:end;grid-auto-rows:max-content;gap:6px}
.toast{width:100%;height:auto;min-height:0;grid-template-columns:20px minmax(0,1fr) 32px;gap:8px;padding:8px 10px;border-radius:12px;border-color:#ffffff26;box-shadow:0 6px 20px #16261c25}
.toast-icon{width:20px;height:20px;border-radius:6px;font-size:11px}
.toast p{font-size:12px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}
.toast-close{width:32px;height:32px;color:#fff;border-radius:8px}
.toast-close:focus-visible{outline:2px solid #d8efb0;outline-offset:1px}
@media(min-width:761px){.toast-region{bottom:24px}}
.pocket-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}
.pocket-heading p{margin:0 0 4px;color:var(--muted);font-size:12px}
.pocket-heading h1{margin:0;font-size:32px;line-height:1.25;letter-spacing:-.055em}
.pocket-heading>a{font-size:12px;white-space:nowrap;min-height:44px;display:flex;align-items:center}
.pocket-balance{background:var(--green);border-radius:20px;color:white;padding:24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.pocket-balance>div>span{font-size:12px;color:#d2e1d1}.pocket-balance strong{display:block;font-size:42px;line-height:1.2;letter-spacing:-.05em;margin:6px 0}.pocket-balance small{font-size:18px;margin-left:4px;font-weight:400}.pocket-balance p{font-size:10px;color:#bacfbb;margin:0}
.pocket-balance .button.primary{background:var(--lime);color:var(--green-dark);border:0;min-height:44px;font-size:13px;padding:12px 18px;white-space:nowrap}
.pocket-live{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);background:#eaf0e1;border-radius:14px;padding:12px 16px;margin-top:10px}
.pocket-live>div{flex:1}.pocket-live strong,.pocket-live div>span{display:block}.pocket-live strong{font-size:12px}.pocket-live div>span{font-size:11px;color:var(--muted);margin-top:2px}
.live-pulse{width:7px;height:7px;border-radius:50%;background:#9fb878;box-shadow:0 0 0 4px #9fb87820;flex-shrink:0}
.pocket-section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:24px 0 10px}.pocket-section-title h2{font-size:18px;margin:0}.pocket-section-title>a,.pocket-section-title>span{font-size:11px;color:var(--muted);text-decoration:none}
.pocket-filters{margin-bottom:10px}.pocket-filters button{min-height:40px}
.pocket-services{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}
.pocket-service{position:relative;border-bottom:1px solid var(--line)}.pocket-service:last-child{border-bottom:0}
.pocket-service-link{display:flex;align-items:center;gap:14px;padding:16px 48px 16px 18px;text-decoration:none;color:var(--ink);min-height:80px}
.pocket-service-link:hover{background:#f5f7f0}.pocket-service-link>div{flex:1;min-width:0}.pocket-service-link h3{font-size:16px;margin:0}.pocket-service-link h3 small{font-size:11px;color:var(--muted);font-weight:500;margin-left:5px}.pocket-service-link p{font-size:12px;color:var(--muted);margin:3px 0 0}.pocket-trailing{font-size:11px;color:var(--green);white-space:nowrap}.pocket-trailing b{font-size:18px;margin-left:7px;font-weight:400}.needs-review{color:#a26122}
.pocket-service-help>summary{position:absolute;right:2px;top:18px;display:grid;place-items:center;list-style:none;width:40px;height:44px;font-size:0;color:#7b8479;border-radius:10px}.pocket-service-help>summary:after{content:'ⓘ';font-size:15px}.pocket-service-help[open]>summary{background:#edf2e7;color:var(--green)}.pocket-service-help>summary::-webkit-details-marker{display:none}.pocket-service-help[open]{padding:0 18px 12px 70px}.pocket-service-help p,.pocket-service-help div{font-size:11px;color:var(--muted);margin:0 0 5px}
.pocket-empty{text-align:center;padding:32px 16px;color:var(--muted);font-size:13px}.pocket-empty h2{font-size:19px;color:var(--ink)}.pocket-footnote{text-align:center;font-size:11px;color:var(--muted);margin:16px 0 0}
/* Each service owns a visible receipt strip, independent of the action link. */
.pocket-services{display:grid;gap:10px;border:0;border-radius:0;background:transparent;overflow:visible}
.pocket-service,.pocket-service:last-child{border:1px solid #dce2d8;border-radius:15px;overflow:hidden;background:white}
.pocket-service-link{min-height:68px;padding-top:12px;padding-bottom:12px}
.home-reward-status{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 16px;background:#edf0e9;color:#4d594b;border-top:1px solid #e0e5dc}
.home-reward-status>strong{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.4;font-weight:750}
.home-status-symbol{display:grid;place-items:center;width:22px;height:22px;flex-shrink:0;border:1px solid currentColor;border-radius:50%;font-size:14px}
.home-status-detail{font-size:11px;text-align:right;line-height:1.4;font-variant-numeric:tabular-nums}
.home-reward-status[data-reward-status=completed]{background:#1d563f;color:#fff;border-color:#1d563f}
.home-reward-status[data-reward-status=completed] .home-status-symbol{background:#dbf5b6;color:#214a2f;border-color:#dbf5b6;font-weight:800}
.pocket-service:has([data-reward-status=completed]){border-color:#34785a}
.home-reward-status[data-reward-status=active],.home-reward-status[data-reward-status=running]{background:#e1eef9;color:#164e78;border-color:#c3dceb}
.home-reward-status[data-reward-status=queued],.home-reward-status[data-reward-status=waiting]{background:#e9eafa;color:#404878;border-color:#d0d5ed}
.home-reward-status[data-reward-status=attention]{background:#fff0d5;color:#874409;border-color:#efcf96}
.home-reward-status[data-reward-status=partial]{background:#e8efda;color:#385720;border-color:#d2dfba}
.pocket-service:has([data-reward-status=attention]){border-color:#d69f4c}
.pocket-service-help[open]{padding-top:10px}
.pocket-service-link:focus-visible,.pocket-service-help>summary:focus-visible{outline:3px solid #537b2f;outline-offset:-3px}
@media(max-width:600px){.home-reward-status{padding:9px 12px}.home-reward-status>strong{font-size:13px;gap:6px}.home-status-detail{font-size:10px}.home-status-symbol{width:20px;height:20px}.pocket-services{gap:8px}}
@media(max-width:360px){.home-reward-status{flex-wrap:wrap}.home-status-detail{margin-left:auto}}
.reward-workspace{max-width:760px;margin:0 auto}.workspace-tag{font-size:11px;border:1px solid var(--line);border-radius:20px;padding:5px 10px;color:var(--muted);white-space:nowrap}
.workspace-tabs{display:flex;padding:4px;background:#e9ede3;border-radius:12px;gap:4px;margin-bottom:14px;scroll-margin-top:76px}
.workspace-tabs button{flex:1;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:13px;font-weight:600;min-height:40px;padding:8px}
.workspace-tabs button[aria-pressed=true]{background:#fff;color:var(--green);box-shadow:0 2px 4px #263c2410}
.live-console{padding:20px 24px;border-radius:18px;background:var(--green);color:#fff}
.live-console-heading{display:flex;align-items:center;gap:10px}.live-console-heading h2{font-size:14px;margin:0;flex:1;color:#e2eddb}.live-console-heading .batch-progress-label{background:#ffffff13;color:#d8e5cc;border:0;font-size:11px;padding:4px 8px;white-space:nowrap}
.live-console-score{display:flex;align-items:baseline;gap:10px;margin:6px 0}.live-console-score>strong{font-size:38px;letter-spacing:-.05em;line-height:1.4}.live-console-score small{font-size:19px;font-weight:400;color:#baccb7;margin-left:3px}.live-console-score>span{color:#c8d9c1;font-size:12px}
.attention-shortcut{margin-left:auto;background:#fbe7c6;border:0;border-radius:8px;color:#794a12;font-size:11px;padding:9px 11px;min-height:36px;white-space:nowrap}
.live-console .batch-progress-track{background:#ffffff20;height:4px;margin:8px 0 12px}.live-console .batch-progress-track>span{background:var(--lime)}
.console-next{display:grid;grid-template-columns:1fr auto;gap:2px 12px;border:0;background:none;padding:0}.console-next>span:first-child{font-size:11px;color:#d1dfc8}.console-next strong{grid-column:1;font-size:11px;color:#afc4a7;font-weight:400}.console-next>span:last-child{grid-column:2;grid-row:1 / span 2;align-self:center;font-size:12px;color:#e1efcd}
.workspace-runner .ui-sync-status:empty{display:none}.workspace-runner .ui-sync-status{font-size:11px;color:#9f571d;margin:10px 0}
.mission-ledger{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
.mission-ledger-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#fff;border:0;border-bottom:1px solid var(--line);padding:14px 16px;color:var(--ink);min-height:68px}
.mission-ledger-row:last-child{border-bottom:0}.mission-ledger-row:hover{background:#f7f9f2}.mission-ledger-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#eff3e8;color:#6b8053;font-size:12px;font-weight:700;flex-shrink:0}.mission-ledger-main{flex:1;min-width:0}.mission-ledger-main>strong{font-size:14px;display:block}.mission-ledger-main>[data-mission-next]{display:block;font-size:11px;color:var(--muted);margin-top:2px}.mission-ledger-main .round-dots{display:flex;gap:3px;margin-top:6px;max-width:180px}.mission-ledger-main .round-dots>span{height:3px;flex:1;border-radius:2px;background:#e6eadf}.mission-ledger-main .round-dots>.done{background:#7e9d57}.mission-ledger-main .round-dots>.failed{background:#da9750}.mission-ledger-main .round-dots>.running{background:#4f8070}.mission-ledger-count strong{font-size:20px;font-weight:600}.mission-ledger-count small{font-size:12px;color:var(--muted)}.ledger-chevron{font-size:20px;color:#8c9586;margin-left:4px}
.run-controls{font-size:12px;margin-top:12px;color:var(--muted)}.run-controls summary{min-height:44px;display:flex;align-items:center;gap:8px}.run-controls summary:before{content:'+'}.run-controls[open] summary:before{content:'−'}.run-controls form{margin:12px 0}.run-controls p{margin:0}
.record-context{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 10px}.record-context h2,.workspace-history>h2{font-size:17px;margin:0}.record-context button{border:0;background:none;color:var(--green);font-size:11px;min-height:44px;text-decoration:underline;padding:0}.workspace-history>h2{margin:18px 0 12px}
.idle-console{padding:28px 20px;border:1px solid var(--line);border-radius:18px;background:white}.idle-console h2{font-size:22px;margin:16px 0 8px}.idle-console>p{font-size:13px;color:var(--muted)}.idle-missions{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}.idle-missions span{padding:6px 10px;background:#f1f4ea;border-radius:8px;font-size:12px}.idle-missions b{color:#6b8053;font-weight:500}
.workspace-start{margin:18px 0 0}.workspace-start p{font-size:11px;color:var(--muted);text-align:center;margin:7px 0}
@media(min-width:1100px){.pocket-home{max-width:780px;margin:auto}.page-shell:has(.reward-workspace){max-width:760px}}
@media(max-width:600px){
  .app-header{padding:10px 16px}.brand-mark{width:30px;height:30px;border-radius:10px}.brand{font-size:19px;gap:9px}
  .page-shell{width:calc(100% - 28px);padding-top:16px}.page-back{min-height:30px;font-size:11px;margin-bottom:4px}
  .pocket-heading{margin-bottom:12px;gap:10px}.pocket-heading h1{font-size:25px}.pocket-heading p{font-size:10px}.pocket-heading>a{font-size:11px}
  .pocket-balance{padding:16px 18px;border-radius:16px}.pocket-balance>div>span{font-size:11px}.pocket-balance strong{font-size:34px;margin:3px 0}.pocket-balance .button.primary{padding:10px 14px;font-size:12px}.pocket-balance p{font-size:9px}
  .pocket-section-title{margin-top:18px;margin-bottom:8px}.pocket-section-title h2{font-size:16px}.pocket-filters{gap:4px}.pocket-filters button{min-height:38px;padding:7px 13px;font-size:11px}
  .pocket-service-link{min-height:73px;padding:12px 44px 12px 12px;gap:11px}.pocket-service-link h3{font-size:14px}.pocket-service-link p{font-size:10px}.pocket-service-link .service-symbol{width:32px;height:32px}.pocket-trailing{font-size:10px}.pocket-trailing b{margin-left:3px}.pocket-service-help>summary{top:14px}.pocket-service-help[open]{padding-left:55px}
  .workspace-heading{margin-bottom:12px}.workspace-tabs{margin-bottom:12px;scroll-margin-top:12px}.workspace-tabs button{min-height:38px;font-size:12px}
  .live-console{padding:15px 16px;border-radius:16px}.live-console-heading h2{font-size:13px}.live-console-score>strong{font-size:34px}.live-console-score{margin:3px 0}.live-console-score>span{font-size:11px}.attention-shortcut{font-size:10px;padding:8px;min-height:36px}.console-next{gap:1px 8px}.console-next>span:last-child{font-size:10px}.console-next strong{font-size:10px}
  .mission-ledger-row{min-height:59px;padding:10px 12px;gap:10px}.mission-ledger-main>strong{font-size:13px}.mission-ledger-main>[data-mission-next]{font-size:10px}.mission-ledger-count strong{font-size:18px}.mission-ledger-icon{width:27px;height:27px}.mission-ledger-main .round-dots{max-width:165px;margin-top:5px}
  .workspace-start{position:static;padding:12px 0 4px}.workspace-start p{font-size:10px}
  .queue-header,.batch-header,.earn-page-heading{margin-bottom:18px;padding-top:0}.queue-header h1,.batch-header h1,.earn-page-heading h1{font-size:25px}.batch-start-card,.batch-runner,.service-hub-card,.service-focus-card{padding:16px}.batch-metrics{gap:6px}.batch-metrics>div{padding:10px 8px}.batch-metrics strong{font-size:18px}.service-hub-list{gap:10px}.service-hub-summary{padding:10px 12px}.service-hub-card .button{min-height:44px}.service-hub-card>form{margin-top:12px}.service-hub-heading h2{font-size:16px}
  .app-footer{font-size:10px}.app-footer span{font-size:9px}
}
@media(max-width:360px){.pocket-trailing{font-size:0}.pocket-trailing b{font-size:18px}.pocket-service-link p{font-size:10px}.console-next{grid-template-columns:1fr}.console-next>span:last-child{grid-column:1;grid-row:auto;margin-top:3px}.pocket-balance .button.primary{font-size:10px;padding:10px}.pocket-balance strong{font-size:30px}.live-console-score>span{font-size:10px}}
