:root
{
    --bg: #f7f8fc;
    --card: #ffffff;
    --ink: #292b3f;
    --muted: #818396;
    --border: #e8e9f1;
    --accent: #6960d9;
    --soft: #f0eefb;
    --panel: #f5f3fd;
    --input: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--bg);
    color-scheme: light;
}
:root[data-theme="dark"]
{
    --bg: #191a27;
    --card: #242637;
    --ink: #edecf7;
    --muted: #b0aec6;
    --border: #3a3b51;
    --accent: #a298ff;
    --soft: #37334f;
    --panel: #2b293e;
    --input: #2b2d42;
    color-scheme: dark;
}
*
{
    box-sizing: border-box;
}
body
{
    margin: 0;
}
a
{
    color: inherit;
    text-decoration: none;
}
button, input, select, textarea
{
    font: inherit;
}
button
{
    cursor: pointer;
    color: inherit;
}
button:hover
{
    filter: brightness(.96);
}
[hidden]
{
    display: none !important;
}
:focus-visible
{
    outline: 3px solid #a69eea;
    outline-offset: 4px;
}
header
{
    height: 98px;
    max-width: 1440px;
    padding: 0 5%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand
{
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 25px;
    letter-spacing: -1px;
}
.brand-dot
{
    color: var(--accent);
}
.logo
{
    width: 31px;
    height: 34px;
    margin-right: 10px;
    display: grid;
    place-content: center;
    background: #6d64d6;
    color: white;
    border-radius: 9px;
    transform: rotate(-5deg);
}
.logo svg
{
    height: 22px;
    width: 22px;
}
.header-note
{
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
    margin-left: -45px;
}
.icon
{
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    vertical-align: middle;
}
header > button
{
    color: #77768b;
    border: 0;
    background: none;
    font-size: 11px;
}
header > button span
{
    margin-left: 9px;
}
main
{
    max-width: 1440px;
    margin: auto;
    padding: 0 30px;
}
.page-intro
{
    text-align: center;
    padding: 25px 0 33px;
}
.eyebrow
{
    font-size: 8px;
    letter-spacing: 1.8px;
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 15px;
}
.page-intro .eyebrow > span
{
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 6px;
    margin-bottom: 1px;
    background: #b6c798;
    border-radius: 50%;
}
h1
{
    font-size: 33px;
    letter-spacing: -1.2px;
    font-weight: 500;
    margin: 0 0 12px;
}
.page-intro > p:last-child
{
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}
.setup-shell
{
    max-width: 930px;
    margin: auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 65px #34375a05, 0 3px 8px #34375a03;
}
.progress-header
{
    padding: 27px 43px 0;
    background: var(--card);
}
#progress
{
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0 0 24px;
    position: relative;
}
#progress::before
{
    content: "";
    position: absolute;
    height: 1px;
    background: var(--border);
    inset: 14px 40px auto;
}
#progress li
{
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    background: var(--card);
    padding-right: 14px;
    color: #a6a6b5;
    font-size: 10px;
}
#progress li:last-child
{
    padding-right: 0;
}
#progress b
{
    font-weight: 400;
}
#progress li > span
{
    display: grid;
    place-content: center;
    width: 27px;
    height: 27px;
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: 50%;
    font-size: 10px;
}
#progress li[aria-current="step"]
{
    color: var(--ink);
}
#progress li[aria-current="step"] > span, #progress li.done > span
{
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--soft);
}
#progress li.done > span
{
    box-shadow: none;
    background: var(--soft);
    color: var(--accent);
    border-color: var(--soft);
}
.progress-label
{
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 10px;
}
#save-label
{
    font-size: 9px;
    letter-spacing: 0;
}
.progress-track
{
    height: 2px;
    background: var(--border);
}
#progress-fill
{
    width: 25%;
    background: var(--accent);
    height: 100%;
    transition: width .3s;
}
.setup-body
{
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 480px;
}
.form-area
{
    padding: 31px 43px 24px;
}
.step-icon
{
    width: 38px;
    height: 38px;
    background: var(--soft);
    border: 1px solid var(--border);
    color: var(--accent);
    border-radius: 10px;
    display: grid;
    place-content: center;
    margin-bottom: 18px;
}
.step-icon svg
{
    height: 21px;
    width: 21px;
}
h2
{
    font-weight: 500;
    font-size: 23px;
    letter-spacing: -.7px;
    line-height: 1.3;
    margin: 0 0 10px;
}
.description
{
    font-size: 11px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0 0 24px;
}
label, legend
{
    display: block;
    font-size: 10px;
    margin: 20px 0 8px;
    font-weight: 500;
}
label > span:not(.check-row span)
{
    color: var(--muted);
    font-weight: 400;
    margin-left: 2px;
}
input:not([type="checkbox"]):not([type="file"]), textarea, select
{
    width: 100%;
    background: var(--input);
    border: 1px solid #dbdce8;
    color: var(--ink);
    padding: 12px;
    border-radius: 6px;
    font-size: 11px;
    height: 39px;
    outline-offset: 2px;
}
input::placeholder, textarea::placeholder
{
    color: #a2a3b1;
}
textarea
{
    height: auto;
    resize: vertical;
    line-height: 1.8;
}
.field-hint
{
    font-size: 8px;
    color: var(--muted);
    line-height: 1.7;
    margin: 7px 0 0;
}
.upload-row
{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 21px;
}
#logo-preview
{
    width: 48px;
    height: 48px;
    border: 1px dashed #cac9df;
    border-radius: 9px;
    display: grid;
    place-content: center;
    color: #9692b0;
    overflow: hidden;
    flex-shrink: 0;
}
#logo-preview img
{
    width: 46px;
    height: 46px;
    object-fit: cover;
}
.upload-label
{
    margin: 0 0 5px;
    color: var(--accent);
    cursor: pointer;
    font-size: 9px;
}
.upload-label span
{
    font-size: 8px;
    margin-left: 5px;
    color: #aaa6bb;
}
.upload-row .field-hint
{
    margin: 0;
    font-size: 7px;
}
#logo-upload
{
    display: block;
    width: 100%;
    max-width: 250px;
    margin-top: 6px;
    font-size: 8px;
    color: var(--muted);
}
#logo-upload::file-selector-button
{
    color: var(--accent);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 3px 6px;
    background: var(--soft);
    font-size: 8px;
}
#remove-logo
{
    border: 0;
    background: none;
    padding: 4px 0 0;
    color: var(--accent);
    font-size: 8px;
}
.form-actions
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 22px;
}
#first-step-note
{
    font-size: 8px;
    color: #a3a2b3;
}
.primary
{
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 29px;
    color: white;
    background: #6d63d8;
    border: 1px solid #6d63d8;
    border-radius: 6px;
    padding: 12px 17px;
    font-size: 11px;
    box-shadow: 0 3px 5px #6358c819;
}
.back, .skip, .inline-button
{
    background: none;
    border: 0;
    padding: 0;
    font-size: 10px;
    color: var(--muted);
}
.skip
{
    display: block;
    margin: 18px auto 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 9px;
}
.inline-button
{
    color: var(--accent);
    margin-top: 16px;
}
.error
{
    color: #bc4555;
    font-size: 10px;
    line-height: 1.6;
    margin: 12px 0 0;
}
.error:empty, #logo-status:empty
{
    display: none;
}
[aria-invalid="true"]
{
    border-color: #bc4555 !important;
}
.preview-panel
{
    background: var(--panel);
    padding: 32px 22px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 1px solid var(--border);
    overflow: hidden;
    min-width: 0;
    margin-top: 24px;
    border-radius: 10px 0 0 0;
}
.preview-eyebrow
{
    color: #aaa4c0;
    font-size: 7px;
    letter-spacing: 1.5px;
}
.spark
{
    color: #8e85cb;
    font-size: 13px;
    margin-right: 6px;
    vertical-align: middle;
}
.workspace-art
{
    width: 100%;
    height: 245px;
    position: relative;
    display: grid;
    place-content: center;
    margin-top: 24px;
    isolation: isolate;
}
.art-orbit
{
    position: absolute;
    width: 270px;
    height: 270px;
    border: 1px solid #e6e1f4;
    border-radius: 50%;
    inset: -10px auto auto calc(50% - 135px);
    z-index: -1;
}
.orbit-two
{
    width: 315px;
    height: 315px;
    inset: -32px auto auto calc(50% - 157px);
    border-style: dashed;
    border-color: #e4dff13f;
}
.mini-workspace
{
    color: #3d3b53;
    width: 255px;
    background: white;
    border: 1px solid #e5e0f3;
    border-radius: 9px;
    box-shadow: 0 15px 30px #71629610;
    transform: rotate(-5deg);
    overflow: hidden;
}
.mini-top
{
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 13px;
    border-bottom: 1px solid #f0edf8;
    font-size: 7px;
}
.mini-top > span:first-child
{
    color: #8b7fd2;
    width: 17px;
    height: 17px;
    border-radius: 4px;
    background: #efebfb;
    display: grid;
    place-content: center;
    overflow: hidden;
}
.mini-top > span:first-child img
{
    width: 17px;
    height: 17px;
    object-fit: cover;
}
.mini-top > b
{
    font-weight: 500;
    max-width: 170px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.mini-top > span:last-child
{
    margin-left: auto;
}
.mini-welcome
{
    padding: 15px 16px 10px;
}
.mini-welcome > span
{
    font-size: 5px;
    letter-spacing: 1px;
    color: #aaa4bf;
}
.mini-welcome h3
{
    font-size: 16px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -.5px;
    margin: 6px 0 11px;
}
.mini-avatars
{
    display: flex;
    align-items: center;
}
.mini-avatars i
{
    height: 17px;
    width: 17px;
    border: 2px solid white;
    margin-left: -3px;
    border-radius: 50%;
    background: #e6ead6;
    font: normal 5px/14px Arial, sans-serif;
    text-align: center;
}
.mini-avatars i:nth-child(2)
{
    background: #f7decf;
}
.mini-avatars i:nth-child(3)
{
    background: #ddd6f0;
}
.mini-avatars i:nth-child(4)
{
    background: #eeeaf6;
}
.mini-avatars span
{
    font-size: 5px;
    color: #a9a4b7;
    margin-left: 6px;
}
.mini-tasks
{
    padding: 0 16px 8px;
}
.mini-tasks > p
{
    margin: 0;
    padding: 8px 0;
    border-bottom: 1px solid #f1eef7;
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 6px;
}
.mini-tasks p > i
{
    border: 1px solid #d6d1e5;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mini-tasks p > b
{
    margin-left: auto;
    color: #9d95c0;
    font-size: 6px;
}
.mini-bottom
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fbfaff;
    padding: 8px 15px;
    font-size: 5px;
    color: #aba4be;
}
.mini-dots
{
    display: flex;
    gap: 3px;
}
.mini-dots i
{
    height: 3px;
    width: 3px;
    background: #ded8ed;
    border-radius: 50%;
}
.floating-note
{
    position: absolute;
    z-index: 2;
    padding: 9px 10px;
    border-radius: 5px;
    background: white;
    color: #747086;
    font-size: 6px;
    border: 1px solid #eeeaf7;
    box-shadow: 0 5px 15px #7261920a;
}
.note-top
{
    top: 0;
    right: -3px;
    transform: rotate(4deg);
}
.note-bottom
{
    bottom: -5px;
    left: -5px;
    transform: rotate(3deg);
}
.tiny-check
{
    background: #e7edd8;
    color: #8b9b6f;
    display: inline-block;
    padding: 3px;
    margin-right: 3px;
    border-radius: 3px;
}
.tiny-star
{
    color: #b5a2de;
    font-size: 10px;
    vertical-align: middle;
}
.art-plus
{
    position: absolute;
    font-weight: 300;
    color: #b7adce;
    font-size: 19px;
}
.plus-one
{
    top: 35px;
    left: -5px;
    transform: rotate(20deg);
}
.plus-two
{
    bottom: 30px;
    right: -3px;
    color: #c9cea9;
}
.preview-copy
{
    text-align: center;
    margin-top: 35px;
}
.preview-copy h3
{
    font-size: 19px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -.6px;
    margin: 0 0 10px;
}
.preview-copy p
{
    font-size: 10px;
    color: #9c96af;
    line-height: 1.9;
    margin: 0;
}
.preview-dots
{
    margin-top: 23px;
    display: flex;
    gap: 5px;
}
.preview-dots i
{
    height: 4px;
    width: 4px;
    background: #d7d1e9;
    border-radius: 50%;
}
.preview-dots .active
{
    width: 14px;
    border-radius: 5px;
    background: #a496ce;
}
.trust-note
{
    display: flex;
    gap: 7px;
    justify-content: center;
    align-items: center;
    color: #a0a1b0;
    font-size: 9px;
    margin: 22px 0 34px;
}
.trust-note .icon
{
    width: 12px;
    height: 12px;
}
footer
{
    max-width: 1440px;
    padding: 22px 5%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: #a5a6b4;
    font-size: 8px;
}
footer > div
{
    display: flex;
    gap: 12px;
}
footer button
{
    padding: 0;
    background: none;
    border: 0;
    font-size: inherit;
    color: inherit;
}
.invite-labels
{
    display: grid;
    grid-template-columns: 1fr 90px;
    gap: 10px;
    font-size: 9px;
    color: var(--muted);
    margin-bottom: 10px;
    padding-right: 20px;
}
.invite-row
{
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.invite-row input
{
    min-width: 0;
}
.invite-row select
{
    width: 86px;
    flex-shrink: 0;
    padding: 8px;
    font-size: 9px;
}
.invite-row button
{
    border: 0;
    background: none;
    color: var(--muted);
    padding: 0;
    font-size: 15px;
    flex-shrink: 0;
}
.bulk
{
    border-top: 1px solid var(--border);
    margin-top: 25px;
    padding-top: 18px;
}
summary
{
    font-size: 9px;
    color: var(--accent);
    cursor: pointer;
}
.secondary
{
    background: var(--soft);
    color: var(--accent);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 10px;
}
.bulk .secondary
{
    margin-top: 10px;
    font-size: 9px;
}
.quiet-note
{
    margin-top: 25px;
    display: flex;
    align-items: start;
    gap: 10px;
    color: var(--muted);
    padding: 13px;
    background: var(--bg);
    border-radius: 6px;
}
.quiet-note p
{
    margin: 0;
    font-size: 9px;
    line-height: 1.7;
}
.quiet-note .icon
{
    width: 14px;
    height: 14px;
}
.template-grid
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.template-grid button
{
    text-align: left;
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: 6px;
    padding: 12px;
    position: relative;
}
.template-grid button[aria-pressed="true"]
{
    border-color: var(--accent);
    background: var(--soft);
}
.template-grid button > span
{
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 18px;
}
.template-grid b
{
    display: block;
    font-weight: 400;
    font-size: 9px;
}
.template-grid small
{
    display: block;
    color: var(--muted);
    font-size: 7px;
    margin-top: 6px;
}
.template-grid i
{
    display: none;
    position: absolute;
    right: 12px;
    top: 12px;
    color: var(--accent);
    font: 10px Arial, sans-serif;
}
.template-grid [aria-pressed="true"] i
{
    display: block;
}
.template-preview
{
    background: var(--bg);
    padding: 12px;
    margin-top: 15px;
    border-radius: 6px;
    font-size: 9px;
    color: var(--muted);
    line-height: 1.7;
}
.template-preview ul
{
    padding-left: 15px;
    margin: 8px 0 0;
}
.template-preview ul:empty
{
    display: none;
}
fieldset
{
    margin: 0 0 23px;
    padding: 0;
    border: 0;
    min-width: 0;
}
legend
{
    margin-bottom: 12px;
}
.check-row
{
    display: flex;
    gap: 9px;
    align-items: start;
    margin: 13px 0;
    cursor: pointer;
}
input[type="checkbox"]
{
    accent-color: var(--accent);
    margin: 1px 0 0;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}
.check-row b, .toggle-row b
{
    font-size: 10px;
    font-weight: 400;
}
.check-row small, .toggle-row small
{
    font-size: 8px;
    color: var(--muted);
    display: block;
    margin-top: 5px;
}
.themes
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.themes button
{
    padding: 6px 6px 9px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--card);
    font-size: 8px;
}
.themes [aria-pressed="true"]
{
    border-color: var(--accent);
    color: var(--accent);
}
.theme-thumb
{
    display: block;
    height: 40px;
    border: 1px solid #e1dfed;
    border-radius: 3px;
    margin-bottom: 6px;
    position: relative;
    background: linear-gradient(90deg, #f1eef9 24%, white 24%);
}
.theme-thumb::after
{
    content: "";
    position: absolute;
    left: 35%;
    right: 10%;
    height: 5px;
    top: 10px;
    background: #e2def3;
    box-shadow: 0 9px 0 #f1eef8;
    border-radius: 2px;
}
.dark-thumb
{
    background: linear-gradient(90deg, #333044 24%, #242331 24%);
    border-color: #413c53;
}
.dark-thumb::after
{
    background: #60577f;
    box-shadow: 0 9px 0 #3f3a50;
}
.system-thumb
{
    background: linear-gradient(110deg, #f2effa 50%, #363243 50%);
}
.toggle-row
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-block: 1px solid var(--border);
}
#shortcuts
{
    appearance: none;
    width: 29px;
    height: 17px;
    background: #b7b5c6;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
}
#shortcuts::after
{
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    height: 11px;
    width: 11px;
    background: white;
    border-radius: 50%;
    transition: left .2s;
}
#shortcuts:checked
{
    background: #7466d4;
}
#shortcuts:checked::after
{
    left: 15px;
}
.tips
{
    margin-top: 20px;
    font-size: 9px;
}
.completion
{
    position: relative;
    overflow: hidden;
    padding: 50px 35px 35px;
    max-width: 600px;
    margin: auto;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
}
.completion-icon
{
    width: 63px;
    height: 63px;
    background: #ebf1df;
    border: 7px solid #f5f8ee;
    border-radius: 50%;
    margin: 0 auto 25px;
    color: #839d56;
    font-size: 26px;
    display: grid;
    place-content: center;
}
.completion h2
{
    font-size: 35px;
    letter-spacing: -1px;
}
.completion > p:not(.eyebrow)
{
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}
#setup-summary
{
    text-align: left;
    margin: 25px auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 20px;
}
.summary-row
{
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    font-size: 10px;
    line-height: 1.7;
    border-bottom: 1px solid var(--border);
    overflow-wrap: anywhere;
}
.summary-row:last-child
{
    border: 0;
}
.summary-row > span
{
    color: var(--muted);
    flex-shrink: 0;
}
.summary-row strong
{
    text-align: right;
    font-weight: 400;
}
.watch-tour
{
    display: block;
    padding: 0;
    margin: 20px auto;
    background: transparent;
    border: 0;
    color: var(--accent);
    font-size: 10px;
}
.watch-tour > span
{
    color: var(--muted);
    font-size: 9px;
    margin-left: 7px;
}
#confetti
{
    position: absolute;
    inset: 0;
    pointer-events: none;
}
#confetti i
{
    position: absolute;
    top: -20px;
    width: 7px;
    height: 10px;
    background: #c0b4e8;
    animation: fall 2.8s ease-out forwards;
}
#confetti i:nth-child(3n)
{
    background: #c3d6a5;
}
#confetti i:nth-child(5n)
{
    background: #efc7a6;
}
@keyframes fall
{
    to { transform: translateY(600px) rotate(600deg); opacity: 0; }
}
.dashboard
{
    max-width: 930px;
    margin: auto;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--card);
}
.dashboard-top
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 22px;
}
.dashboard h2
{
    overflow-wrap: anywhere;
}
.dashboard p
{
    font-size: 11px;
    color: var(--muted);
    line-height: 1.8;
}
.dashboard-columns
{
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 35px;
    margin-top: 25px;
}
.workspace-badge
{
    width: 35px;
    height: 35px;
    display: grid;
    place-content: center;
    background: var(--soft);
    color: var(--accent);
    border-radius: 8px;
}
.dashboard h3
{
    font-size: 15px;
    font-weight: 400;
    overflow-wrap: anywhere;
}
.board-title
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
#task-count
{
    font-size: 10px;
    color: var(--muted);
}
#task-form
{
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.task-row
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    gap: 10px;
}
.task-row label
{
    display: flex;
    align-items: start;
    gap: 10px;
    font-size: 12px;
    margin: 15px 0;
    overflow-wrap: anywhere;
    min-width: 0;
}
.task-row.done label > span
{
    text-decoration: line-through;
    opacity: .6;
}
.task-row button
{
    border: 0;
    background: transparent;
    font-size: 17px;
    color: var(--muted);
}
.reset
{
    background: none;
    border: 0;
    padding: 10px 0;
    color: var(--accent);
    font-size: 10px;
}
.empty-tasks
{
    text-align: center;
    border: 1px dashed var(--border);
    padding: 35px 15px;
    border-radius: 7px;
}
.sr-only
{
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
dialog
{
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--ink);
    border-radius: 14px;
    padding: 40px;
    width: min(540px, calc(100% - 30px));
    max-height: 85vh;
}
dialog::backdrop
{
    background: #24213b8a;
    backdrop-filter: blur(4px);
}
.close
{
    position: absolute;
    right: 15px;
    top: 10px;
    background: none;
    border: 0;
    font-size: 25px;
    color: var(--muted);
}
dialog p
{
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
    white-space: pre-line;
}
#tour-dialog
{
    width: min(850px, calc(100% - 30px));
}
#tour
{
    width: 100%;
    background: #f7f6fc;
    border-radius: 8px;
}
@media (max-width: 900px)
{
    .progress-header { padding-inline: 30px; }
    .form-area { padding-inline: 30px; }
    .setup-body { grid-template-columns: 1.2fr 1fr; }
    .mini-workspace { width: 210px; }
    .workspace-art { height: 250px; }
    .floating-note { font-size: 5px; padding: 8px; }
    .note-top { right: -10px; }
    .preview-panel { padding-inline: 18px; }
    .preview-copy h3 { font-size: 17px; }
}
@media (max-width: 650px)
{
    header { height: 80px; padding-inline: 22px; }
    .brand { font-size: 23px; }
    .header-note { display: none; }
    header > button { font-size: 10px; padding: 0; }
    main { padding-inline: 18px; }
    .page-intro { padding: 23px 0 28px; }
    .page-intro .eyebrow { font-size: 7px; letter-spacing: 1px; }
    h1 { font-size: 28px; letter-spacing: -1px; line-height: 1.2; }
    .page-intro > p:last-child { font-size: 10px; margin-inline: 10px; line-height: 1.8; }
    .setup-shell { border-radius: 12px; }
    .progress-header { padding: 23px 22px 0; }
    #progress { margin-bottom: 22px; gap: 8px; }
    #progress li { flex-direction: column; padding: 0; gap: 8px; font-size: 7px; width: 65px; background: transparent; }
    #progress li:first-child { align-items: start; width: 48px; }
    #progress li:last-child { align-items: end; width: 57px; }
    #progress li > span { width: 25px; height: 25px; }
    #progress::before { inset-inline: 20px; top: 12px; }
    #progress li > b { background: var(--card); padding: 3px 0; }
    .progress-label { font-size: 7px; }
    #save-label { font-size: 8px; }
    .setup-body { grid-template-columns: 1fr; }
    .form-area { padding: 27px 22px 25px; }
    h2 { font-size: 23px; }
    .description { font-size: 11px; }
    label { font-size: 10px; }
    input:not([type="checkbox"]):not([type="file"]), select, textarea { font-size: 12px; height: 43px; }
    textarea { height: auto; }
    .field-hint { font-size: 8px; }
    .upload-label { font-size: 9px; }
    #logo-upload { max-width: 210px; font-size: 7px; }
    .form-actions { gap: 10px; }
    #first-step-note { max-width: 130px; font-size: 8px; line-height: 1.7; }
    .primary { gap: 20px; font-size: 11px; padding: 12px 15px; }
    .preview-panel { margin: 0; border-top: 1px solid var(--border); border-left: 0; border-radius: 0; padding: 23px; }
    .workspace-art { width: 290px; max-width: 100%; margin-top: 15px; height: 250px; }
    .mini-workspace { width: 240px; }
    .preview-copy { margin-top: 30px; }
    .preview-copy h3 { font-size: 19px; }
    .preview-copy p { font-size: 10px; }
    .note-top { right: -2px; }
    .note-bottom { left: -2px; }
    .floating-note { font-size: 6px; }
    .preview-eyebrow { font-size: 6px; }
    .trust-note { font-size: 8px; gap: 5px; margin-bottom: 25px; }
    footer { flex-wrap: wrap; padding: 15px 22px 30px; gap: 18px; line-height: 1.8; }
    footer > span:last-child { width: 100%; font-size: 7px; }
    .invite-row select { width: 79px; padding: 8px 5px; font-size: 10px; }
    .invite-row input { padding-inline: 8px !important; font-size: 10px !important; }
    .template-grid { gap: 8px; }
    .template-grid button { padding: 11px 9px; }
    .template-grid b { font-size: 9px; }
    .template-grid small { line-height: 1.7; font-size: 7px; }
    .template-preview { font-size: 9px; }
    .completion { padding: 35px 22px 25px; }
    .completion h2 { font-size: 32px; }
    #setup-summary { padding-inline: 13px; }
    .summary-row { font-size: 9px; gap: 15px; }
    .completion > .field-hint { font-size: 9px !important; }
    .dashboard { padding: 22px; }
    .dashboard-top { align-items: start; flex-direction: column; }
    .dashboard-columns { grid-template-columns: 1fr; gap: 20px; }
    .dashboard-columns > aside { border-bottom: 1px solid var(--border); padding-bottom: 15px; }
    dialog { padding: 35px 23px 25px; }
}
@media (prefers-reduced-motion: reduce)
{
    * { animation: none !important; transition: none !important; }
    #confetti { display: none; }
}
