:root{--ink:#252638;--muted:#85899d;--purple:#754cff;--lavender:#f0eaff;--bg:#f6f7fb;--line:#e6e7ef;--red:#bd2349;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.6}a{color:var(--purple);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}[hidden]{display:none!important}:focus-visible{outline:3px solid #ad96ff;outline-offset:3px}h1,h2,p{margin-top:0}h1{font-size:32px;line-height:1.3;letter-spacing:-.6px;margin-bottom:12px}h2{font-size:19px;line-height:1.4;margin:0 0 18px}p{color:var(--muted);margin-bottom:20px}small{display:block;color:var(--muted);font-size:12px}strong{font-weight:650}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:white;border-right:1px solid var(--line);padding:30px 20px;overflow-y:auto;display:flex;flex-direction:column;z-index:5}.brand{display:block;padding:0 18px;margin-bottom:32px}.brand img{width:160px;height:58px;object-fit:contain}.person{display:flex;gap:14px;align-items:center;padding:16px 12px;border:1px solid var(--line);border-radius:13px;margin-bottom:25px}.person strong{font-size:17px}.person small{font-size:13px}.avatar{width:44px;height:44px;border-radius:11px;background:#f0eee4;color:#656153;display:grid;place-items:center;font-size:17px;font-weight:700;flex-shrink:0}.nav-link{display:flex;align-items:center;gap:16px;color:#747a8e;padding:13px 18px;border-radius:10px;margin:5px 0;font-weight:550}.nav-link span{width:18px;font-size:21px}.nav-link:hover{background:#faf8ff;text-decoration:none}.nav-link.selected{background:var(--lavender);color:var(--purple);font-weight:700}.nav-heading{font-size:11px;letter-spacing:1.2px;color:#9b9db0;margin:24px 18px 8px}.sidebar-bottom{color:var(--muted);font-size:12px;padding:45px 12px 0;margin-top:auto}.sidebar-bottom small{padding-left:15px;margin-top:4px;font-size:11px}.online-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#2d986b;margin-right:6px}.shell{margin-left:250px;min-height:100vh}.topbar{min-height:78px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:16px 32px;gap:20px}.breadcrumb{font-size:14px;color:var(--muted)}.breadcrumb span{margin:0 16px;color:#c4c5d0}.breadcrumb strong{color:var(--ink)}.header-actions{display:flex;align-items:center;gap:20px}.header-actions form{margin:0}.language{font-size:13px;color:var(--muted);white-space:nowrap}main{max-width:1640px;margin:auto;padding:38px 36px 60px;outline:none}footer{padding:20px 36px 30px;color:#a1a4b3;font-size:12px}.page-heading{margin-bottom:28px}.page-heading p{margin:0}.card{background:white;border:1px solid var(--line);border-radius:15px;padding:28px;margin-bottom:24px;box-shadow:0 4px 16px #25263802}.button{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);font-weight:600;font-size:14px;gap:8px;line-height:1.6}.button:hover{text-decoration:none;background:#f7f5ff}.button.primary{background:var(--purple);border-color:var(--purple);color:#fff;box-shadow:0 3px 8px #754cff18}.button.primary:hover{background:#6540df}.button.small{padding:6px 13px;font-size:12px}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0 24px}.actions:last-child{margin-bottom:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;max-width:950px}.field{display:flex;flex-direction:column;gap:7px;position:relative;margin-bottom:22px}.field>span{font-size:13px;font-weight:650;color:#757a8d}input,select,textarea{color:var(--ink);background:#fff;border:1px solid #dedfeb;border-radius:8px;padding:10px 13px;width:100%;min-width:0}input[type=password]{padding-right:95px}input[type=checkbox]{width:16px;height:16px;accent-color:var(--purple);flex-shrink:0}textarea{resize:vertical;min-height:100px}.show-password{border:0;background:none;color:var(--purple);position:absolute;right:8px;bottom:12px;font-size:11px;padding:2px}.hint{font-size:12px;color:var(--muted);margin-bottom:20px}.notice{padding:14px 18px;border:1px solid #e6dfff;background:#f8f5ff;color:#79699f;border-radius:9px;margin-bottom:24px;font-size:13px}.notice.error{background:#fff4f5;border-color:#f1cbd3;color:#a82c43}.notice.success{background:#eff9f3;border-color:#d0e9d9;color:#2f7852}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.stats strong{display:block;font-size:38px;line-height:1.3;margin-top:15px}.stats .role-stat{font-size:25px;margin-top:24px}.member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.member-card{display:flex;gap:17px;align-items:flex-start;overflow-wrap:anywhere}.member-card h2{margin:0 0 5px;font-size:18px}.member-card p{font-size:13px;margin:0 0 8px}.text-link{display:block;font-size:13px;font-weight:600;margin-top:16px}.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:28px}.choice{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--line);border-radius:9px;font-size:13px}.choice small{margin-left:auto;white-space:nowrap}.choice.unavailable{opacity:.5}.permission-list{max-width:950px;margin-bottom:24px}.permission-list>label,.permission-list>div{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--line);align-items:center;font-size:14px}.permission-list select{width:170px}.table-card{padding:0;overflow:hidden}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:11px;letter-spacing:.7px;color:#969aad;background:#fafafe;padding:17px 22px}td{padding:23px 22px;border-top:1px solid var(--line);font-size:13px}td:first-child{white-space:normal;min-width:240px;max-width:400px}td small{margin-top:7px}td strong{font-size:14px}.badge{display:inline-flex;align-items:center;padding:4px 10px;background:#f3f3f8;color:#82879b;border-radius:7px;font-size:12px;font-weight:600}.badge.high{background:#fff2df;color:#a66915}.badge.urgent{background:#bd2349;color:white;font-weight:800;box-shadow:0 2px 6px #bd234922}.urgent-row td{background:#fff9fa}.urgent-row td:first-child{border-left:4px solid #bd2349}.pagination{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:13px;padding:12px 0}.pagination>div{display:flex;gap:12px}.empty{text-align:center;padding:70px 20px}.empty-icon{font-size:32px;color:#ac98df;margin-bottom:12px}.detail-meta{display:flex;gap:24px;flex-wrap:wrap;color:var(--muted);font-size:13px;border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:24px}.prewrap{white-space:pre-wrap;color:var(--ink)}.profile-card{max-width:1000px;margin:0 auto}.auth-page{background:radial-gradient(ellipse at 80% 15%,#eee8ff 0,transparent 50%),var(--bg)}.auth-page .shell{margin-left:0}.auth-page .topbar{background:transparent;border-bottom:0}.auth-page main{padding-top:32px;padding-bottom:60px}.auth-card{max-width:450px;margin:0 auto;padding:38px;background:white;border:1px solid var(--line);border-radius:20px;box-shadow:0 20px 80px #55418a08}.auth-card h1{font-size:30px}.auth-card>p{font-size:14px}.auth-logo{width:174px;height:65px;object-fit:contain;margin-bottom:35px}.eyebrow{font-size:10px;letter-spacing:2px;color:#a4a0b3;font-weight:650;margin-bottom:10px}.auth-card .primary{width:100%;padding:12px 20px}.forgot{display:block;text-align:center;font-size:13px;margin-top:23px}.auth-page footer{text-align:center}.auth-page .profile-card{max-width:800px}#navigation-status{position:fixed;left:50%;top:12px;transform:translateX(-50%);font-size:12px;color:white;background:#49445d;border-radius:20px;z-index:20}#navigation-status:not(:empty){padding:6px 16px}.busy{cursor:progress}@media(min-width:1700px){.sidebar{width:270px}.shell{margin-left:270px}main{padding:48px}}@media(max-width:1200px){.member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:220px}.shell{margin-left:220px}.breadcrumb{font-size:12px}.topbar{padding:16px 24px}main{padding:30px 24px}}@media(max-width:800px){.sidebar{position:static;width:100%;padding:14px 18px;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0;padding:0}.brand img{width:138px;height:45px}.person,.sidebar-bottom,.nav-heading{display:none}.sidebar nav{display:flex;gap:6px;overflow-x:auto;margin-top:10px}.nav-link{padding:7px 10px;font-size:12px;white-space:nowrap;gap:5px}.nav-link span{font-size:14px;width:14px}.shell{margin-left:0}.topbar{min-height:64px;padding:12px 18px}.breadcrumb{font-size:11px}.breadcrumb span{margin:0 7px}.header-actions{gap:10px}main{padding:24px 18px 40px}.card{padding:22px}.table-card{padding:0}h1{font-size:26px}.stats{gap:10px}.stats .card{padding:17px}.stats strong{font-size:30px}.stats .role-stat{font-size:17px}.form-grid{grid-template-columns:1fr}.member-grid{gap:14px}.member-card{gap:11px}.choice-grid{grid-template-columns:1fr}.auth-page main{padding-top:16px}.auth-card{padding:28px}.auth-page .breadcrumb{display:none}.auth-page .topbar{justify-content:flex-end}footer{padding:20px}.detail-meta{gap:12px}}@media(max-width:500px){.member-grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.stats .card{display:flex;justify-content:space-between;align-items:center;margin-bottom:0}.stats strong,.stats .role-stat{margin:0;font-size:23px}.stats{margin-bottom:24px}.breadcrumb{max-width:190px}.permission-list>label{font-size:12px}.permission-list select{width:125px}}

.phone-controls{display:grid;grid-template-columns:minmax(135px,1fr) minmax(100px,1.2fr);gap:8px}.phone-field small{font-size:11px}@media(max-width:420px){.phone-controls{grid-template-columns:1fr}}
.drive-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.drive-heading h2{margin-bottom:10px}.drive-note{margin-top:20px;margin-bottom:0}.drive-details{margin-top:25px}.drive-details summary{cursor:pointer;color:var(--muted);font-size:13px;margin-bottom:15px}.setup-steps{padding-left:22px;color:var(--muted);font-size:14px}.setup-steps li{padding:8px 0}.setup-steps code{font-size:12px;overflow-wrap:anywhere;color:var(--ink)}.copy-value{display:block;padding:12px;background:var(--bg);border:1px solid var(--line);border-radius:8px;margin-top:10px}.asset-list{margin-top:24px}.asset-row{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.asset-row strong{overflow-wrap:anywhere}.asset-row>a{flex-shrink:0}.upload-row{padding:15px 0;border-bottom:1px solid var(--line)}.upload-row strong{font-size:13px;overflow-wrap:anywhere}.upload-row progress{display:block;width:100%;height:10px;margin:10px 0;accent-color:var(--purple)}.picker-dialog{z-index:100!important}

.title-workshop{margin:0 0 1.25rem}.card summary{cursor:pointer;color:var(--purple);font-weight:600}.title-workshop[open]>summary{margin-bottom:.8rem}.title-choices{display:flex;gap:.45rem;flex-wrap:wrap;padding:.6rem 0}.title-choices small,.revision-entry small{display:block;color:var(--muted)}.title-choices small{width:100%}.title-choices button{white-space:normal;text-align:left;overflow-wrap:anywhere}.title-choices [aria-pressed=true]{background:var(--lavender);color:var(--purple);border-color:var(--purple)}.week-nav{flex-wrap:wrap}.revision-entry{padding:.8rem 0;border-top:1px solid var(--line)}.revision-entry p{margin:.4rem 0}.prewrap{overflow-wrap:anywhere}.card>details[open]>form{margin-top:1rem}

.platform-field{border:1px solid var(--line);border-radius:10px;margin:0 0 1rem;padding:.6rem 1rem;color:var(--ink);min-width:0}.platform-field legend,.cal-event small{font-size:.78rem}.platform-field label{display:inline-flex;align-items:center;gap:.35rem;margin:.2rem .8rem .2rem 0}.platform-field input{accent-color:var(--purple)}.review-seat{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding:.6rem 0;border-top:1px solid var(--line)}.review-seat form{margin:0}.pattern-list li{margin:.45rem 0}

.platform-plan{padding:.35rem 0}.platform-field .platform-date{display:grid;gap:.2rem;max-width:18rem;font-size:.82rem}.platform-date input{width:100%;box-sizing:border-box;padding:.35rem .5rem;border:1px solid var(--line);border-radius:.4rem}.platform-date[hidden]{display:none!important}

.notice-task{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px 24px;padding:16px;border-bottom:1px solid var(--line);text-decoration:none;color:inherit;border-left:3px solid transparent;min-width:0}
.notice-task:hover,.notice-task:focus-visible{background:#f7f5ff;text-decoration:none}
.notice-copy,.notice-meta{display:block;min-width:0}.notice-copy strong{display:block;font-size:14px;line-height:1.55;overflow-wrap:anywhere}.notice-task small{display:block;color:#65697f;font-size:12px;line-height:1.6;margin:4px 0 0;overflow-wrap:anywhere}.notice-meta:empty{display:none}.notice-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.notice-task .notice-date{font-variant-numeric:tabular-nums;white-space:nowrap}
.notice-task.urgent{border-left-color:#bd2339}.notice-task.high{border-left-color:#a96008}
.notice-tags b{display:inline-flex;align-items:center;white-space:nowrap;font-size:11px;font-weight:650;line-height:1.5;color:#904500;background:#fff0cf;border-radius:5px;padding:3px 7px}
.notice-task.urgent b{background:#b92039;color:white}
.notice-tools{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}
.notice-toast{position:fixed;bottom:1.25rem;right:1.25rem;z-index:100;background:#322353;color:white;border-radius:.6rem;padding:.85rem 1rem;box-shadow:0 5px 24px #33285a33}
@media(max-width:600px){.notice-task{grid-template-columns:minmax(0,1fr);gap:9px;padding:12px}.notice-task .notice-meta{max-width:100%}}
#presence-table{overflow-x:auto}#presence-table table{width:100%;border-collapse:collapse}#presence-table td,#presence-table th{text-align:start;white-space:nowrap;padding:.65rem;border-bottom:1px solid #e5e5ee}

/* Workspace navigation */
.workspace {
  --rail: 208px;
  background: var(--bg);
}
.workspace .topbar {min-height:54px;padding-block:9px;background:#fff}
.workspace .breadcrumb {color:#70768b}
.workspace .sidebar {width:var(--rail);padding:18px 12px 12px;background:white;border-right:1px solid var(--line);color:var(--ink)}
.workspace .brand {padding:0 9px;margin:0 0 14px;line-height:0}
.workspace .brand img {width:148px;height:48px;object-fit:contain}
.workspace .sidebar nav {flex:1}
.workspace .nav-link {min-height:34px;margin:2px 0;padding:7px 11px;gap:11px;border-radius:6px;color:#747a8e;font-weight:500;font-size:13px;line-height:1.35}
.workspace .nav-link svg {flex:none;opacity:.88}
.workspace .nav-link:hover {background:#faf8ff;color:var(--purple)}
.workspace .nav-link.selected {background:var(--lavender);color:var(--purple);font-weight:650}
.workspace .nav-heading {margin:18px 11px 5px;color:#777b8e;font-size:10.5px;letter-spacing:.09em}
.workspace .nav-group {margin:5px 0;border:0}
.workspace .nav-group>summary {display:flex;align-items:center;gap:11px;min-height:42px;padding:10px 11px;border-radius:8px;color:#747a8e;font-size:13px;font-weight:550;line-height:1.4;cursor:pointer;list-style:none;user-select:none}
.workspace .nav-group>summary::-webkit-details-marker {display:none}
.workspace .nav-group>summary::marker {content:""}
.workspace .nav-group>summary:hover {background:#faf8ff;color:var(--purple)}
.workspace .nav-group-icon {flex:none;opacity:.88}
.workspace .nav-group-chevron {flex:none;margin-left:auto;transition:transform .16s ease}
.workspace .nav-group[open]>.nav-group-links {padding:4px 0 4px 14px;margin:2px 0 8px 18px;border-left:1px solid var(--line)}
.workspace .nav-group[open]>summary {background:#faf8ff;color:var(--ink)}
.workspace .nav-group[open]>summary .nav-group-chevron {transform:rotate(180deg)}
.workspace .nav-group.has-current>summary {color:var(--purple)}
.workspace .nav-group-current {width:5px;height:5px;flex:none;border-radius:50%;background:var(--purple)}
.workspace .nav-group-links .nav-link {padding:8px 9px;gap:8px;font-size:12px}
.workspace .nav-group-links .nav-link svg {width:16px;height:16px}
@media(prefers-reduced-motion:reduce){.workspace .nav-group-chevron{transition:none}}
.workspace .person {order:2;border:0;border-radius:0;border-top:1px solid var(--line);padding:13px 5px 2px;gap:10px;margin:14px 0 0}
.workspace .person strong {font-size:13px;color:var(--ink)}
.workspace .person small {font-size:11px;color:var(--muted)}
.workspace .person .avatar {width:32px;height:32px;background:#f0eee4;color:#656153;border-radius:50%;font-size:12px}
.workspace .shell {margin-left:var(--rail)}
.workspace main {padding:28px clamp(18px,2.4vw,38px) 32px}
.workspace footer {font-size:11px;padding-top:8px}
.workspace :focus-visible {outline:2px solid #ad96ff;outline-offset:2px}
.workspace .sidebar :focus-visible {outline-color:#ad96ff}

/* Calendar */
.task-highlights{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}
.task-highlight{flex:1 1 180px;min-width:0;padding:13px 16px;border:1px solid var(--line);border-radius:10px;background:#fafafe}
.task-highlight small{font-size:11px;line-height:1.5;margin-bottom:5px;color:#70748b}
.task-highlight strong{display:block;font-size:20px;line-height:1.4;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.task-key-date{background:#f8f5ff;border-color:#e5dcff}
.task-key-date strong{color:var(--purple)}
.task-priority{flex:0 1 180px}
.task-priority.high{background:#fff8eb;border-color:#eed9ad;color:#975807}
.task-priority.urgent{background:#fff1f4;border-color:#edb9c6;color:#ae1e40;box-shadow:inset 3px 0 #bd2349}
.task-priority.urgent small{color:#ae1e40}
.task-posting-summary{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.task-posting-summary>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0;border:1px solid var(--line);border-radius:7px;padding:6px 10px;font-size:12px;line-height:1.6}
.task-posting-summary span{color:#70748b;overflow-wrap:anywhere}.task-posting-summary strong{color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.task-editorial .task-context{font-size:11px;gap:8px 20px;margin-bottom:20px;padding-bottom:14px}
.task-brief-highlight{border:1px solid #e5dcff;border-left:3px solid var(--purple);border-radius:10px;background:#fcfaff;padding:16px;margin-bottom:18px}
.workspace .task-brief-highlight .field:last-child{margin-bottom:0}
.workspace .task-brief-highlight .field>span,.task-brief-highlight h2{color:#6545c6;font-weight:700}
.task-brief-highlight h2{font-size:15px;margin-bottom:8px}.task-reference{margin-bottom:20px}.task-reference h2{font-size:14px;color:#70748b;margin-bottom:8px}
.task-brief-highlight textarea{border-color:#dcd3f0}
@media(max-width:600px){.task-highlight,.task-priority{flex:1 1 130px;padding:11px 12px}.task-highlight strong{font-size:17px}.task-brief-highlight{padding:12px}.task-posting-summary>div{flex:1 1 100%;justify-content:space-between}}
.planner {--rule:var(--line);--teal:var(--purple)}
.planner-head,.planner-period,.planner-actions,.planner-arrows,.view-switch,.planner-filters,.planner-filters nav {display:flex;align-items:center}
.planner-head {gap:12px 24px;justify-content:space-between;flex-wrap:wrap;margin-bottom:18px}
.planner-period,.planner-actions {gap:12px;flex-wrap:wrap}
.planner h1 {margin:0 6px 0 0;color:var(--ink);font-size:clamp(24px,2.3vw,36px);font-weight:640;letter-spacing:-.045em;line-height:1.24}
.planner a:hover {text-decoration:none}
.planner-arrows {gap:2px}
.period-arrow,.planner-today,.view-switch a,.assign-link {display:inline-flex;align-items:center;justify-content:center;min-height:32px;border-radius:6px;color:var(--ink);font-size:13px;font-weight:550}
.period-arrow {font:25px/1 system-ui;width:30px}
.period-arrow:hover,.planner-today:hover {background:var(--lavender)}
.planner-today {padding:2px 10px;border:1px solid var(--line)}
.view-switch {padding:3px;border:1px solid var(--line);background:#f2f1f7;border-radius:8px}
.view-switch a {min-width:35px;min-height:27px;padding:2px 8px;color:#65687d}
.view-switch a.is-selected {background:white;color:var(--purple);box-shadow:0 1px 4px #32214b20}
.assign-link {gap:5px;padding:5px 13px;background:var(--purple);color:white}
.assign-link:hover {background:#6540df}
.assign-link span {font-size:17px;line-height:1}
.planner-sheet {background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.planner-filters {padding:11px 15px;justify-content:space-between;gap:12px}
.planner-filters nav {gap:5px;flex-wrap:wrap}
.period-count {color:#676a7e;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.milestone-filter {display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:4px 10px;color:#696d81;font-size:12px;line-height:1.5}
.milestone-filter:hover {background:#f7f5ff}
.milestone-filter.is-selected {background:var(--lavender);color:var(--purple);font-weight:650}
.kind-created,.cal-created {--dot:#607782;--wash:#edf2f4}
.kind-draft_due,.cal-draft_due {--dot:#7355a6;--wash:#f3eef9}
.kind-deadline,.cal-deadline {--dot:#aa552c;--wash:#fff0e5}
.kind-posting_date,.cal-posting_date {--dot:#297656;--wash:#e8f4eb}
.milestone-filter[class*="kind-"]::before {content:"";width:7px;height:7px;border-radius:50%;background:var(--dot)}
.calendar-grid {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:var(--rule);border-top:1px solid var(--rule)}
.weekday {padding:7px 10px;background:var(--bg);color:#64697d;font-size:12px;font-weight:550}
.calendar-day,.calendar-pad {padding:7px 8px;min-height:clamp(72px,10vh,122px);min-width:0;background:white}
.calendar-pad {color:#9397a8;background:#f7f7fb;padding:10px 15px;font-size:13px}
.calendar-day.weekend {background:#fcfbff}
.calendar-day.is-today {background:#f7f3ff;box-shadow:inset 0 2px var(--purple)}
.calendar-date {display:inline-grid;place-items:center;min-width:24px;min-height:24px;color:var(--ink);font-size:13px;font-weight:550;font-variant-numeric:tabular-nums;border-radius:50%}
.calendar-date:hover {background:var(--lavender)}
.is-today .calendar-date {background:var(--purple);color:white}
.today-label {font-size:11px;color:#6e4bcc;margin-left:5px}
.cal-event {display:grid;gap:1px;border-radius:4px;border-left:3px solid var(--dot);background:var(--wash);color:var(--ink);padding:4px 6px;margin-top:4px;min-width:0}
.cal-event:hover {outline:1px solid var(--dot)}
.cal-event small,.cal-event strong {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.45}
.cal-event small {color:#5f6273;font-size:11px}
.cal-event strong {font-size:12px}
.compact-events {display:none}
.more-events,.page-step {display:inline-block;font-size:12px;color:var(--teal);margin:6px}
.week-view .calendar-day {min-height:200px}
.day-view {grid-template-columns:1fr}
.day-view .calendar-day {padding:16px}
.day-view .cal-event {padding:9px 12px}
.day-view .cal-event strong {font-size:14px;white-space:normal}
.day-view .calendar-day>p {margin:18px 0;color:var(--muted);font-size:14px}

@media(max-width:800px){
  .workspace .sidebar {width:100%;padding:6px 12px 8px}
  .workspace .brand {margin:0;padding:0}
  .workspace .brand img {width:117px;height:34px}
  .workspace .sidebar nav {margin-top:4px;gap:4px;display:flex;flex-wrap:wrap;overflow:visible;align-items:flex-start}
  .workspace .sidebar nav>.nav-link {flex-basis:100%}
  .workspace .nav-group {flex:1 1 calc(50% - 4px);min-width:0;margin:0}
  .workspace .nav-group>summary {min-height:40px;padding:8px 9px;gap:7px;font-size:12px}
  .workspace .nav-group[open] {flex-basis:100%}
  .workspace .nav-group[open]>.nav-group-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 4px;padding:4px 0 4px 8px;margin:4px 0 6px 16px}
  .workspace .nav-group-links .nav-link {white-space:normal;min-width:0;overflow-wrap:anywhere}
  .workspace .nav-link {padding:7px 9px;min-height:32px;gap:6px;font-size:12px}
  .workspace .nav-link svg {width:15px;height:15px}
  .workspace .shell {margin-left:0}
  .workspace main {padding:19px 12px 28px}
}
@media(max-width:650px){
  .planner-head {align-items:flex-start;margin-bottom:12px}
  .planner-period {gap:4px}
  .planner-filters {padding:7px 6px}
  .planner-filters nav {gap:1px}
  .milestone-filter {padding:5px 6px;font-size:11px;gap:4px}
  .period-count {display:none}
  .weekday {text-align:center;padding:6px 0;font-size:11px}
  .calendar-pad,.calendar-day {padding:4px 2px;min-height:64px}
  .calendar-pad {padding-left:6px}
  .calendar-date {min-width:28px;min-height:28px}
  .today-label {display:none}
  .month-view .cal-event,.month-view .more-events {display:none}
  .compact-events {display:block;padding:2px 1px;background:var(--lavender);color:var(--purple);border-radius:4px;font-size:11px;font-weight:600;text-align:center}
  .week-view {grid-template-columns:1fr}
  .week-view .weekday {display:none}
  .week-view .calendar-day {min-height:40px;padding:6px 10px}
  .more-events {font-size:10px;margin:2px;overflow-wrap:anywhere}
}
.notice-bell{position:relative}.notice-bell summary{display:grid;place-items:center;position:relative;width:36px;height:36px;border-radius:50%;background:#f5f3fa;color:var(--ink);cursor:pointer;list-style:none}.notice-bell summary::-webkit-details-marker{display:none}.notice-bell[open] summary{background:var(--lavender);color:var(--purple)}#bell-count{position:absolute;right:-4px;top:-5px;background:var(--red);color:white;border-radius:12px;padding:0 5px;font:600 11px/17px system-ui}.bell-panel{position:absolute;z-index:15;right:0;top:44px;width:min(360px,calc(100vw - 28px));padding:16px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 28px #28213d20}.bell-panel h2{margin-bottom:8px}.bell-panel .notice-task{grid-template-columns:minmax(0,1fr);gap:9px;padding:12px 10px;font-size:13px}.bell-panel .notice-copy strong{font-size:13px}.bell-panel .notice-task.urgent{background:#fff8fa}.bell-panel .notice-task.high{background:#fffcf6}.bell-panel .notice-task:hover{background:#f7f5ff}.bell-panel .notice-context{margin-top:5px}.bell-panel .notice-date{margin-top:6px}.bell-panel .notice-meta>.notice-date:first-child{margin-top:0}.bell-panel .notice-task:last-child{border-bottom:0}.bell-panel>a{display:block;margin-top:10px;font-size:13px}#bell-items{max-height:52vh;max-height:min(560px,52dvh);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.settings-tabs{display:flex;gap:6px;margin-bottom:20px}.settings-tabs a{padding:6px 12px;border-radius:7px;color:var(--ink)}.settings-tabs [aria-current]{background:var(--lavender);color:var(--purple)}@media(max-width:650px){.bell-panel{position:fixed;top:auto;right:12px;margin-top:7px}}
.month-picker{display:flex;align-items:center;gap:10px;margin-bottom:14px}.month-picker input{width:auto}
.headline-row{display:grid;gap:4px;border-bottom:1px solid var(--line);padding:12px 0}.headline-row strong{font-size:15px}.headline-row div{display:flex;gap:8px}.headline-row button:disabled{cursor:default;color:var(--purple);opacity:.85}.saved-titles,.pattern-list{margin:12px 0}.title-workshop [data-caption-facts]:not(:empty){margin:8px 0;font-size:12px}
.workspace .card:not(.table-card){padding:clamp(16px,1.6vw,24px);margin-bottom:16px}
.workspace .form-grid{max-width:none}
.workspace .field{margin-bottom:15px;gap:4px}
.workspace .field>span{font-size:12px}
.assignment-header,.point-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.assignment-header{margin:0 0 18px}.assignment-header h1{margin:0;font-size:28px}
.assignment-columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;align-items:start}
.assignment-column,.form-section{min-width:0}
.workspace .form-section{border-radius:12px;box-shadow:0 2px 6px #28233c05}
.form-section h2{display:flex;align-items:center;gap:9px;margin:0 0 15px;font-size:16px;letter-spacing:-.02em}
.form-section h2:before{content:"";width:4px;height:15px;border-radius:2px;background:var(--purple)}
.assignment .form-grid{gap:0 14px}.assignment .field{margin-bottom:12px}
.assignment input:not([type=checkbox]),.assignment select,.assignment textarea{padding:7px 9px;font-size:14px;line-height:1.45}
.assignment textarea{min-height:62px}.assignment [rows="2"]{min-height:50px}
.assignment .title-workshop{margin:0 0 12px}.assignment .field:last-child,.assignment .form-grid>.field:nth-last-child(2){margin-bottom:0}
.assignment .form-grid+.platform-field{margin-top:16px}
.workspace .point-section{background:linear-gradient(110deg,#faf7ff,white 85%);border-color:#dfd5f7}
.point-heading{margin-bottom:14px}.point-heading h2{margin:0}.point-heading>div{color:#675a81;font-size:12px}
.point-heading output{color:var(--purple);font-size:26px;font-weight:680;line-height:1}
.point-section .hint{margin:12px 0 0;font-size:12px}.point-section .hint:empty{display:none}
.platform-field .platform-choices{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:9px}
.platform-field .platform-choices label{display:flex;margin:0;gap:5px;padding:5px 8px;border:1px solid var(--line);border-radius:7px;color:#626578;font-size:12px;cursor:pointer}
.platform-choices label:has(:checked){background:var(--lavender);border-color:#c7b8fa;color:#6040cc}
.platform-choices input{width:13px;height:13px;margin:0}
.platform-field .platform-date{display:grid;grid-template-columns:minmax(0,1fr) minmax(8rem,.9fr);align-items:center;gap:8px;max-width:none;margin:5px 0 0;font-size:12px}
.assignment .platform-field{margin:0;padding:0;border:0}.assignment .platform-field legend{margin-bottom:6px;font-size:12px;color:#707486;font-weight:600}
@media(max-width:1080px){.assignment-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.assignment .form-grid{grid-template-columns:1fr}.assignment .form-grid>.field:nth-last-child(2){margin-bottom:12px}}
@media(max-width:740px){.assignment-columns{grid-template-columns:1fr;gap:0}.assignment .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.assignment-header h1{font-size:24px}}
@media(max-width:430px){.assignment-header .button{padding:7px 10px}.assignment .form-grid{gap:0 9px}.platform-field .platform-date{grid-template-columns:1fr 8rem}}
.check-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:var(--lavender);border:1px solid #d9cbff;border-radius:9px;padding:8px 12px;margin-bottom:15px;color:#593c9c;font-size:13px}.check-bar form{margin:0;display:flex;align-items:center;gap:6px}.check-bar select{width:auto;max-width:54vw;padding:4px 6px}.check-bar form:last-child{margin-left:auto}

@media(max-width:740px){.assignment-header{position:sticky;top:0;z-index:2;background:var(--bg);padding:7px 0}}

.assignment [data-assignee-field][hidden],.assignment [data-open-hint][hidden]{display:none}
.assignment [data-open-hint]{align-self:center;margin:0 0 10px;line-height:1.5}
.claim-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px}
.claim-card h2{margin:4px 0 8px;overflow-wrap:anywhere}.claim-card small{display:block;color:var(--muted)}
.claim-card details{margin:10px 0}.claim-card form{margin-top:9px}.claim-card strong{display:block;margin-bottom:5px}
@media(max-width:650px){.claim-card{grid-template-columns:minmax(0,1fr);gap:12px}}

.sheet-public{margin:0;background:var(--bg);color:var(--ink)}
.sheet-public main{max-width:1180px;margin:auto;padding:clamp(14px,3vw,42px)}
.sheet-brand,.sheet-head,.sheet-controls,.sheet-sharing{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.sheet-brand,.sheet-head{justify-content:space-between}.sheet-brand{font-size:13px;font-weight:700}
.sheet-panel{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.sheet-head{padding:16px 20px;border-bottom:1px solid var(--line)}.sheet-head h2{margin:4px 0 0}.sheet-head small{color:var(--muted)}
.sheet-controls,.sheet-sharing{margin:0 0 15px}.sheet-controls label,.sheet-sharing label{font-size:13px;font-weight:600}
.sheet-controls input,.sheet-controls select,.sheet-sharing input{padding:7px 9px;border-radius:7px;border:1px solid var(--line);max-width:100%;background:white;color:var(--ink)}
.sheet-sharing form{margin:0}.sheet-sharing input{width:clamp(12rem,28vw,32rem)}
.sheet-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:var(--line)}
.sheet-grid>div{background:#fff}.sheet-weekday{background:var(--bg);text-align:center;font-size:12px;padding:8px}
.sheet-day{padding:8px;min-height:74px;font-size:13px}.sheet-day a{display:block}.sheet-day small{display:block;margin-top:4px;padding:2px 4px;border-radius:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:var(--lavender);color:var(--purple)}
.sheet-entry{display:grid;grid-template-columns:minmax(95px,15%) minmax(0,1fr);gap:18px;padding:16px 20px;border-bottom:1px solid var(--line)}.sheet-entry small,.sheet-file{display:block;margin:5px 0}.sheet-entry h3{margin:0}.sheet-caption{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}
.sheet-empty{padding:0 18px}.sheet-controls .button,.sheet-sharing .button{white-space:normal}
@media(max-width:560px){.sheet-day{padding:4px;min-height:50px}.sheet-day small{font-size:10px}.sheet-entry{grid-template-columns:1fr;gap:5px}.sheet-entry small{display:inline;margin-left:8px}.sheet-head{padding:12px}}


.sheet-title {font-size:clamp(22px,2vw,28px);margin:0 0 12px}
.sheet-toolbar {display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}
.sheet-toolbar .sheet-controls {align-items:end;gap:8px 10px;margin:0;max-width:100%}
.sheet-toolbar label,.sheet-link-body label {display:grid;min-width:0;gap:3px;color:var(--ink)}
.sheet-toolbar .sheet-controls :is(select,input:not([type=hidden]),button),.sheet-link-menu>summary {height:36px;min-height:36px;padding:5px 11px}
.sheet-toolbar select {width:clamp(12rem,22vw,19rem)}
.sheet-toolbar .sheet-controls input[type=month] {width:11.5rem}
.sheet-link-menu {position:relative;margin-inline-start:auto}
.sheet-link-menu>summary {display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer}
.sheet-link-menu>summary::-webkit-details-marker {display:none}
.sheet-link-menu>summary::after {content:"";width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg)}
.sheet-link-menu[open]>summary::after {transform:translateY(2px) rotate(225deg)}
.sheet-link-body {position:absolute;z-index:3;inset-inline-end:0;top:calc(100% + 6px);width:min(20rem,84vw);padding:14px;display:grid;gap:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface,#fff);box-shadow:0 6px 18px #261d3e19;font-size:13px}
.sheet-link-body :is(p,form) {margin:0}
.sheet-link-body input {width:100%;min-width:0;border:1px solid var(--line);border-radius:6px;padding:6px 8px;color:var(--ink);background:var(--bg)}
.sheet-link-actions {display:flex;align-items:center;gap:12px}
.sheet-legacy {display:grid;justify-items:start;gap:6px;padding-top:10px;border-top:1px solid var(--line)}
.sheet-schedule,.sheet-schedule .sheet-day {background:var(--surface,#fff)}
.sheet-schedule .sheet-head {padding:10px 16px;gap:8px}
.sheet-period {display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 12px;min-width:0;overflow-wrap:anywhere}
.sheet-period h2 {margin:0;font-size:20px}
.sheet-period small {font-size:13px}
.sheet-schedule .sheet-empty {margin:0;padding:7px 16px;font-size:13px;color:var(--ink)}
.sheet-schedule .sheet-grid {border-block:1px solid var(--line)}
.sheet-head+.sheet-grid {border-top:0}
.sheet-schedule .sheet-weekday {padding:5px 0;font-weight:600;color:var(--muted)}
.sheet-schedule .sheet-day {min-width:0;min-height:clamp(45px,calc((100svh - 380px) / var(--sheet-weeks)),118px);padding:5px 8px}
.sheet-day time,.sheet-schedule .sheet-outside {font-variant-numeric:tabular-nums}
.sheet-day time {display:inline-grid;place-items:center;min-width:22px;height:22px}
.sheet-day time[aria-current=date] {border-radius:50%;background:var(--purple);color:var(--surface,#fff);font-weight:700}
.sheet-schedule .sheet-outside {color:var(--muted);background:var(--bg);padding:5px 8px;text-indent:4px}
.sheet-policy {padding:7px 16px;color:var(--muted);font-size:12px}
.sheet-policy summary {cursor:pointer;width:fit-content}
.sheet-policy p {margin:5px 0 2px;color:var(--ink)}
.sheet-nav-toggle {display:none}
@media(max-width:800px){
  .workspace .sidebar:has(.sheet-nav-toggle) {display:grid;grid-template-columns:1fr auto;align-items:center}
  .sheet-nav-toggle:not([hidden]) {display:inline-flex}
  .sheet-nav-toggle+nav {grid-column:1/-1}
  .workspace .sheet-nav-toggle:not([hidden])[aria-expanded=false]+nav {display:none}
}
@media(max-width:700px){
  .sheet-toolbar {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .sheet-toolbar .sheet-controls {display:contents}
  .sheet-toolbar .sheet-controls :is(select,input[type=month]) {width:100%;min-width:0}
  .sheet-link-menu {margin:0}
  .sheet-link-menu>summary {justify-content:center}
  .sheet-link-body {inset-inline:auto 0}
  .sheet-schedule .sheet-head {padding:9px 10px}
  .sheet-period {display:grid;gap:0}
  .sheet-period h2 {font-size:17px}
  .sheet-schedule .sheet-day {padding:3px;min-height:clamp(38px,calc((100svh - 498px) / var(--sheet-weeks)),64px)}
  .sheet-schedule .sheet-outside {text-indent:4px}
}

.sheet-preview{max-width:900px;margin:0 auto}
.sheet-preview-head,.sheet-preview-files,.sheet-preview-copy,.sheet-preview-empty{padding:14px clamp(14px,3vw,26px)}
.sheet-preview-head{border-bottom:1px solid var(--line)}
.sheet-preview-files{display:flex;gap:8px;flex-wrap:wrap}
.sheet-preview-files a{border:1px solid var(--line);border-radius:8px;padding:6px 10px;overflow-wrap:anywhere}
.sheet-preview-files a[aria-current=true]{background:var(--lavender);color:var(--purple);border-color:#cfc1fc}
.sheet-preview-media{margin:0}.sheet-preview-media>:is(img,video,iframe){display:block;width:100%;height:clamp(240px,60vh,640px);background:#171721;border:0;object-fit:contain}
.sheet-preview-media figcaption{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;color:var(--muted);font-size:13px;padding:8px clamp(14px,3vw,26px);overflow-wrap:anywhere}
.sheet-preview-copy h2{margin:0 0 8px;overflow-wrap:anywhere}
.check-example-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line);color:var(--ink)}
.check-example-row small{color:var(--purple);white-space:nowrap}.check-example-row:hover span{text-decoration:underline}

.kind-leave,.cal-leave{--dot:#7459a7;--wash:#f2ecfa}

.leave-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:16px;align-items:start}
.leave-layout .review-seat{overflow-wrap:anywhere}
.leave-layout .review-seat form{margin-inline-start:auto}
@media(max-width:740px){
  .month-view .cal-leave{display:block;padding:0 2px}
  .month-view .cal-leave small,.month-view .cal-leave strong{display:block;font-size:10px;line-height:1.3}
}

.kind-holidays,.cal-holiday{--dot:var(--purple);--wash:var(--lavender)}
.cal-festival{--dot:#a18bbd;--wash:#f6f3fa}
.holiday-context{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 16px;margin:-4px 0 12px;color:var(--muted);font-size:12px}
.holiday-note{font-size:12px;color:var(--muted)}
.holiday-source{font-size:12px;width:fit-content;color:var(--purple);margin-top:4px}
@media(max-width:740px){
  .month-view .cal-holiday{display:block;padding:2px;border-left-width:2px}
  .month-view .cal-holiday small{display:none}
  .month-view .cal-holiday strong{display:block;font-size:10px;line-height:1.3}
}
.sheet-decision-actions{display:flex;align-items:flex-start;flex-wrap:wrap;gap:.5rem;margin:.6rem 0}
.sheet-decision-actions details[open]{flex-basis:100%}
.sheet-decision-actions details>summary{cursor:pointer}
.sheet-decision-actions details form{display:grid;justify-items:start;gap:.55rem;margin-top:.6rem}
.sheet-decision-actions label{width:min(100%,34rem)}
.sheet-decision-actions textarea{box-sizing:border-box;width:100%;resize:vertical}
.sheet-versions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
.sheet-version-label,.sheet-previous summary{font-size:1rem;margin:0;padding:14px clamp(14px,2vw,24px)}
.sheet-version-label{grid-area:1/1;color:var(--ink)}
.sheet-previous{grid-area:1/2;min-width:0;overflow-wrap:anywhere}
.sheet-previous summary{color:var(--purple);font-weight:650;cursor:pointer}
.sheet-previous summary:focus-visible{outline:2px solid currentColor;outline-offset:-3px}
.sheet-current{grid-area:2/1/3/-1;min-width:0}
.sheet-previous .sheet-preview-copy h3{margin:0 0 .4rem}
.sheet-previous .sheet-preview-copy p{margin:0 0 1rem}
@media(min-width:760px){
  .sheet-versions:has(.sheet-previous[open]){grid-template-columns:repeat(2,minmax(0,1fr))}
  .sheet-previous[open]{grid-row:1/3;border-inline-start:1px solid var(--line)}
  .sheet-previous[open]+.sheet-current{grid-column:1}
}
@media(max-width:759px){
  .sheet-previous[open]{grid-area:2/1/3/-1;border-block:1px solid var(--line)}
  .sheet-previous[open]+.sheet-current{grid-row:3}
}
