/* Sitemap Generator (PR08): standard tool skin. Scoped to .smg-*, used only by this tool. */
.smg-wrap{width:100%;padding:10px 0 34px}
.smg-wrap h1#title{font-size:32px;font-weight:800;color:#1a202c;text-align:center;margin:6px 0 0}
.smg-intro{text-align:center;color:#5b6675;font-size:15px;line-height:1.6;margin:12px auto 14px;max-width:820px}
.smg-trust{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:0 0 18px;padding:0}
.smg-trust li{display:inline-flex;align-items:center;gap:6px;color:#334155;font-size:14px;font-weight:600}
.smg-trust svg{color:#16a34a;flex:none}
.smg-panel{background:linear-gradient(135deg,#fff7f3,#ffeee6);border:1px solid #ffe2d5;border-radius:16px;box-shadow:0 6px 24px rgba(250,76,16,.06);padding:18px}
.smg-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch}
.smg-below{margin:18px 0 0;align-items:start}
.smg-card{background:#fff;border:1px solid #f1e4dd;border-radius:14px;padding:20px;min-width:0;box-shadow:0 1px 2px rgba(120,50,10,.04),0 6px 18px rgba(120,50,10,.05)}
.smg-h2{font-size:20px;font-weight:800;color:#1a202c;margin:0}
.smg-h3{font-size:15px;font-weight:700;color:#1a202c;margin:0}
.smg-modes{display:flex;gap:4px;padding:4px;margin:0 0 18px;background:#fff7f3;border:1px solid #f1d5c8;border-radius:12px}
.smg-mode{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:0 10px;border:0;border-radius:9px;background:none;color:#7c2d12;font-weight:700;font-size:14.5px;cursor:pointer;touch-action:manipulation;line-height:1.2}
.smg-mode[aria-selected=true]{background:#c93d0c;color:#fff}
.smg-mode:not([aria-selected=true]):hover{background:#fff}
.smg-lbl{display:block;font-size:15px;font-weight:700;color:#1a202c;margin:0 0 6px}
.smg-in{width:100%;min-height:48px;border:1px solid #d5dde6;border-radius:10px;padding:10px 12px;font-size:16px;color:#1a202c;background:#fff;outline:none;box-sizing:border-box}
.smg-in:focus{border-color:#fa4c10;box-shadow:0 0 0 3px rgba(250,76,16,.14)}
.smg-ta{min-height:120px;resize:vertical;font-size:18px;line-height:1.5}
.smg-inmeta{display:flex;justify-content:flex-end;min-height:20px;margin:4px 0 0;color:#64748b;font-size:13px;font-variant-numeric:tabular-nums}
.smg-help{color:#64748b;font-size:13.5px;margin:6px 0 0;line-height:1.5}
.smg-privacy{display:flex;align-items:center;gap:8px;margin:16px 0 0;color:#64748b;font-size:13.5px}
.smg-privacy svg{flex:none;color:#16a34a}
/* options */
.smg-optl{display:block;font-size:13.5px;font-weight:700;color:#475569;margin:0 0 6px}
.smg-sel{min-height:44px;padding:6px 10px}
.smg-mode svg{flex:none}
.smg-daterow{margin:10px 0 0}
.smg-date{max-width:220px}
.smg-excl{min-height:84px;font-size:15px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.smg-ta{font-size:15px;line-height:1.5}
.smg-err{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:#fef2f2;border:1px solid #fecaca;color:#991b1b;font-size:14px;font-weight:600;line-height:1.45}
.smg-in[aria-invalid=true]{border-color:#dc2626}
.smg-start{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;margin:16px 0 0;border:0;border-radius:12px;background:#c93d0c;color:#fff;font-size:16.5px;font-weight:800;cursor:pointer;touch-action:manipulation}
.smg-start:hover{background:#b23509}
.smg-start:disabled{opacity:.55;cursor:progress}
.smg-start:focus-visible{outline:3px solid rgba(250,76,16,.35);outline-offset:2px}
/* result */
.smg-p{color:#334155;font-size:15px;line-height:1.6;margin:0 0 8px}
.smg-pre{margin:0;max-height:360px;overflow:auto;padding:12px 14px;border:1px solid #e5e7eb;border-radius:10px;background:#fbfcfd;color:#1e293b;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;line-height:1.55;white-space:pre;direction:ltr;text-align:left;tab-size:2}
.smg-pre:focus-visible{outline:3px solid rgba(250,76,16,.35);outline-offset:2px}
[dir=rtl] .smg-start svg{transform:scaleX(-1)}
.smg-runmsg{margin:0 0 10px;font-size:15px;font-weight:700;color:#1a202c;overflow-wrap:anywhere}
.smg-bar{height:10px;border-radius:999px;background:#f1e4dd;overflow:hidden}
.smg-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#fa4c10,#c93d0c);border-radius:999px;transition:width .3s ease-out}
.smg-of{margin:6px 0 0;color:#64748b;font-size:13.5px;font-variant-numeric:tabular-nums}
.smg-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.smg-counts div{padding:10px 12px;border:1px solid #f1e4dd;border-radius:10px;background:#fffaf7}
.smg-counts dt{font-size:13px;font-weight:600;color:#64748b}
.smg-counts dd{margin:2px 0 0;font-size:22px;font-weight:800;color:#1a202c;font-variant-numeric:tabular-nums}
.smg-cin dd{color:#166534}.smg-cout dd{color:#9a3412}
.smg-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 16px;border:1px solid #f1d5c8;border-radius:10px;background:#fff;color:#9a3412;font-weight:700;font-size:14.5px;cursor:pointer;touch-action:manipulation;text-decoration:none}
.smg-btn:hover{background:#fff7f3}
.smg-btn:disabled{opacity:.5;cursor:default}
.smg-btn:focus-visible,.smg-ftab:focus-visible{outline:3px solid rgba(250,76,16,.35);outline-offset:2px}
.smg-primary{background:#c93d0c;border-color:#c93d0c;color:#fff}
.smg-primary:hover{background:#b23509}
.smg-btn.is-done{border-color:#16a34a;background:#16a34a;color:#fff}
.smg-sum{margin:0 0 8px;font-size:18px;color:#1a202c;line-height:1.4}
.smg-sum strong{font-weight:800;outline:none}
.smg-sumout{color:#9a3412;font-weight:700;font-size:15px}
.smg-notes{list-style:none;margin:0 0 12px;padding:0}
.smg-notes li,.smg-note{margin:6px 0 0;padding:9px 12px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;color:#334155;font-size:14px;line-height:1.5}
.smg-notes .smg-ok{background:#f0fdf4;border-color:#bbf7d0;color:#166534}
.smg-notes .smg-warn,.smg-note.smg-warn{background:#fffbeb;border-color:#fde68a;color:#854d0e}
.smg-notes .smg-bad{background:#fef2f2;border-color:#fecaca;color:#991b1b;font-weight:600}
.smg-ftabs{display:flex;gap:4px;padding:4px;margin:14px 0 10px;background:#fff7f3;border:1px solid #f1d5c8;border-radius:12px}
.smg-ftab{flex:1;min-height:44px;border:0;border-radius:9px;background:none;color:#7c2d12;font-weight:700;font-size:14.5px;cursor:pointer;touch-action:manipulation}
.smg-ftab[aria-selected=true]{background:#c93d0c;color:#fff}
.smg-ftab:not([aria-selected=true]):hover{background:#fff}
.smg-dls{display:flex;flex-direction:column;gap:8px;margin:14px 0 0}
.smg-dls .smg-btn{width:100%}
.smg-dls .smg-primary{min-height:50px;font-size:16px}
#smgCopy{margin:12px 0 0}
/* progress screen */
.smg-runcard{max-width:640px;margin:0 auto}
.smg-runcard .smg-h2{margin:0 0 12px}
/* result screen */
.smg-prevcard .smg-h2{margin:0 0 4px}
.smg-prevcard .smg-pre{max-height:440px}
.smg-reshead{display:flex;align-items:center;gap:10px;margin:0 0 10px}
.smg-reshead .smg-h2{outline:none}
.smg-tick{display:inline-flex;align-items:center;justify-content:center;flex:none;width:38px;height:38px;border-radius:50%;background:#16a34a;color:#fff}
.smg-resbtns{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0;padding:14px 0 0;border-top:1px solid #f1e4dd}
.smg-resbtns .smg-btn{flex:1 1 140px}
.smg-below .smg-h2{margin:0 0 12px}
.smg-h3{font-size:16px;font-weight:800;color:#1a202c;margin:22px 0 8px}
.smg-robots{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.smg-robots code{flex:1 1 220px;min-width:0;max-width:100%;box-sizing:border-box;min-height:44px;display:flex;align-items:center;padding:6px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#fbfcfd;color:#1e293b;font-size:13.5px;overflow-wrap:anywhere}
.smg-reason{border:1px solid #f1e4dd;border-radius:10px;margin:0 0 8px;background:#fff}
.smg-reason summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;cursor:pointer;font-size:14.5px;font-weight:700;color:#1a202c}
.smg-reason summary:focus-visible{outline:3px solid rgba(250,76,16,.35);outline-offset:2px;border-radius:10px}
.smg-rname{flex:1}
.smg-rcount{min-width:32px;padding:2px 9px;border-radius:999px;background:#fff1ea;color:#9a3412;font-size:13px;text-align:center;font-variant-numeric:tabular-nums}
.smg-rlist{list-style:none;margin:0;padding:0 12px 10px;max-height:280px;overflow:auto;font-size:13px;line-height:1.45}
.smg-rlist li{padding:6px 0;border-top:1px solid #f4f1ef;direction:ltr;text-align:left}
.smg-u{display:block;color:#1e293b;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.smg-det{display:block;color:#64748b;overflow-wrap:anywhere}
.smg-moreli{color:#64748b;font-style:italic}
.smg-csv{margin:4px 0 0}
.smg-next{margin:0 0 16px;padding-inline-start:20px;color:#334155;font-size:14.5px;line-height:1.6}
.smg-next li{margin:5px 0;overflow-wrap:anywhere}
.smg-more{margin:16px 0 0;padding:12px 0 0;border-top:1px solid #f1e4dd;color:#475569;font-size:13.5px;line-height:1.5}
.smg-more a{color:#c93d0c;font-weight:700}
.smg-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:991px){
  .smg-grid{grid-template-columns:minmax(0,1fr)}
  .smg-respanel{order:-1}
}
@media(max-width:560px){
  .smg-wrap h1#title{font-size:26px}.smg-panel{padding:8px}.smg-card{padding:14px}
  .smg-mode{font-size:14px;padding:0 6px}
  .smg-counts{grid-template-columns:minmax(0,1fr);gap:6px}
  .smg-counts div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 12px}
  .smg-counts dd{margin:0;font-size:19px}
  .smg-advgrid{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){.smg-wrap *{transition:none!important}}
.smg-optcard .smg-h2{margin:0}
.smg-optsub{margin:4px 0 0}
/* options: four tabs, one panel shown; panels share one grid cell so the card keeps the tallest panel's height */
.smg-otabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:14px 0 0;border-bottom:1px solid #f1e4dd}
.smg-otabs .smg-otab[hidden]{display:none!important}
.smg-otab{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:58px;padding:6px 4px 8px;border:0;border-bottom:3px solid transparent;margin-bottom:-1px;background:none;color:#64748b;font-family:inherit;font-size:13px;font-weight:600;line-height:1.25;text-align:center;cursor:pointer;border-radius:8px 8px 0 0;transition:color .15s,background-color .15s}
.smg-otab svg{flex:none}
.smg-otab span{hyphens:auto}
.smg-otab:hover{color:#1a202c;background:#fff7f3}
.smg-otab[aria-selected=true]{color:#c93d0c;border-bottom-color:#c93d0c}
.smg-otab:focus-visible{outline:3px solid rgba(250,76,16,.35);outline-offset:-3px}
.smg-odot{position:absolute;top:6px;inset-inline-end:calc(50% - 20px);width:8px;height:8px;border-radius:50%;background:#fa4c10;box-shadow:0 0 0 2px #fff;display:none}
.smg-otab.has-change .smg-odot{display:block}
.smg-opanes{display:grid;padding:16px 0 0}
.smg-opane{grid-area:1/1;min-width:0}
.smg-opane.is-off{visibility:hidden}
.smg-fs{border:0;margin:0;padding:0;min-width:0}
.smg-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;padding:0;margin:-1px;border:0}
.smg-ghelp{margin:0 0 10px}
.smg-sel{width:100%}
.smg-advgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 0}
.smg-rads{display:grid;gap:8px}
.smg-rad{position:relative;display:block;cursor:pointer}
.smg-rad input,.smg-sw input{position:absolute;opacity:0;width:1px;height:1px}
.smg-rad span{display:flex;flex-direction:column;gap:2px;min-height:44px;padding:10px 12px 10px 44px;border:1px solid #d5dde6;border-radius:10px;background:#fff;position:relative;transition:border-color .15s,background-color .15s}
[dir=rtl] .smg-rad span{padding:10px 44px 10px 12px}
.smg-rad span:before{content:"";position:absolute;inset-inline-start:14px;top:13px;width:18px;height:18px;border:2px solid #94a3b8;border-radius:50%;background:#fff;box-sizing:border-box}
.smg-rad b{font-size:14.5px;font-weight:700;color:#1a202c;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.smg-rad small{font-size:13px;color:#64748b;line-height:1.4}
.smg-rad:hover span{border-color:#f0a787}
.smg-rad input:checked+span{border-color:#c93d0c;background:#fff7f3;box-shadow:inset 0 0 0 1px #c93d0c}
.smg-rad input:checked+span:before{border-color:#c93d0c;border-width:5px}
.smg-rad input:focus-visible+span,.smg-sw input:focus-visible~.smg-knob,.smg-chip:focus-visible{outline:3px solid rgba(250,76,16,.35);outline-offset:2px}
.smg-rec{font-style:normal;font-size:11.5px;font-weight:700;color:#166534;background:#dcfce7;border-radius:999px;padding:2px 8px;line-height:1.4}
.smg-sw{display:flex;align-items:flex-start;gap:14px;cursor:pointer}
.smg-swtxt{flex:1;min-width:0}
.smg-swtxt b{display:block;font-size:15px;font-weight:700;color:#1a202c;margin:0 0 4px}
.smg-swtxt small{display:block;font-size:13.5px;color:#64748b;line-height:1.5}
.smg-knob{flex:none;position:relative;width:46px;height:26px;margin-top:2px;border-radius:999px;background:#cbd5e1;transition:background-color .15s}
.smg-knob:after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:transform .15s}
.smg-sw input:checked~.smg-knob{background:#c93d0c}
.smg-sw input:checked~.smg-knob:after{transform:translateX(20px)}
[dir=rtl] .smg-sw input:checked~.smg-knob:after{transform:translateX(-20px)}
.smg-sw input:disabled~*{opacity:.55;cursor:not-allowed}
.smg-ex{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:12px 0 0;font-size:12.5px;color:#64748b}
[dir=rtl] .smg-ex span{transform:scaleX(-1)}
@media(max-width:560px){
  .smg-ex{font-size:12px}
  .smg-otabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;border:0}
  .smg-otab{flex-direction:row;justify-content:flex-start;gap:8px;min-height:44px;padding:6px 10px;margin:0;border:1px solid #e8ded8;border-radius:10px;text-align:start}
  .smg-otab[aria-selected=true]{background:#fff7f3;border-color:#c93d0c;box-shadow:inset 0 0 0 1px #c93d0c}
  .smg-odot{top:-3px;inset-inline-end:-3px}
}
.smg-ex code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:2px 6px;color:#334155}
.smg-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:10px 0 0;font-size:13px;color:#64748b}
.smg-chip{min-height:44px;padding:0 12px;border:1px dashed #e0b6a3;border-radius:999px;background:#fff;color:#9a3412;font:600 13px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;cursor:pointer}
.smg-chip:hover{background:#fff7f3;border-style:solid}
.smg-chip:disabled{opacity:.55;cursor:not-allowed}
.smg-wrap [hidden]{display:none!important}
