@font-face{font-family:Thai;src:url('/fonts/NotoSansThai-Regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Thai;src:url('/fonts/NotoSansThai-Bold.ttf') format('truetype');font-weight:600 800;font-display:swap}
:root{--ink:#202b43;--muted:#748097;--blue:#4b55dc;--line:#e7eaf2;--pale:#f6f8fc;--radius:16px}*{box-sizing:border-box}body{margin:0;background:#f8f9fd;color:var(--ink);font:14px/1.75 Thai,system-ui,sans-serif}h1,h2,h3,p{margin-top:0}h2{font-size:19px;letter-spacing:-.3px;margin-bottom:12px}h3{font-size:15px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,.button{border:1px solid #dde2f0;border-radius:9px;padding:10px 15px;background:white;color:#505d78;cursor:pointer;font-size:12px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none}button:hover:not(:disabled),.button:hover{border-color:#bcc5f1;background:#f4f5ff}button.primary,.primary{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 4px 9px #4b55dc17}button.primary:hover:not(:disabled){background:#3f49c6}button:disabled{cursor:not-allowed;opacity:.55;box-shadow:none}button.text-button{border:0;background:none;color:var(--blue);padding-inline:0}.text-link{color:var(--blue);text-decoration:underline;text-underline-offset:3px}:focus-visible{outline:3px solid #8a93f3;outline-offset:3px}a{color:var(--blue)}[hidden]{display:none!important}.skip-link{position:fixed;top:-100px;left:20px;background:white;padding:10px;z-index:20}.skip-link:focus{top:10px}.team-shell{display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:31px 20px 22px;position:sticky;top:0;height:100vh;overflow:auto;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;padding:0 7px;color:#25304a;text-decoration:none;font:750 27px/1.15 system-ui,sans-serif;letter-spacing:-1px}.brand small{display:block;font:650 8px/1.5 system-ui;letter-spacing:2px;color:#8b96af;margin-top:7px}.brand-mark{width:38px;height:41px;display:grid;place-items:center;background:var(--blue);color:white;border-radius:12px;font:28px system-ui;box-shadow:0 5px 15px #4b55dc22}.workspace-card{display:flex;align-items:center;gap:10px;background:#f8f9fd;border:1px solid var(--line);padding:12px 10px;margin:30px 0 23px;border-radius:11px;min-width:0}.avatar{width:34px;height:34px;flex-shrink:0;display:grid;place-items:center;background:#edf0ff;border:1px solid #dfe5fc;border-radius:10px;color:#6979b4;font:bold 15px system-ui}.workspace-card strong{font-size:11px;display:block;overflow-wrap:anywhere}.workspace-card small{font-size:10px;color:var(--muted)}.nav-label{font:650 9px system-ui;letter-spacing:1.5px;color:#98a1b6;padding-left:12px;margin-bottom:12px}nav{display:grid;gap:4px}nav button{background:transparent;border-color:transparent;justify-content:flex-start;gap:12px;min-height:41px;text-align:left;color:#727e94;font-size:12px;padding:9px 13px;white-space:nowrap}nav button>span{font:20px/1 system-ui;width:22px;color:#8b96b0;text-align:center}nav button.active{background:#eeefff;color:var(--blue);font-weight:bold;border-color:transparent}nav button.active>span{color:var(--blue)}.sidebar-note{margin-top:auto;padding:24px 12px 0}.sidebar-note strong{font-size:11px}.sidebar-note p{font-size:10px;color:var(--muted);margin:6px 0 16px}.sidebar-note small{font:8px system-ui;color:#97a1b5;letter-spacing:.6px}main{width:100%;max-width:1550px;margin:0 auto;padding:0 38px;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:80px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.topbar>div>span{margin:0 12px;color:#c0c7d7}.topbar strong{color:#56627c;font-weight:400}.account{display:flex;align-items:center;gap:16px}.account button{min-height:33px;padding:6px 10px;font-size:10px}.environment{display:flex;gap:10px;align-items:center;padding-top:20px;font-size:10px;color:var(--muted)}.environment strong{font:650 9px system-ui;letter-spacing:.5px;background:#eef0fc;color:#6977b3;border:1px solid #e0e5f7;border-radius:5px;padding:5px 7px;white-space:nowrap}.heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:30px 0 25px}.eyebrow{font:650 9px system-ui;letter-spacing:1.8px;color:#818bb5}h1{font-size:29px;letter-spacing:-.7px;line-height:1.6;margin:7px 0 5px}h1 span{color:var(--blue)}.heading p{font-size:12px;color:var(--muted);margin:0}.heading>.primary{white-space:nowrap}.panel,.task-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:0 3px 12px #23346102;min-width:0}.panel p{font-size:12px;color:var(--muted)}.split{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;align-items:start}.lower{margin-top:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-heading h2{margin:0}.muted{color:var(--muted);font-size:11px}.notice{background:#f1f3ff;border:1px solid #e4e8fd;border-radius:10px;padding:15px 18px;color:#66759a;font-size:11px;margin:16px 0;line-height:1.9}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px}.stat-grid>div{background:white;border:1px solid var(--line);border-radius:14px;padding:20px 22px;position:relative}.stat-grid small{color:var(--muted);font-size:11px;display:block}.stat-grid strong{font:650 30px/1.5 system-ui;letter-spacing:-1px;display:block;margin:8px 0;color:#33425f}.stat-grid span{color:#98a3b7;font-size:10px}.stat-grid>div:before{content:'';display:block;height:3px;width:24px;background:#d2d8f7;border-radius:3px;margin-bottom:13px}.stat-grid>div:nth-child(2):before{background:#e9c581}.stat-grid>div:nth-child(3):before{background:#8fb8a8}.stat-grid>div:nth-child(4):before{background:#a99bd8}.task-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin-top:18px}.task-card{padding:20px;overflow-wrap:anywhere}.task-card h3{font-size:14px;margin:15px 0 9px;line-height:1.8}.task-card p{font-size:11px;color:var(--muted);margin-bottom:12px}.task-card .actions{border-top:1px solid #f0f2f7;padding-top:14px;margin-top:16px}.task-card button{font-size:10px;padding:7px 10px;min-height:34px}.badge{display:inline-block;background:#f0f2f8;color:#77839d;border-radius:6px;padding:3px 8px;font-size:10px;white-space:normal}.badge.review{color:#947135;background:#fcf4e2}.badge.approved{color:#437d66;background:#eaf5ef}.badge.draft{color:#747aaa;background:#f0f1fc}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:15px 0;overflow-wrap:anywhere}.row:last-child{border:0}.row strong{font-size:12px;display:block}.row small{font-size:10px;color:var(--muted)}.row button{font-size:10px;flex-shrink:0}.empty{grid-column:1/-1;padding:35px 20px;border:1px dashed #dce2f1;background:#fafbff;border-radius:12px;text-align:center}.empty strong{display:block;font-size:14px;margin-bottom:8px;color:#5c6987}.empty p{font-size:12px;color:var(--muted);margin:0 auto 15px;max-width:480px}.toolbar{display:flex;align-items:end;gap:14px;background:white;border:1px solid var(--line);border-radius:12px;padding:16px 20px}.toolbar label:first-child{flex:1}.toolbar label{margin:0;min-width:0}.toolbar input{min-width:0}.toolbar button{flex-shrink:0}label{display:grid;gap:7px;margin:17px 0;font-size:12px;color:#65718a}input:not([type=checkbox]),textarea,select{display:block;width:100%;min-width:0;background:white;border:1px solid #dfe4ef;border-radius:8px;color:var(--ink);padding:11px 12px;font-size:12px;line-height:1.8}input::placeholder,textarea::placeholder{color:#a0a9ba}input:focus,textarea:focus,select:focus{outline:0;border-color:#8b96ea;box-shadow:0 0 0 3px #4b55dc0d}textarea{min-height:92px;resize:vertical}input:disabled,textarea:disabled,select:disabled{background:#f8f9fc;color:#737e94}form{margin:0}form>.primary{margin-top:7px}.two{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.checkbox{display:flex;align-items:flex-start;gap:9px;line-height:1.8}.checkbox input{width:16px;height:16px;flex-shrink:0;margin-top:3px;accent-color:var(--blue)}details{margin-top:18px}summary{cursor:pointer;font-size:12px;color:#5c6aa4;min-height:32px}pre,.prose{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.9 Thai,system-ui;max-height:440px;overflow:auto}.wrap{overflow-wrap:anywhere}.kanban{display:grid;grid-template-columns:repeat(4,minmax(230px,1fr));gap:15px;overflow:auto;padding-bottom:16px}.kanban-column{background:#f0f2f9;border:1px solid #e7eaf3;padding:15px;border-radius:14px;min-height:390px}.kanban-column>h3{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#616e88;margin-bottom:19px}.kanban-column>h3 small{background:#e4e8f3;border-radius:5px;padding:2px 7px}.kanban-column .task-card{margin:12px 0;padding:16px}.kanban-column .empty{background:transparent;font-size:11px;padding:20px 10px}.calendar-tools{display:flex;align-items:center;gap:8px}.calendar-tools label{margin:0;font-size:10px}.calendar-scroll{overflow:auto}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(100px,1fr));gap:7px}.calendar-day{background:white;border:1px solid var(--line);border-radius:9px;padding:9px;min-height:120px}.calendar-day>strong{display:block;font:12px system-ui;color:#77849c}.calendar-day.today{border-color:#9ea8eb;background:#f7f7ff}.calendar-blank{background:#f2f4fa;border-radius:9px}.calendar-label{font-size:10px;text-align:center;color:#8995aa;padding:10px}.calendar-task{display:block;text-align:left;font-size:10px;padding:7px;background:#f0f1ff;color:#626aa8;border:0;border-radius:6px;margin-top:8px;cursor:pointer;width:100%;overflow-wrap:anywhere;min-height:32px}.preview-panel{position:sticky;top:24px}.preview-author{display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line);padding:20px 0;margin:6px 0 20px}.preview-author strong{font-size:12px}.preview-author small{display:block;color:var(--muted);font-size:10px}.preview-art{min-height:215px;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;background:radial-gradient(ellipse at 70% 0%,#e4e8ff,transparent 70%),linear-gradient(135deg,#f7f8ff,#eff2fc);border-radius:12px;text-align:center;padding:20px;margin:20px 0}.preview-art>span{width:60px;height:60px;display:grid;place-items:center;font:34px system-ui;color:#939fce;background:#ffffffc9;border:1px solid white;border-radius:17px;transform:rotate(-7deg);box-shadow:0 12px 25px #7184bc15;margin-bottom:6px}.preview-art strong{font-size:12px;color:#8491b0;font-weight:400}.preview-art small{font-size:10px;color:#96a1bb}.connector-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.connector-card{background:white;border:1px solid var(--line);border-radius:16px;padding:25px}.connector-card h3{font:650 22px system-ui;margin:14px 0}.connector-card ol{font-size:12px;color:var(--muted);padding-left:20px;line-height:2.2}.connector-card .provider-symbol{width:43px;height:43px;background:#f0f2ff;color:var(--blue);border-radius:12px;display:grid;place-items:center;font:700 25px system-ui}.connector-card p{font-size:12px;color:var(--muted)}.table-scroll{overflow:auto;margin:18px 0}table{width:100%;border-collapse:collapse;font-size:11px;text-align:left}th{font-weight:400;color:#929db3;background:#f8f9fd}th,td{padding:13px 14px;border-bottom:1px solid var(--line);white-space:nowrap}td{color:#586883}.member-row{padding:18px 0;border-bottom:1px solid var(--line)}.member-row strong{font-size:13px}.member-row select{max-width:130px;padding:7px}.member-row .actions{margin-top:10px}.member-row button{font-size:10px;padding:6px 10px;min-height:34px}#message,#dialog-message{background:#edf3ff;border:1px solid #dfe7fa;border-radius:10px;padding:13px 17px;color:#526bb3;font-size:12px;overflow-wrap:anywhere}#message.error,#dialog-message.error,#manual-message{background:#fff2ed;border-color:#f0dace;color:#a46448}#message button{margin-left:12px}#loading{font-size:12px;color:#7e89ab;padding:10px}#file-list a{display:block;padding:10px 0;font-size:12px;overflow-wrap:anywhere}#attachments{border-top:1px solid var(--line);margin-top:22px;padding-top:24px}#import-preview{margin:20px 0}#sources .row{display:block}#sources code{font-size:10px;overflow-wrap:anywhere}#audit-list{max-height:440px;overflow:auto}#audit-list .row{display:block}.login-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;max-width:970px;margin:15px auto 60px}.login-layout .panel{padding:34px}.login-layout .panel>p{font-size:12px}.login-layout form button{width:100%;margin-top:12px}.login-story{padding:30px 20px}.login-story h2{font-size:30px;line-height:1.8;margin:16px 0}.login-story p{font-size:13px;color:var(--muted)}.login-story ol{padding-left:25px;font-size:13px;color:#68769c;line-height:2.7}.login-story .notice{max-width:360px}dialog{color:var(--ink);width:min(730px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:0 25px 100px #26345833}dialog::backdrop{background:#202a4870;backdrop-filter:blur(4px)}dialog .section-heading{align-items:start}dialog .section-heading h2{margin:8px 0}#manual-dialog{max-width:560px}footer{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#9aa4b9;padding:34px 0 25px;margin-top:18px}
@media(min-width:1600px){main{padding-inline:55px}}@media(max-width:1150px){.team-shell{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding-inline:14px}.brand{font-size:24px}main{padding:0 24px}.stat-grid>div{padding:16px}.split{gap:15px}.panel{padding:20px}.heading h1{font-size:26px}}@media(max-width:900px){.split{grid-template-columns:1fr}.preview-panel{position:static}.login-layout{grid-template-columns:1fr;gap:10px}.login-story{display:none}.connector-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:1fr 1fr}.heading h1{font-size:23px}}@media(max-width:700px){.team-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;overflow:visible;padding:18px 16px 12px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:25px;width:fit-content}.brand-mark{height:36px;width:35px}.brand small{font-size:7px;margin-top:4px}.workspace-card,.sidebar-note,.nav-label{display:none}nav{display:flex;overflow:auto;gap:5px;padding:16px 0 3px;scrollbar-width:thin}nav button{min-height:38px;padding:8px 11px;font-size:11px;flex-shrink:0}nav button>span{font-size:16px;width:auto}main{padding:0 17px}.topbar{min-height:64px;font-size:10px;gap:8px}.topbar>div>span{margin-inline:5px}.account{gap:7px;max-width:60%;flex-wrap:wrap;justify-content:end}#identity{font-size:10px;overflow-wrap:anywhere;text-align:right}.account button{font-size:9px;min-height:28px;padding:3px 7px}.environment{align-items:flex-start;gap:8px;font-size:9px;line-height:1.7;padding-top:16px}.environment strong{font-size:8px}.heading{align-items:flex-start;padding:23px 0 22px;flex-wrap:wrap;gap:12px}.heading h1{font-size:23px}.heading p{font-size:11px}.heading>.primary{font-size:11px;min-height:38px}.eyebrow{font-size:8px}.stat-grid{gap:10px;margin-bottom:18px}.stat-grid>div{padding:16px}.stat-grid strong{font-size:27px}.stat-grid span{font-size:9px}.panel{padding:19px;border-radius:13px}.section-heading h2,h2{font-size:17px}.task-grid{grid-template-columns:1fr;gap:12px}.task-card{padding:18px}.toolbar{flex-wrap:wrap;padding:15px;gap:10px}.toolbar label:first-child{flex-basis:100%}.toolbar label:nth-child(2){flex:1}.toolbar button{font-size:10px}.two{grid-template-columns:1fr;gap:0}.calendar-tools{gap:4px}.calendar-tools input{padding:5px;font-size:10px}.calendar-tools button{padding:7px;min-height:32px}.calendar-grid{grid-template-columns:repeat(7,105px)}.calendar-day{min-height:110px}.kanban{grid-template-columns:repeat(4,255px)}.calendar-tools label{font-size:9px}.section-heading{flex-wrap:wrap}.login-layout .panel{padding:24px}.login-layout{margin:0 0 30px}.notice{font-size:10px;padding:13px 15px}footer{flex-direction:column;gap:4px;font-size:9px}dialog{padding:20px}.connector-card{padding:22px}.row{gap:8px}.row strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.script-item{display:block;width:100%;text-align:left;justify-content:flex-start;margin:9px 0;overflow-wrap:anywhere}.badge small{font-size:inherit}
.sidebar{min-width:0}@media(max-width:700px){.team-shell{grid-template-columns:minmax(0,1fr)}nav{max-width:100%}.panel p,.task-card p,label,input:not([type=checkbox]),textarea,select{font-size:12px}.task-card button{font-size:11px}.sidebar nav button{min-height:42px}}

@media(max-width:700px){.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.calendar-day{min-height:95px;padding:4px}.calendar-day>strong{font-size:10px;padding:2px}.calendar-label{font-size:9px;padding:7px 0}.calendar-task{font-size:9px;line-height:1.4;padding:4px;min-height:44px;max-height:44px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}}

/* Reference anonymous experience. Authenticated rules above are untouched. */
body.auth-screen{background:#f2faff;color:#101e37}.auth-screen .team-shell{display:block;min-height:100svh}.auth-screen .sidebar,.auth-screen .topbar,.auth-screen .environment,.auth-screen .heading,.auth-screen main>footer,.auth-screen #message,.auth-screen #loading,.auth-screen #private{display:none!important}.auth-screen main{max-width:none;padding:0}.auth-screen .login-layout{isolation:isolate;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;gap:0;max-width:none;min-height:100svh;margin:0;padding:66px 24px 36px;background:radial-gradient(ellipse at 50% 9%,#fff 0,transparent 45%),linear-gradient(125deg,#e3f3ff,#f8fcff 48%,#e5f5ff 75%,#fff)}.login-ribbons{position:absolute;inset:0;z-index:-2;pointer-events:none;opacity:.75}.login-ribbons svg{width:100%;height:100%;min-height:780px;fill:none}.login-layout:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,#f3fbff70,transparent 62%),linear-gradient(transparent 70%,#ffffffd9)}.login-language{position:absolute;right:30px;top:22px;display:flex;align-items:center;gap:9px;border:1px solid #fff;border-radius:28px;padding:6px 16px;background:#ffffff70;box-shadow:0 6px 25px #298dcc13;color:#36536d;font:14px system-ui}.login-language svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.5}.login-form-area{width:min(100%,510px);padding:35px 36px 31px;border:1px solid #ffffffed;border-radius:28px;background:#f4fbffb5;box-shadow:inset 0 0 18px #fff9,0 22px 70px #2589d326;backdrop-filter:blur(18px)}.login-form-inner h1{text-align:center;font-size:30px;line-height:1.5;letter-spacing:-.6px;margin:0 0 3px;color:#0b1930}.login-intro{text-align:center;font-size:16px;color:#4f6576;margin:0 0 27px}.login-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.login-input-wrap{position:relative;margin-top:14px}.login-input-wrap>svg{position:absolute;left:17px;top:18px;width:21px;height:21px;stroke:#40617a;stroke-width:1.7;pointer-events:none}.login-form-inner input:not([type=checkbox]){font-size:16px;line-height:1.6;height:58px;padding:13px 48px;border:1px solid #d0dee7;border-radius:13px;background:#ffffffed;color:#19334b;box-shadow:0 0 0 1px #d7e4ed45,inset 0 2px 3px #d9e4ec25}.login-form-inner input::placeholder{color:#718492}.login-form-inner input:focus{border-color:#1882e8;box-shadow:0 0 0 3px #1882e822}.login-form-inner .login-password-wrap input{padding-right:58px}.auth-screen #password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:44px;height:44px;min-height:44px;margin:0;padding:0;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;box-shadow:none;color:#58758b;cursor:pointer;touch-action:manipulation;-webkit-appearance:none;appearance:none}.auth-screen #password-toggle .password-eye{width:20px;height:20px;display:block;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.auth-screen #password-toggle .eye-open,.auth-screen #password-toggle[aria-pressed=true] .eye-off{display:none}.auth-screen #password-toggle[aria-pressed=true] .eye-open{display:initial}.auth-screen #password-toggle[aria-pressed=true]{color:#365f7e;background:#e5f0f680}.auth-screen #password-toggle:active{background:#dcebf4;color:#294f6c}@media(hover:hover){.auth-screen #password-toggle:hover{background:#e9f2f8;color:#365f7e}}.auth-screen #password-toggle:focus-visible{outline:2px solid #528ab2;outline-offset:-3px;background:#e9f2f8}.login-recovery{margin:7px 0 10px;text-align:right}.login-recovery summary{list-style:none;display:inline-block;color:#075bbd;font-size:13px;padding:9px 0;min-height:40px}.login-recovery summary::-webkit-details-marker{display:none}.login-recovery p{text-align:left;font-size:12px;color:#425e76;background:#ffffffb3;padding:12px;border-radius:9px;margin:0 0 12px}.auth-screen #login-submit{position:relative;display:flex;justify-content:center;width:100%;height:57px;margin:0;padding:12px 46px;border:1px solid #26c8f4;border-radius:13px;background:linear-gradient(180deg,#14b7f7 0%,#0874ec 31%,#034bd9 100%);box-shadow:0 10px 21px #087ff437,inset 0 1px 2px #8eeaff70;font-size:18px;font-weight:600;color:white}.auth-screen #login-submit:hover:not(:disabled){background:linear-gradient(#159fe7,#0644c9)}.auth-screen #login-submit svg{position:absolute;right:20px;top:17px;width:23px;height:23px;stroke:currentColor;stroke-width:1.8}.auth-screen :focus-visible{outline:3px solid #086ddb;outline-offset:4px}.login-divider{display:flex;align-items:center;gap:16px;margin:21px 0 16px;font-size:13px;color:#617585}.login-divider:before,.login-divider:after{content:'';height:1px;flex:1;background:#cadde9}.login-help{text-align:center;font-size:13px;color:#506777;margin:0}.login-help span{color:#075bbd;margin-left:6px}.login-features{width:min(100%,510px);display:flex;justify-content:space-between;gap:10px;margin:43px 0 0;color:#304f68}.login-features>div{display:flex;align-items:center;gap:10px}.login-features>div+div{border-left:1px solid #d8e8f1;padding-left:18px}.login-features svg{width:25px;height:25px;stroke:currentColor;stroke-width:1.6}.login-features strong{display:block;font-size:12px;font-weight:600;color:#263e55}.login-features small{display:block;font-size:10px;color:#526e82}.login-bottom{display:flex;align-items:center;gap:12px;font:9px system-ui;letter-spacing:2.6px;color:#688196;margin:40px 0 0;text-align:center}.login-bottom:before,.login-bottom:after{content:'';width:32px;height:1px;background:#c6dce9}#login-status{padding:11px 13px;margin:0 0 14px;border:1px solid #edc9c9;background:#fff3f3;color:#922c2c;border-radius:8px;font-size:12px;overflow-wrap:anywhere}
@media(min-width:1000px){.login-ribbons{width:min(100%,1500px);left:50%;transform:translateX(-50%)}.login-ribbons svg{min-height:100%}.auth-screen .login-layout{padding-top:50px;padding-bottom:30px}.login-features{margin-top:34px}.login-bottom{margin-top:30px}}
@media(max-width:600px){.auth-screen .login-layout{padding:65px 22px max(26px,env(safe-area-inset-bottom))}.login-language{top:17px;right:20px;font-size:11px;padding:5px 12px;gap:6px}.login-language svg{width:16px;height:16px}.login-form-area{padding:27px 20px 25px;border-radius:24px}.login-form-inner h1{font-size:25px}.login-intro{font-size:13px;margin-bottom:23px}.login-form-inner input:not([type=checkbox]){height:53px;padding-left:43px;font-size:16px;border-radius:11px}.login-input-wrap>svg{top:16px;left:14px;width:20px;height:20px}.auth-screen #password-toggle{right:5px}.login-input-wrap{margin-top:13px}.login-recovery summary{font-size:12px}.auth-screen #login-submit{height:53px;font-size:17px;border-radius:11px}.auth-screen #login-submit svg{top:15px;right:16px}.login-divider{margin:19px 0 14px;font-size:12px}.login-help{font-size:11px}.login-help span{margin-left:3px}.login-features{margin-top:32px;gap:7px}.login-features>div{gap:6px}.login-features>div+div{padding-left:9px}.login-features svg{width:20px;height:20px;flex-shrink:0}.login-features strong{font-size:10px}.login-features small{font-size:8px}.login-bottom{font-size:7px;letter-spacing:1.5px;gap:9px;margin-top:30px}.login-bottom:before,.login-bottom:after{width:19px}}
@media(max-width:600px) and (max-height:780px){.auth-screen .login-layout{padding-top:47px}.login-form-area{padding-top:23px;padding-bottom:22px}.login-intro{margin-bottom:20px}.login-features{margin-top:26px}.login-bottom{margin-top:25px}}
@media(max-width:360px){.auth-screen .login-layout{padding-inline:15px}.login-form-area{padding-inline:16px}.login-form-inner h1{font-size:23px}.login-features>div+div{padding-left:6px}.login-features svg{width:17px}.login-help{font-size:10px}}

/* Brand-free anonymous login: compact, safe-area aware composition. */
.auth-screen .login-layout{padding:clamp(88px,12svh,124px) 24px max(32px,env(safe-area-inset-bottom));}
.auth-screen .login-language{top:max(22px,env(safe-area-inset-top));right:max(26px,env(safe-area-inset-right));}
.auth-screen .login-form-area{width:min(100%,460px);padding:38px 34px 30px;border-radius:28px;background:linear-gradient(145deg,#ffffffdf,#edf8ffcc);box-shadow:inset 0 1px 0 #fff,0 24px 65px #1979bd1c;}
.auth-screen .login-form-inner h1{font-size:29px;letter-spacing:-.7px;margin-bottom:7px;}
.auth-screen .login-intro{font-size:14px;margin-bottom:28px;color:#506779;}
.auth-screen .login-input-wrap{margin-top:15px;}
.auth-screen .login-features{width:min(100%,460px);margin-top:28px;}
.auth-screen .login-bottom{margin-top:25px;color:#526c80;}
.auth-screen .login-ribbons{opacity:.55;}
@media(max-width:600px){
.auth-screen .login-layout{padding:clamp(84px,12svh,104px) max(20px,env(safe-area-inset-right)) max(26px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));}
.auth-screen .login-language{top:max(20px,env(safe-area-inset-top));right:max(20px,env(safe-area-inset-right));}
.auth-screen .login-form-area{padding:30px 22px 26px;border-radius:25px;}
.auth-screen .login-form-inner h1{font-size:26px;line-height:1.5;margin-bottom:7px;}
.auth-screen .login-intro{font-size:13px;margin-bottom:25px;}
.auth-screen .login-input-wrap{margin-top:14px;}
.auth-screen .login-features{margin-top:26px;}
.auth-screen .login-bottom{margin-top:24px;letter-spacing:1.25px;}
}
@media(max-width:360px){.auth-screen .login-layout{padding-inline:15px}.auth-screen .login-form-area{padding-inline:18px}.auth-screen .login-form-inner h1{font-size:24px}}


/* AUTHENTICATED STUDIO — scoped to leave the approved login byte-for-byte visually intact. */
body:not(.auth-screen){--ink:#23384d;--muted:#61768a;--blue:#0976cf;--line:#e0eaf1;--pale:#f4f9fc;--radius:18px;background:#f4f8fb;color:var(--ink);font-size:14px;line-height:1.7}
.ui-icon{width:20px;height:20px;flex-shrink:0;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
#nav-toggle,#nav-close,#nav-backdrop{display:none}
body:not(.auth-screen) .team-shell{grid-template-columns:258px minmax(0,1fr)}
body:not(.auth-screen) .sidebar{padding:30px 18px 24px;background:#fff;border-color:#e2eaf0;gap:0;scrollbar-width:thin}
body:not(.auth-screen) .brand{font-size:27px;letter-spacing:-1.1px;padding:0 12px;color:#193a56}
body:not(.auth-screen) .brand-mark{height:40px;width:40px;border-radius:13px;background:linear-gradient(150deg,#43b9ed,#0879d1);box-shadow:0 5px 14px #258bd326}
body:not(.auth-screen) .brand-mark svg{width:23px;height:23px}
body:not(.auth-screen) .brand small{font-size:8px;letter-spacing:1.7px;color:#698599}
body:not(.auth-screen) .workspace-card{background:linear-gradient(120deg,#f0f9ff,#f8fcff);border-color:#dcecf6;border-radius:14px;padding:14px 12px;margin:28px 0 25px;gap:11px}
body:not(.auth-screen) .workspace-card strong{font-size:12px;color:#31516b}
body:not(.auth-screen) .workspace-card small{font-size:11px;color:#667e91}
body:not(.auth-screen) .avatar{color:#1877ac;background:#e6f4fd;border-color:#cce7f5;width:36px;height:36px;border-radius:11px}
body:not(.auth-screen) .nav-label,body:not(.auth-screen) .nav-group{color:#758899;font:12px Thai,system-ui;letter-spacing:0;padding:0 14px;margin-bottom:10px}
body:not(.auth-screen) nav{display:grid;gap:4px;overflow:visible;padding:0}
body:not(.auth-screen) nav button{font-size:13px;color:#61768a;min-height:44px;padding:10px 14px;gap:12px;border-radius:11px;white-space:normal}
body:not(.auth-screen) nav button>span{width:20px;color:#8197aa;display:flex}
body:not(.auth-screen) nav button.active{background:#e8f5fe;color:#076bb5;box-shadow:inset 3px 0 #1685d8;font-weight:600}
body:not(.auth-screen) nav button.active>span{color:#1685d8}
body:not(.auth-screen) nav button:hover:not(:disabled){background:#f0f7fc;border-color:transparent;color:#126aa4}
body:not(.auth-screen) .nav-group{display:block;margin:19px 0 5px}
body:not(.auth-screen) .sidebar-note{margin-top:25px;border-top:1px solid var(--line);padding:21px 14px 0}
body:not(.auth-screen) .sidebar-note strong{font-size:12px;color:#4c687d}
body:not(.auth-screen) .sidebar-note p{font-size:11px;margin:5px 0 13px}
body:not(.auth-screen) main{padding:0 40px;max-width:1500px}
body:not(.auth-screen) .topbar{min-height:83px;font-size:12px;gap:15px}
body:not(.auth-screen) .breadcrumb-wrap{display:flex;align-items:center;gap:12px;min-width:0}
body:not(.auth-screen) .topbar .breadcrumb-root{margin:0;color:#7c90a1}
body:not(.auth-screen) .topbar strong{font-size:13px;color:#344f65}
body:not(.auth-screen) .account{gap:12px;max-width:50%}
body:not(.auth-screen) #identity{font-size:12px;color:#536c80;overflow-wrap:anywhere}
body:not(.auth-screen) .account button{font-size:12px;min-height:40px;padding:8px 11px;background:transparent}
body:not(.auth-screen) .account .ui-icon{width:17px;height:17px}
body:not(.auth-screen) .environment{padding-top:20px;font-size:11px;color:#6a8193;gap:10px}
body:not(.auth-screen) .environment strong{font:600 9px system-ui;letter-spacing:.7px;color:#35769d;background:#e9f5fc;border-color:#d3eaf7;border-radius:5px}
body:not(.auth-screen) .heading{padding:25px 0 28px;align-items:center;gap:20px}
body:not(.auth-screen) .eyebrow{font:600 10px system-ui;letter-spacing:1.8px;color:#4288b6}
body:not(.auth-screen) h1{font-size:30px;letter-spacing:-.7px;color:#233d53;line-height:1.55;margin:8px 0}
body:not(.auth-screen) .heading p{font-size:13px;line-height:1.8;color:#667c8e;max-width:670px}
body:not(.auth-screen) h2{font-size:18px;line-height:1.6;color:#294359;letter-spacing:-.3px}
body:not(.auth-screen) h3{color:#304e64;line-height:1.7}
body:not(.auth-screen) button,body:not(.auth-screen) .button{border-color:#d6e4ee;border-radius:10px;color:#49657a;min-height:44px;font-size:13px;padding:10px 14px;gap:8px;line-height:1.6;transition:background .15s,border-color .15s}
body:not(.auth-screen) button:hover:not(:disabled),body:not(.auth-screen) .button:hover{background:#eef7fc;border-color:#b8d8ed;color:#176ca6}
body:not(.auth-screen) button.primary{background:#0879ce;border-color:#0879ce;color:white;box-shadow:0 5px 12px #127cc71c;font-weight:600;padding:12px 18px}
body:not(.auth-screen) button.primary:hover:not(:disabled){background:#0668b3;border-color:#0668b3;color:#fff}
body:not(.auth-screen) button.text-button{border:0;background:none;padding:8px 0;color:#0877bd;font-size:12px}
body:not(.auth-screen) :focus-visible{outline:3px solid #5cacdf;outline-offset:3px}
body:not(.auth-screen) h1:focus{outline:none}
body:not(.auth-screen) .panel,body:not(.auth-screen) .task-card,body:not(.auth-screen) .connector-card{border-color:#e0e9f0;box-shadow:0 3px 8px #24496a03;border-radius:18px;background:#fff}
body:not(.auth-screen) .panel{padding:25px}
body:not(.auth-screen) .panel p{font-size:13px;line-height:1.85}
body:not(.auth-screen) .split{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px}
body:not(.auth-screen) .lower{margin-top:22px}
body:not(.auth-screen) .muted{font-size:12px;color:#6a7f90}
body:not(.auth-screen) .stat-grid{gap:16px;margin-bottom:24px}
body:not(.auth-screen) .stat-grid>div{border:1px solid #dce9f2;border-radius:16px;padding:20px;min-height:159px;background:linear-gradient(130deg,#fff 65%,#f3faff);box-shadow:0 3px 8px #24496a03}
body:not(.auth-screen) .stat-grid>div:before{display:none}
body:not(.auth-screen) .stat-grid .ui-icon{float:right;box-sizing:content-box;padding:8px;border:1px solid #dceefa;background:#f0f9ff;color:#388ac0;border-radius:11px;width:19px;height:19px;margin:-3px -3px 2px 6px}
body:not(.auth-screen) .stat-grid>div:nth-child(2) .ui-icon{background:#fff9ec;color:#ae8227;border-color:#f4ead3}
body:not(.auth-screen) .stat-grid>div:nth-child(3) .ui-icon{background:#f0faf6;color:#39916f;border-color:#dcefe7}
body:not(.auth-screen) .stat-grid small{font-size:12px;color:#58758b;line-height:1.7;padding-top:3px}
body:not(.auth-screen) .stat-grid strong{font:600 35px/1.35 system-ui;letter-spacing:-1px;margin:17px 0 9px;color:#214c6b}
body:not(.auth-screen) .stat-grid span{font-size:10px;color:#6f8495;display:block;clear:both}
body:not(.auth-screen) #view-dashboard>.split>.panel{min-height:325px}
body:not(.auth-screen) #workflow-summary .row{padding:15px 0}
body:not(.auth-screen) .workflow-note{font-size:11px!important;border-top:1px solid var(--line);padding-top:14px;margin:8px 0 10px;color:#6b8192}
body:not(.auth-screen) .row{gap:12px;padding:16px 0}
body:not(.auth-screen) .row>div{min-width:0}
body:not(.auth-screen) .row strong{font-size:13px;font-weight:600}
body:not(.auth-screen) .row small{font-size:11px;display:block;margin-top:5px}
body:not(.auth-screen) .row button{font-size:12px}
body:not(.auth-screen) .task-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin-top:18px}
body:not(.auth-screen) .task-card{padding:20px;position:relative}
body:not(.auth-screen) .task-card h3{font-size:15px;margin:18px 0 10px;line-height:1.75}
body:not(.auth-screen) .task-card p{font-size:12px;margin-bottom:9px;line-height:1.85;color:#698093}
body:not(.auth-screen) .task-card .actions{gap:7px;margin-top:18px;padding-top:15px;border-color:#edf2f6}
body:not(.auth-screen) .task-card button{font-size:12px;min-height:42px;padding:8px 11px}
body:not(.auth-screen) .task-card .actions button:first-child{color:#0876bb;background:#eff8fe;border-color:#dceefa}
body:not(.auth-screen) .badge{font-size:11px;padding:4px 9px;border-radius:7px;background:#eff4f8;color:#557185;line-height:1.65}
body:not(.auth-screen) .badge.draft{background:#eef5fb;color:#4d7998}
body:not(.auth-screen) .badge.review{background:#fff5df;color:#916815}
body:not(.auth-screen) .badge.approved{background:#eaf7f0;color:#2f7957}
body:not(.auth-screen) .card-meta{flex-wrap:wrap;gap:8px}
body:not(.auth-screen) .card-meta small{font-size:10px}
body:not(.auth-screen) .notice{color:#4f7692;background:#edf7fd;border:1px solid #d9ecf7;border-radius:12px;padding:15px 18px;font-size:12px;margin:0 0 22px}
body:not(.auth-screen) .empty{border:1px dashed #cfdfeb;background:#f9fcfe;padding:30px 22px;border-radius:14px;color:#7393ab}
body:not(.auth-screen) .empty>.ui-icon{box-sizing:content-box;padding:12px;margin-bottom:10px;width:25px;height:25px;border-radius:15px;background:#eaf4fb;color:#5c9cc7}
body:not(.auth-screen) .empty strong{color:#41627a;font-size:14px;font-weight:600;margin:0 0 6px}
body:not(.auth-screen) .empty p{font-size:12px;margin-bottom:0;line-height:1.9;max-width:400px;color:#71889a}
body:not(.auth-screen) .empty button{margin-top:19px}
body:not(.auth-screen) .toolbar{border-color:#dfe9f0;border-radius:16px;padding:19px 22px;gap:16px;box-shadow:0 3px 8px #24496a03}
body:not(.auth-screen) .toolbar label:first-child{flex:1}
body:not(.auth-screen) label{font-size:13px;color:#4e697e;margin:18px 0;gap:8px}
body:not(.auth-screen) input:not([type=checkbox]),body:not(.auth-screen) textarea,body:not(.auth-screen) select{font-size:16px;line-height:1.6;padding:11px 13px;min-height:48px;border-radius:10px;border-color:#d6e3ed;color:#304e65;background:#fff;max-width:100%}
body:not(.auth-screen) input::placeholder,body:not(.auth-screen) textarea::placeholder{font-size:14px;color:#849bab}
body:not(.auth-screen) input:focus,body:not(.auth-screen) textarea:focus,body:not(.auth-screen) select:focus{border-color:#469fd4;box-shadow:0 0 0 3px #e2f2fc;outline:0}
body:not(.auth-screen) input:disabled,body:not(.auth-screen) textarea:disabled,body:not(.auth-screen) select:disabled{background:#f5f8fa;color:#7b8c99}
body:not(.auth-screen) .toolbar label{margin:0;font-size:12px}
body:not(.auth-screen) .two{gap:0 18px}
body:not(.auth-screen) .checkbox{font-size:13px}
body:not(.auth-screen) .checkbox input{width:20px;height:20px;margin-top:1px;accent-color:#0b80cb}
body:not(.auth-screen) summary{font-size:14px;min-height:44px;line-height:1.8;color:#2e6f9c;padding:10px 0}
body:not(.auth-screen) pre,body:not(.auth-screen) .prose{font-size:14px;line-height:2;color:#526c7e}
body:not(.auth-screen) .script-item{justify-content:flex-start;text-align:left;min-height:52px;padding:13px 16px;background:#f6faff;border-color:#e0edf6;line-height:1.8}
body:not(.auth-screen) .kanban{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;overflow:visible}
body:not(.auth-screen) .kanban-column{padding:14px;background:#ecf2f6;border-color:#e1e9ef;border-radius:16px;min-height:355px;min-width:0}
body:not(.auth-screen) .kanban-column>h3{font-size:12px;gap:5px;align-items:start;min-height:38px;margin:3px 0 14px}
body:not(.auth-screen) .kanban-column>h3 small{font:12px system-ui;color:#688194;background:#fff;border:1px solid #dce7ef;padding:5px 8px;border-radius:7px}
body:not(.auth-screen) .kanban-column .task-card{padding:15px;border-radius:13px;margin:12px 0}
body:not(.auth-screen) .kanban-column .task-card h3{font-size:14px}
body:not(.auth-screen) .kanban-column .empty{padding:24px 9px;background:#f6f9fb;border-color:#d1dee8}
body:not(.auth-screen) .kanban-column .empty>.ui-icon{width:21px;height:21px;padding:9px}
body:not(.auth-screen) .kanban-column .empty strong{font-size:12px}
body:not(.auth-screen) .calendar-scroll{overflow:visible}
body:not(.auth-screen) .calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:18px}
body:not(.auth-screen) .calendar-day{min-height:116px;padding:10px;border-color:#e3edf4;border-radius:10px;min-width:0}
body:not(.auth-screen) .calendar-day>strong{font-size:12px;color:#56768d}
body:not(.auth-screen) .calendar-day.today{border-color:#3298d5;background:#eef8fe}
body:not(.auth-screen) .calendar-day.today>strong{font-weight:700;color:#0c75b9}
body:not(.auth-screen) .calendar-blank{background:#f5f8fb}
body:not(.auth-screen) .calendar-label{font-size:12px;color:#7e94a5}
body:not(.auth-screen) .calendar-task{font-size:11px;line-height:1.6;padding:7px;background:#eaf5fd;color:#2276af;border:0;min-height:44px;text-align:left;white-space:normal;max-height:none;display:block}
body:not(.auth-screen) .calendar-tools label{font-size:11px;margin:0}
body:not(.auth-screen) .calendar-tools button{width:44px;padding:10px}
body:not(.auth-screen) .calendar-tools input{max-width:190px}
body:not(.auth-screen) .preview-panel{top:20px;background:linear-gradient(155deg,#fff 65%,#f3faff)}
body:not(.auth-screen) .preview-author strong{font-size:14px}
body:not(.auth-screen) .preview-author small{font-size:11px}
body:not(.auth-screen) .preview-art{min-height:180px;background:radial-gradient(ellipse at top right,#d7eefb,transparent 65%),#f1f8fc;border:1px solid #e1eef7;border-radius:15px}
body:not(.auth-screen) .preview-art>span{transform:none;background:#fff;color:#428fc0;width:52px;height:52px;box-shadow:0 8px 18px #4c99c315;border-radius:14px}
body:not(.auth-screen) .preview-art strong{font-size:13px;color:#56809d}
body:not(.auth-screen) .preview-art small{font-size:11px;color:#7391a6}
body:not(.auth-screen) .connector-card{padding:26px}
body:not(.auth-screen) .connector-card .provider-symbol{width:48px;height:48px;background:#eaf6fe;color:#147bb8;border:1px solid #d9edf9;border-radius:14px}
body:not(.auth-screen) .connector-card ol,body:not(.auth-screen) .connector-card p{font-size:13px;line-height:1.9}
body:not(.auth-screen) .connector-card li{margin:10px 0}
body:not(.auth-screen) .connector-card h3{font-size:21px;margin:18px 0 14px}
body:not(.auth-screen) table{font-size:13px}
body:not(.auth-screen) th{font-size:12px;color:#56768e;background:#f2f8fc}
body:not(.auth-screen) td{color:#365970}
body:not(.auth-screen) th,body:not(.auth-screen) td{padding:15px}
body:not(.auth-screen) .member-row{padding:19px 0}
body:not(.auth-screen) .member-row strong{font-size:14px}
body:not(.auth-screen) .member-row select{max-width:145px;padding:9px 10px}
body:not(.auth-screen) .member-row button{font-size:12px;min-height:44px}
body:not(.auth-screen) .member-row button:last-child{color:#a75c59;border-color:#eededc;background:#fff}
body:not(.auth-screen) #message,body:not(.auth-screen) #dialog-message{font-size:13px;background:#edf8fe;border-color:#cfe8f8;color:#286b95;margin:0 0 20px}
body:not(.auth-screen) #message.error,body:not(.auth-screen) #dialog-message.error{background:#fff3ef;color:#a34631;border-color:#f1d7cd}
body:not(.auth-screen) #file-list a{font-size:13px}
body:not(.auth-screen) #view-import>.panel{max-width:900px}
body:not(.auth-screen) dialog{padding:30px;border-radius:20px;border-color:#d7e6f1;box-shadow:0 25px 100px #1c476533;max-height:calc(100dvh - 40px)}
body:not(.auth-screen) dialog::backdrop{background:#173e5966;backdrop-filter:blur(4px)}
body:not(.auth-screen) dialog>.section-heading{border-bottom:1px solid var(--line);padding-bottom:15px}
body:not(.auth-screen) #close-task{padding:10px;flex-shrink:0}
body:not(.auth-screen) footer{color:#7d94a5;font-size:10px;padding:30px 0;line-height:1.8}
@media(min-width:1600px){body:not(.auth-screen) main{padding-inline:50px}}
@media(max-width:1190px){body:not(.auth-screen) .team-shell{grid-template-columns:230px minmax(0,1fr)}body:not(.auth-screen) main{padding:0 26px}body:not(.auth-screen) .sidebar{padding-inline:12px}body:not(.auth-screen) .stat-grid{gap:12px}body:not(.auth-screen) .stat-grid>div{padding:17px}body:not(.auth-screen) .split{grid-template-columns:1fr}body:not(.auth-screen) .preview-panel{position:static}body:not(.auth-screen) .kanban{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.auth-screen) .heading h1{font-size:27px}body:not(.auth-screen) .connector-grid{grid-template-columns:1fr}body:not(.auth-screen) #view-dashboard>.split>.panel{min-height:0}}
@media(max-width:800px){
body:not(.auth-screen) .team-shell{display:block}
body:not(.auth-screen) main{padding:0 22px}
body:not(.auth-screen) .sidebar{position:fixed;inset:0 auto 0 0;height:100dvh;width:min(310px,calc(100vw - 38px));z-index:51;transform:translateX(-105%);visibility:hidden;overflow-y:auto;padding:28px 18px;box-shadow:16px 0 60px #18456526;display:flex}
body:not(.auth-screen).nav-open{overflow:hidden}
body:not(.auth-screen).nav-open .sidebar{transform:none;visibility:visible}
body:not(.auth-screen) #nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;width:100%;height:100dvh;z-index:50;background:#23476066;border:0;border-radius:0;backdrop-filter:blur(3px)}
body:not(.auth-screen) #nav-toggle{display:inline-flex;width:44px;height:44px;padding:10px;background:#fff;flex-shrink:0}
body:not(.auth-screen) #nav-close{display:inline-flex;position:absolute;right:12px;top:16px;width:38px;height:38px;min-height:38px;padding:9px;border:0;background:transparent}
body:not(.auth-screen) .sidebar .brand{font-size:24px;padding:0 8px}
body:not(.auth-screen) .brand-mark{width:34px;height:36px}
body:not(.auth-screen) .brand small{font-size:7px}
body:not(.auth-screen) .workspace-card,body:not(.auth-screen) .sidebar-note,body:not(.auth-screen) .nav-label{display:flex}
body:not(.auth-screen) .sidebar-note{display:block}
body:not(.auth-screen) nav{display:grid;overflow:visible;max-width:100%;padding:0}
body:not(.auth-screen) nav button{font-size:14px;min-height:47px}
body:not(.auth-screen) .topbar{min-height:78px;gap:10px}
body:not(.auth-screen) .breadcrumb-root{display:none}
body:not(.auth-screen) .account{gap:7px;max-width:52%;flex-wrap:nowrap;justify-content:end}
body:not(.auth-screen) .account button{width:42px;min-width:42px;height:42px;padding:10px}
body:not(.auth-screen) .account button span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body:not(.auth-screen) .account button .ui-icon{width:19px;height:19px}
body:not(.auth-screen) #identity{font-size:11px;text-align:right}
body:not(.auth-screen) .environment{padding-top:18px;font-size:10px;align-items:center}
body:not(.auth-screen) .environment strong{font-size:8px;flex-shrink:0}
body:not(.auth-screen) .heading{padding:24px 0;gap:16px;flex-wrap:wrap}
body:not(.auth-screen) .heading h1{font-size:26px}
body:not(.auth-screen) .heading p{font-size:13px}
body:not(.auth-screen) .heading>.primary{font-size:13px;min-height:46px}
body:not(.auth-screen) .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body:not(.auth-screen) .stat-grid>div{padding:18px;min-height:155px}
body:not(.auth-screen) .task-grid{grid-template-columns:1fr}
body:not(.auth-screen) .two{grid-template-columns:1fr;gap:0}
body:not(.auth-screen) .toolbar{flex-wrap:wrap;padding:18px;gap:14px}
body:not(.auth-screen) .toolbar label:first-child{flex-basis:100%}
body:not(.auth-screen) .toolbar label:nth-child(2){flex:1}
body:not(.auth-screen) .toolbar button{font-size:12px;max-width:100%}
body:not(.auth-screen) .section-heading{flex-wrap:wrap}
body:not(.auth-screen) .calendar-grid{padding:9px;gap:4px;border-radius:14px}
body:not(.auth-screen) .calendar-day{padding:5px;min-height:97px;border-radius:6px}
body:not(.auth-screen) .calendar-day>strong{font-size:11px}
body:not(.auth-screen) .calendar-label{font-size:10px;padding:9px 0}
body:not(.auth-screen) .calendar-task{font-size:10px;line-height:1.5;padding:4px;min-height:44px;max-height:65px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;border-radius:5px}
body:not(.auth-screen) .calendar-tools{gap:7px;max-width:100%;margin:8px 0 16px}
body:not(.auth-screen) .calendar-tools input{font-size:16px;padding:9px;max-width:200px}
body:not(.auth-screen) .preview-art{min-height:165px}
body:not(.auth-screen) dialog{padding:22px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:16px}
body:not(.auth-screen) footer{flex-direction:column;gap:4px;font-size:10px}
}
@media(max-width:480px){
body:not(.auth-screen) main{padding:0 18px}
body:not(.auth-screen) .topbar strong{font-size:12px}
body:not(.auth-screen) .breadcrumb-wrap{gap:8px}
body:not(.auth-screen) .environment{align-items:flex-start;gap:9px;line-height:1.8}
body:not(.auth-screen) .environment strong{margin-top:2px;font-size:7px;padding:4px 5px}
body:not(.auth-screen) .heading{padding:22px 0 24px}
body:not(.auth-screen) .eyebrow{font-size:9px;letter-spacing:1.5px}
body:not(.auth-screen) .heading h1{font-size:25px;margin-top:8px}
body:not(.auth-screen) .heading>.primary{width:100%;justify-content:center}
body:not(.auth-screen) .panel{padding:20px;border-radius:16px}
body:not(.auth-screen) h2{font-size:17px}
body:not(.auth-screen) .section-heading h2{font-size:17px}
body:not(.auth-screen) .stat-grid{gap:11px;margin-bottom:20px}
body:not(.auth-screen) .stat-grid>div{padding:15px;min-height:163px}
body:not(.auth-screen) .stat-grid .ui-icon{width:15px;height:15px;padding:6px;border-radius:9px;margin:-2px -3px 2px 4px}
body:not(.auth-screen) .stat-grid small{font-size:11px;max-width:85px;line-height:1.7;min-height:37px}
body:not(.auth-screen) .stat-grid strong{font-size:32px;margin:9px 0 8px}
body:not(.auth-screen) .stat-grid span{font-size:10px;line-height:1.65}
body:not(.auth-screen) .row{align-items:flex-start;gap:9px}
body:not(.auth-screen) .row button{font-size:11px;padding:8px 9px;min-height:42px}
body:not(.auth-screen) .row strong{font-size:12px}
body:not(.auth-screen) .row small{font-size:10px;line-height:1.8}
body:not(.auth-screen) .kanban{grid-template-columns:1fr;gap:18px}
body:not(.auth-screen) .kanban-column{min-height:0;padding:17px}
body:not(.auth-screen) .kanban-column>h3{font-size:14px;min-height:0;margin-bottom:12px;align-items:center}
body:not(.auth-screen) .kanban-column .empty{padding:20px}
body:not(.auth-screen) .kanban-column .task-card{padding:19px}
body:not(.auth-screen) .notice{font-size:12px;padding:14px 16px}
body:not(.auth-screen) .empty{padding:26px 16px}
body:not(.auth-screen) .calendar-grid{padding:7px;gap:3px}
body:not(.auth-screen) .calendar-day{padding:3px;min-height:92px}
body:not(.auth-screen) .calendar-task{font-size:9px;padding:3px;line-height:1.55}
body:not(.auth-screen) .member-row .actions{gap:7px}
body:not(.auth-screen) .member-row select{max-width:100%}
body:not(.auth-screen) .member-row button{flex:1}
body:not(.auth-screen) .connector-card{padding:22px}
body:not(.auth-screen) .task-card h3{font-size:15px}
body:not(.auth-screen) #audit-list .row{display:block}
}
/* Quiet navigation; card borders belong to content, not every menu item. */
body:not(.auth-screen) .sidebar nav button{border-color:transparent;background:transparent;box-shadow:none}
body:not(.auth-screen) .sidebar nav button.active{background:#e8f5fe;color:#076bb5;box-shadow:inset 3px 0 #1685d8}
body:not(.auth-screen) .sidebar nav button:hover:not(:disabled){background:#f1f8fc}
body:not(.auth-screen) .calendar-agenda{display:none}
@media(max-width:800px){body:not(.auth-screen) .calendar-agenda{display:block;margin-top:18px}body:not(.auth-screen) .calendar-agenda h3{font-size:15px;margin-bottom:4px}}
