:root{
      --bg:#f3f5f9;
      --surface:#fff;
      --surface2:#f8fafc;
      --text:#16181d;
      --muted:#707782;
      --line:#e5e9f0;
      --accent:#246bfe;
      --accent2:#5b8cff;
      --purple:#7758ff;
      --green:#22a06b;
      --orange:#f59e0b;
      --red:#e05252;
      --blue-soft:#edf4ff;
      --orange-soft:#fff6df;
      --green-soft:#eaf8f1;
      --purple-soft:#f1edff;
      --cyan-soft:#eaf9fb;
      --shadow-sm:0 8px 24px rgba(31,45,70,.06);
      --shadow-lg:0 24px 70px rgba(31,45,70,.12);
      --radius-xl:30px;
      --radius-lg:22px;
      --slot-h:36px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",
                  "Hiragino Sans","Yu Gothic UI","Yu Gothic",Meiryo,sans-serif;
      color:var(--text);
      background:
        radial-gradient(circle at 8% 0%, rgba(36,107,254,.08), transparent 26%),
        radial-gradient(circle at 92% 8%, rgba(119,88,255,.07), transparent 22%),
        linear-gradient(180deg,#f7f9fc 0%,var(--bg) 100%);
      -webkit-font-smoothing:antialiased;
      line-height:1.5;
    }

    button,input,textarea,select{font:inherit}
    button{touch-action:manipulation}

    .shell{max-width:1280px;margin:0 auto;padding:20px 20px 80px}

    .topbar{
      position:sticky;top:14px;z-index:40;
      display:flex;align-items:center;justify-content:space-between;gap:18px;
      padding:10px 12px 10px 16px;
      background:rgba(255,255,255,.84);
      border:1px solid rgba(255,255,255,.92);
      border-radius:22px;
      backdrop-filter:blur(22px) saturate(160%);
      box-shadow:0 10px 30px rgba(31,45,70,.08);
    }

    .brand-wrap{display:flex;align-items:center;gap:10px;cursor:pointer}
    .brand-dot{
      width:30px;height:30px;border-radius:10px;
      background:linear-gradient(135deg,var(--accent),var(--purple));
      box-shadow:inset 0 1px 0 rgba(255,255,255,.45);
    }
    .brand{font-weight:850;letter-spacing:-.03em;white-space:nowrap}

    .nav{display:flex;gap:6px;overflow:auto}
    .nav button{
      border:0;background:transparent;color:var(--muted);
      border-radius:14px;padding:9px 13px;font-size:14px;font-weight:800;
      cursor:pointer;white-space:nowrap;transition:.18s ease;
    }
    .nav button:hover{background:#f2f4f8;color:var(--text)}
    .nav button.active{background:#17191f;color:#fff;box-shadow:0 7px 16px rgba(17,19,23,.14)}

    .page{display:none;animation:fade .22s ease}
    .page.active{display:block}
    @keyframes fade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

    /* HOME */
    .hero{text-align:center;padding:74px 0 52px}
    .eyebrow{
      display:inline-flex;align-items:center;gap:8px;
      padding:7px 11px;border-radius:999px;
      background:rgba(255,255,255,.78);border:1px solid rgba(255,255,255,.94);
      color:var(--accent);font-size:13px;font-weight:850;
      box-shadow:var(--shadow-sm);margin-bottom:18px;
    }
    .eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--purple))}
    h1{
      margin:0 auto;max-width:980px;font-size:clamp(44px,7vw,84px);
      line-height:.98;letter-spacing:-.06em;font-weight:880;
    }
    .hero p{max-width:720px;margin:24px auto 0;color:var(--muted);font-size:clamp(17px,2vw,21px)}
    .trust-row{margin-top:22px;display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
    .trust-pill{
      padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.76);
      border:1px solid rgba(255,255,255,.95);color:#4e5560;font-size:13px;font-weight:750;
      box-shadow:var(--shadow-sm);
    }

    .showcase{
      display:grid;
      grid-template-columns:1.15fr .85fr;
      gap:22px;
      margin-top:12px;
    }
    .showcase-card{
      min-height:360px;
      border-radius:34px;
      position:relative;
      overflow:hidden;
      padding:34px;
      cursor:pointer;
      box-shadow:var(--shadow-lg);
      border:1px solid rgba(255,255,255,.9);
      transition:transform .2s ease,box-shadow .2s ease;
    }
    .showcase-card:hover{transform:translateY(-3px);box-shadow:0 30px 80px rgba(31,45,70,.16)}
    .showcase-card h2{margin:0;font-size:clamp(32px,4.5vw,56px);letter-spacing:-.05em;line-height:1.02}
    .showcase-card p{margin:14px 0 0;max-width:560px;color:#59616d;font-size:17px}
    .card-blue{background:linear-gradient(145deg,#eef4ff,#dfeaff)}
    .card-violet{background:linear-gradient(145deg,#f6f2ff,#ebe4ff)}
    .card-green{background:linear-gradient(145deg,#eefaf4,#e3f6ec)}
    .card-orange{background:linear-gradient(145deg,#fff8e8,#fff0c8)}
    .card-cyan{background:linear-gradient(145deg,#effbfd,#def4f8)}
    .card-dark{background:linear-gradient(145deg,#252933,#121418);color:#fff}
    .card-dark p{color:#c9cdd4}

    .tool-badge{
      display:inline-flex;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.7);
      color:#424852;font-size:12px;font-weight:850;margin-bottom:16px;
      border:1px solid rgba(255,255,255,.7);
    }
    .card-dark .tool-badge{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.08)}

    .fake-calendar{
      position:absolute;right:26px;bottom:24px;width:54%;min-width:300px;
      background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.95);
      border-radius:24px;box-shadow:0 24px 60px rgba(34,52,86,.13);padding:15px;
      transform:rotate(-2deg);
    }
    .fake-cal-head{display:grid;grid-template-columns:42px repeat(5,1fr);gap:5px;margin-bottom:7px}
    .fake-cal-head div{height:10px;border-radius:999px;background:#e8ecf4}
    .fake-cal-body{display:grid;grid-template-columns:42px repeat(5,1fr);gap:5px}
    .fake-cal-body div{height:18px;border-radius:6px;background:#f2f4f7}
    .fake-cal-body .sel{background:linear-gradient(135deg,var(--accent),var(--accent2))}

    .fake-diff{
      position:absolute;right:28px;bottom:28px;width:55%;
      display:grid;grid-template-columns:repeat(3,1fr);gap:8px;
    }
    .fake-diff div{height:96px;border-radius:20px;box-shadow:0 14px 30px rgba(0,0,0,.06)}
    .fake-diff .a{background:var(--blue-soft)}
    .fake-diff .b{background:var(--orange-soft)}
    .fake-diff .c{background:var(--green-soft)}

    .small-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:22px}
    .small-card{
      min-height:260px;border-radius:30px;padding:28px;cursor:pointer;position:relative;overflow:hidden;
      border:1px solid rgba(255,255,255,.9);box-shadow:var(--shadow-lg);
      transition:.2s ease;
    }
    .small-card:hover{transform:translateY(-3px)}
    .small-card h3{margin:0;font-size:30px;letter-spacing:-.04em;line-height:1.05}
    .small-card p{color:#5f6670;font-size:15px;margin:12px 0 0}
    .tool-icon{
      position:absolute;right:22px;bottom:20px;width:72px;height:72px;border-radius:22px;
      display:grid;place-items:center;background:rgba(255,255,255,.66);font-size:30px;
      box-shadow:0 12px 30px rgba(0,0,0,.08);
    }

    .home-note{text-align:center;color:var(--muted);margin:28px 0 0;font-size:13px}


    .brand-sub{font-size:10px;color:var(--muted);font-weight:650;margin-top:1px}
    .top-actions{display:flex;align-items:center;gap:10px;min-width:0}
    .bookmark-btn{
      border:1px solid #dfe4ec;background:#fff;color:#343942;border-radius:13px;
      padding:9px 12px;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap;
      box-shadow:0 4px 12px rgba(31,45,70,.04);
    }
    .bookmark-btn:hover{background:#f8faff;border-color:#cfd7e5}

    .home-hero{
      padding:62px 0 30px;
      display:grid;grid-template-columns:1fr .9fr;gap:36px;align-items:center;
    }
    .home-copy{text-align:left}
    .home-eyebrow{color:var(--accent);font-size:14px;font-weight:850;margin-bottom:16px}
    .home-copy h1{
      margin:0;font-size:clamp(48px,6vw,78px);line-height:.98;letter-spacing:-.06em
    }
    .home-copy p{
      color:var(--muted);font-size:18px;max-width:570px;margin:20px 0 0
    }

    .search-panel{
      background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.96);
      border-radius:28px;padding:22px;box-shadow:var(--shadow-lg);backdrop-filter:blur(18px)
    }
    .search-label{font-size:13px;font-weight:850;margin-bottom:10px}
    .search-box{
      display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;
      background:#f6f8fb;border:1px solid #e2e7ef;border-radius:17px;padding:4px 5px 4px 13px;
      transition:.18s ease
    }
    .search-box:focus-within{background:#fff;border-color:#9fbeff;box-shadow:0 0 0 4px rgba(36,107,254,.08)}
    .search-icon{font-size:22px;color:#8a929e;transform:rotate(-15deg)}
    .search-box input{
      border:0;background:transparent;box-shadow:none;padding:12px 4px;font-size:16px
    }
    .search-box input:focus{box-shadow:none}
    .clear-search{border:0;background:transparent;color:#8a929e;font-size:20px;cursor:pointer;padding:7px 10px}
    .quick-words{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}
    .quick-words button{
      border:1px solid #e3e7ee;background:#fff;color:#59616d;border-radius:999px;
      padding:7px 10px;font-size:12px;font-weight:750;cursor:pointer
    }
    .quick-words button:hover{color:var(--accent);border-color:#bfd2ff;background:#f7faff}

    .personal-area,.all-tools-section{margin-top:32px}
    .section-title-row{
      display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:14px
    }
    .section-kicker{font-size:11px;letter-spacing:.12em;color:#8a929e;font-weight:900;margin-bottom:4px}
    .section-title-row h2,.return-copy h2{margin:0;font-size:30px;letter-spacing:-.04em}
    .section-note{color:var(--muted);font-size:13px}

    .tool-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
    .tool-card{
      position:relative;background:rgba(255,255,255,.91);border:1px solid rgba(255,255,255,.98);
      border-radius:26px;padding:24px;min-height:255px;box-shadow:var(--shadow-sm);
      display:grid;grid-template-columns:auto 1fr;gap:18px;cursor:pointer;
      transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
    }
    .tool-card:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(31,45,70,.12);border-color:#dfe8f8}
    .tool-card-featured{
      grid-column:1/-1;
      min-height:260px;
      background:linear-gradient(135deg,#f4f8ff 0%,#eaf2ff 100%);
      border-color:#e0eaff
    }
    .tool-icon-box{
      width:58px;height:58px;border-radius:18px;display:grid;place-items:center;
      font-size:24px;font-weight:900;letter-spacing:-.04em
    }
    .icon-blue{background:#dce9ff;color:#246bfe}
    .icon-green{background:#dff5e9;color:#1d8d5d}
    .icon-orange{background:#fff0c9;color:#d88700}
    .icon-violet{background:#eee8ff;color:#7555e8}
    .icon-cyan{background:#ddf4f7;color:#177c8c}

    .tool-copy{padding-right:36px}
    .tool-meta{color:#8a929e;font-size:12px;font-weight:800;margin:1px 0 6px}
    .tool-card h3{margin:0;font-size:26px;letter-spacing:-.035em}
    .tool-card p{margin:10px 0 16px;color:#606873;font-size:15px;max-width:620px}
    .tool-card p strong{color:#252a31;font-weight:850}
    .flow-line{
      display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#56606d;font-size:12px;font-weight:800
    }
    .flow-line span{padding:6px 9px;background:rgba(255,255,255,.7);border:1px solid #e5eaf2;border-radius:999px}
    .flow-line b{color:#a1a8b3}
    .favorite-star{
      position:absolute;top:16px;right:16px;width:38px;height:38px;border-radius:12px;
      border:1px solid #e3e7ee;background:rgba(255,255,255,.82);font-size:20px;color:#8a929e;
      cursor:pointer;z-index:2;transition:.15s ease
    }
    .favorite-star:hover{transform:scale(1.05);color:#f0a500}
    .favorite-star.active{background:#fff8df;color:#e3a000;border-color:#f6dea1}
    .open-tool{
      position:absolute;right:20px;bottom:18px;border:0;background:transparent;
      color:var(--accent);font-weight:850;cursor:pointer;font-size:13px
    }
    .open-tool span{font-size:18px;vertical-align:-1px}

    .compact-tools{display:flex;gap:10px;overflow:auto;padding-bottom:4px}
    .compact-tool{
      flex:0 0 auto;min-width:190px;background:#fff;border:1px solid #e5e9f0;border-radius:18px;
      padding:14px 16px;cursor:pointer;box-shadow:0 7px 20px rgba(31,45,70,.05)
    }
    .compact-tool:hover{border-color:#bfd2ff}
    .compact-tool strong{display:block;font-size:14px}
    .compact-tool span{font-size:11px;color:var(--muted)}

    .no-results{
      min-height:230px;border:1px dashed #cfd6e2;border-radius:24px;background:rgba(255,255,255,.65);
      display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--muted)
    }
    .no-results-icon{font-size:36px;margin-bottom:8px}
    .no-results strong{color:#3d434c;margin-bottom:4px}


    .bookmark-modal{
      position:fixed;inset:0;background:rgba(15,18,24,.36);backdrop-filter:blur(8px);
      display:none;align-items:center;justify-content:center;padding:20px;z-index:100
    }
    .bookmark-modal.show{display:flex}
    .bookmark-dialog{
      width:min(460px,100%);background:#fff;border-radius:26px;padding:26px;
      box-shadow:0 30px 90px rgba(0,0,0,.25)
    }
    .bookmark-dialog h3{margin:0;font-size:25px;letter-spacing:-.035em}
    .bookmark-dialog p{color:var(--muted);margin:10px 0}
    .shortcut-key{
      margin:18px 0;background:#f5f7fa;border:1px solid #e3e7ed;border-radius:18px;
      padding:18px;text-align:center;font-size:25px;font-weight:900;letter-spacing:.02em
    }
    .modal-actions{display:flex;justify-content:flex-end;margin-top:14px}

    @media(max-width:950px){
      .home-hero{grid-template-columns:1fr;padding-top:48px}
      .top-actions{width:100%;flex-direction:column;align-items:stretch}
      .bookmark-btn{align-self:flex-start}
      .tool-grid{grid-template-columns:1fr}
      .tool-card-featured{grid-column:auto}
      .return-card{flex-direction:column;align-items:flex-start}
    }
    @media(max-width:650px){
      .home-copy h1{font-size:46px}
      .section-title-row{align-items:flex-start;flex-direction:column;gap:5px}
      .tool-card{grid-template-columns:1fr;padding:20px}
      .tool-icon-box{width:50px;height:50px;border-radius:15px}
      .tool-copy{padding-right:0}
      .open-tool{position:static;margin-top:2px;text-align:left;padding:0}
      .favorite-star{top:14px;right:14px}
      .return-card{padding:22px}
      .big-bookmark-btn{width:100%}
    }

    /* TOOL PAGE */
    .tool-page{padding-top:42px}
    .tool-head{
      display:flex;align-items:flex-end;justify-content:space-between;gap:20px;
      margin-bottom:20px;flex-wrap:wrap;
    }
    .tool-head h2{margin:0;font-size:clamp(34px,5vw,58px);letter-spacing:-.05em;line-height:1}
    .tool-head p{max-width:660px;color:var(--muted);margin:10px 0 0;font-size:17px}

    .card{
      background:rgba(255,255,255,.92);
      border:1px solid rgba(255,255,255,.96);
      border-radius:30px;box-shadow:var(--shadow-lg);backdrop-filter:blur(18px) saturate(150%);
    }
    .workspace{padding:24px}
    .btn{
      border:0;border-radius:14px;padding:10px 14px;cursor:pointer;font-weight:850;transition:.18s ease;
    }
    .btn.primary{background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;box-shadow:0 8px 18px rgba(36,107,254,.22)}
    .btn.dark{background:#17191f;color:#fff}
    .btn.ghost{background:#fff;color:var(--text);border:1px solid var(--line)}
    .btn:hover{transform:translateY(-1px)}
    label{display:block;font-size:12px;font-weight:850;color:#59606b;margin-bottom:7px}
    input,textarea,select{
      width:100%;border:1px solid #dde1e7;border-radius:14px;background:#fff;padding:12px 13px;
      color:var(--text);outline:none;transition:.16s ease;
    }
    input:focus,textarea:focus,select:focus{border-color:#8eb5ff;box-shadow:0 0 0 4px rgba(36,107,254,.08)}
    textarea{min-height:180px;resize:vertical}
    .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
    .result{
      white-space:pre-wrap;min-height:120px;background:var(--surface2);
      border:1px solid var(--line);border-radius:18px;padding:18px;font-size:15px;
    }
    .grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
    .grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}

    /* calendar */
    .calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}
    .week-title{font-weight:850;font-size:19px;letter-spacing:-.02em}
    .calendar-hint{margin-top:4px;color:var(--muted);font-size:13px}
    .toolbar-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
    .slot-toggle{display:flex;align-items:center;gap:4px;padding:4px;background:#f2f4f8;border:1px solid #e7eaf0;border-radius:14px}
    .slot-toggle span{font-size:12px;color:var(--muted);font-weight:750;padding:0 6px 0 8px}
    .slot-choice{border:0;background:transparent;color:var(--muted);border-radius:10px;padding:7px 10px;font-size:12px;font-weight:850;cursor:pointer}
    .slot-choice.active{background:#fff;color:var(--text);box-shadow:0 2px 8px rgba(31,45,70,.08)}
    .calendar-wrap{overflow:auto;border:1px solid var(--line);border-radius:24px;background:#fff;max-height:660px}
    .calendar{display:grid;grid-template-columns:74px repeat(7,minmax(116px,1fr));min-width:980px;position:relative;user-select:none}
    .corner{position:sticky;top:0;z-index:8;background:#fff;border-bottom:1px solid var(--line);border-right:1px solid #eef0f3}
    .day-head{position:sticky;top:0;z-index:7;background:rgba(255,255,255,.97);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);padding:12px 8px 13px;text-align:center}
    .day-head .dow{font-size:12px;color:var(--muted);font-weight:750}
    .day-head .date{font-size:20px;font-weight:850;letter-spacing:-.03em;margin-top:2px}
    .day-head.saturday .dow,.day-head.saturday .date{color:#2d6cdf}
    .day-head.sunday .dow,.day-head.sunday .date{color:#d14e4e}
    .time-label{height:var(--slot-h);padding:4px 10px 0 0;text-align:right;color:#9399a3;font-size:11px;border-right:1px solid #eef0f3;border-top:1px solid #f1f3f6;background:#fff}
    .slot{height:var(--slot-h);border-top:1px solid #f1f3f6;border-right:1px solid #f3f4f6;background:#fff;cursor:crosshair;position:relative}
    .slot.saturday{background:#fbfdff}.slot.sunday{background:#fffafa}.slot:hover{background:#f2f7ff}
    .slot.selected{background:linear-gradient(180deg,#4a8bff,#246bfe)}
    .slot.selected::after{content:"";position:absolute;inset:3px;border-radius:7px;border:1px solid rgba(255,255,255,.35)}
    .result-card{margin-top:20px;padding:22px}
    .result-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}

    /* diff */
    .diff-input-a{background:var(--blue-soft);border-color:#d5e5ff}
    .diff-input-b{background:var(--orange-soft);border-color:#ffe6a8}
    .legend-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}
    .dot-a{background:#3b82f6}.dot-b{background:#f59e0b}.dot-c{background:#22a06b}
    .diff-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
    .stat{border-radius:18px;padding:16px;border:1px solid transparent}
    .stat-a{background:var(--blue-soft);border-color:#d8e7ff}.stat-b{background:var(--orange-soft);border-color:#ffe9b3}.stat-c{background:var(--green-soft);border-color:#d7f0e4}
    .stat b{display:block;font-size:28px}.stat span{font-size:12px;color:#5f6670;font-weight:750}
    .diff-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}
    .diff-label{display:flex;align-items:center;font-size:12px;font-weight:850;margin:0 0 8px 2px}
    .diff-box{border-radius:18px;padding:14px;min-height:150px;white-space:pre-wrap;font-size:13px;border:1px solid transparent}
    .box-a{background:var(--blue-soft);border-color:#d8e7ff}.box-b{background:var(--orange-soft);border-color:#ffe9b3}.box-c{background:var(--green-soft);border-color:#d7f0e4}

    .toast{
      position:fixed;left:50%;bottom:24px;transform:translate(-50%,16px);opacity:0;pointer-events:none;
      background:rgba(22,24,29,.96);color:#fff;padding:11px 16px;border-radius:999px;font-weight:750;font-size:13px;
      transition:.2s ease;z-index:50;box-shadow:0 10px 30px rgba(0,0,0,.18)
    }
    .toast.show{opacity:1;transform:translate(-50%,0)}
    footer{text-align:center;color:#9097a2;font-size:12px;padding-top:34px}

    @media(max-width:900px){
      .showcase{grid-template-columns:1fr}
      .small-grid,.grid3,.diff-cols,.diff-stats,.grid2{grid-template-columns:1fr}
      .fake-calendar,.fake-diff{position:relative;right:auto;bottom:auto;width:100%;margin-top:24px;transform:none}
      .showcase-card{min-height:auto}
      .topbar{align-items:flex-start;flex-direction:column}
      .nav{width:100%}
    }
    @media(max-width:600px){
      .shell{padding:14px 12px 56px}
      .hero{padding-top:52px}
      h1{font-size:44px}
      .showcase-card,.small-card,.workspace{padding:20px}
    }

.skip-link{position:absolute;left:12px;top:-60px;background:#17191f;color:#fff;padding:10px 14px;border-radius:10px;z-index:1000;text-decoration:none;font-weight:800}.skip-link:focus{top:12px}footer a{color:inherit;text-decoration:none;border-bottom:1px solid #c8ced8}footer a:hover{color:var(--accent)}

/* スマホでのスクロールと選択を両立。タッチはタップのみ。 */
[hidden]{display:none!important}
.slot{touch-action:pan-x pan-y}
.slot:focus-visible{outline:3px solid #17191f;outline-offset:-3px;z-index:2}
.btn:disabled{opacity:.45;cursor:default;transform:none}
.privacy-settings{border:0;background:none;color:inherit;text-decoration:underline;cursor:pointer}
.analytics-consent{position:fixed;bottom:12px;left:12px;right:12px;max-width:640px;margin:auto;padding:18px;background:#fff;border:1px solid #ccd5e5;border-radius:16px;box-shadow:0 8px 40px #0002;z-index:90}
.analytics-consent p{margin:0 0 12px;font-size:14px}
@media(max-width:650px){
  input,textarea,select{font-size:16px}
  .btn,.slot-choice,.nav button{min-height:44px}
  .calendar{min-width:650px;grid-template-columns:48px repeat(7,minmax(86px,1fr))}
  .slot,.time-label{height:44px}
  .calendar-wrap{max-height:55vh;overscroll-behavior:contain}
  .time-label{position:sticky;left:0;z-index:3}
  .corner{left:0;z-index:9}
  .workspace,.result-card{padding:14px;border-radius:20px}
  .toolbar-actions{width:100%}
  .result-head .btn{width:100%}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(prefers-reduced-motion:reduce){*{animation:none!important}}

/* Quiet, focused schedule workspace */
#schedule{--accent:#206b58;--line:#e1e7e3;--muted:#596960;--surface2:#f6f8f5}
#schedule .tool-head{padding:8px 4px 12px}
#schedule .tool-head h2{font-size:clamp(32px,4.2vw,52px);line-height:1.2;letter-spacing:-.045em;margin-top:12px}
.schedule-eyebrow{display:block;font-size:11px;font-weight:700;letter-spacing:.12em;color:#396252;margin-bottom:8px}
.schedule-trust{margin-top:16px;color:#596960;font-size:12px}
#schedule .workspace{border:1px solid #e1e7e3;box-shadow:0 12px 40px rgba(27,51,39,.045);border-radius:24px}
.schedule-step{display:flex;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.schedule-step>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e9f1eb;color:#206b58;font-size:12px;font-weight:700}
.schedule-step small{color:#596960;margin-left:auto}
#schedule .calendar-wrap{border-radius:16px;max-height:480px}
#schedule .slot.selected{background:#28765f}
#schedule .slot.selected::after{border-color:rgba(255,255,255,.5)}
#schedule .slot:hover{background:#edf4ef}
#schedule .slot.selected:hover{background:#20634f}
#schedule .result-card{border:1px solid #e1e7e3;border-radius:18px;box-shadow:none;background:#fafcf9}
#schedule .result-head strong{display:block;font-size:18px;font-weight:700}
#schedule .btn.dark{background:#206b58;min-height:48px;padding:12px 24px}
#schedule .btn:disabled{opacity:.45;cursor:not-allowed;transform:none}
.selection-summary{font-size:13px;color:#596960;margin:8px 0 0}
.schedule-customize{margin:16px 0;color:#526359;font-size:13px}
.schedule-customize summary{cursor:pointer;padding:8px 0;min-height:44px}
.schedule-customize .grid2{margin-top:10px}
#schedule .result{background:#fff;line-height:1.9;border-radius:12px}
.schedule-feedback{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:24px 0 0;padding-top:24px;border-top:1px solid #e1e7e3}
.schedule-feedback>div{flex:1;min-width:200px}
.schedule-feedback strong{font-size:14px}
.schedule-feedback p{font-size:13px;color:#596960;margin:6px 0 0}
.schedule-feedback a{text-decoration:none;font-size:13px;min-height:44px;display:inline-flex;align-items:center}
.schedule-feedback small{flex-basis:100%;font-size:11px;color:#596960}
@media(max-width:640px){#schedule .workspace{padding:16px;border-radius:20px}#schedule .result-card{padding:16px}#schedule .result-head{align-items:stretch}#schedule .result-head>div,#schedule #copySchedule{width:100%}.schedule-step small{margin-left:44px;flex-basis:100%}#schedule .calendar-wrap{max-height:390px}.schedule-feedback a{width:100%;justify-content:center}}
body:has(#schedule.active){background:#f5f6f2}
body:has(#schedule.active) .brand-dot{background:#206b58}
body:has(#schedule.active) .topbar{box-shadow:0 4px 20px rgba(27,51,39,.04);border:1px solid #e1e7e3;background:rgba(255,255,255,.96)}
@media(max-width:640px){body:has(#schedule.active) .topbar{position:static}#schedule.tool-page{padding-top:28px}}
