html{--density-page-gap:1rem;--density-section-gap:0.875rem;--density-section-padding:1rem;--density-control-height:2.5rem}html[data-density=compact]{--density-page-gap:0.75rem;--density-section-gap:0.625rem;--density-section-padding:0.75rem;--density-control-height:2.25rem}[data-settings-shell] main>div>div>div{padding:.75rem!important}[data-settings-shell] main h1{font-size:1.125rem!important;line-height:1.5rem!important}[data-settings-shell] main h2{font-size:1rem!important;line-height:1.375rem!important}[data-settings-shell] main h3{font-size:.8125rem!important;line-height:1.125rem!important}[data-settings-shell] main label{font-size:.75rem}[data-settings-shell] main input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),[data-settings-shell] main select{min-height:2.25rem;max-height:2.5rem}[data-settings-shell] main textarea{font-size:.8125rem;line-height:1.25rem}@media (min-width:640px){[data-settings-shell] main>div>div>div{padding:1rem!important}}@media (min-width:768px){[data-settings-shell] main>div>div>div{padding:1.25rem!important}[data-settings-shell] main input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),[data-settings-shell] main select,[data-settings-shell] main textarea{font-size:.8125rem!important}}html[data-density=compact] [data-density-stack]{gap:var(--density-section-gap)!important}html[data-density=compact] [data-settings-section]>[data-section-body]{padding:var(--density-section-padding)!important}html[data-density=compact] [data-settings-control]{min-height:var(--density-control-height)!important}html[data-density=compact] [data-settings-shell] main>div>div>div{padding:.625rem!important}@media (min-width:768px){html[data-density=compact] [data-settings-shell] main>div>div>div{padding:.875rem!important}}html[data-contrast=high]:not(.dark){--foreground:0 0% 0%;--muted-foreground:0 0% 28%;--border:0 0% 62%;--input:0 0% 50%;--ring:239 84% 50%}html.dark[data-contrast=high]{--foreground:0 0% 100%;--muted-foreground:0 0% 80%;--border:0 0% 54%;--input:0 0% 64%;--ring:226 100% 76%}html[data-contrast=high] [data-settings-shell] :focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.projects-client-root{display:flex;flex-direction:column;gap:20px;width:100%;max-width:none;margin:0;padding:14px}.projects-header{width:100%}.projects-header-inner{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:24px 28px;background:var(--glass-surface);backdrop-filter:var(--glass-blur-lg);-webkit-backdrop-filter:var(--glass-blur-lg);border:1px solid var(--glass-border);box-shadow:var(--glass-shadow);border-radius:20px;position:relative;overflow:hidden}.projects-header-inner:before{content:"";position:absolute;inset:0;background:var(--glass-highlight);pointer-events:none}.projects-header-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--color-accent);margin-bottom:8px}.projects-header-badge-dot{width:6px;height:6px;border-radius:50%;background:var(--color-accent);animation:pulse-glow 3s ease-in-out infinite}.projects-header-title{font-size:clamp(22px,3vw,32px);font-weight:700;color:rgb(var(--color-text-primary));letter-spacing:-.02em;line-height:1.1;margin:0 0 6px}.projects-header-subtitle{font-size:14px;color:rgb(var(--color-text-tertiary));margin:0}.projects-header-actions{display:flex;flex-direction:column;align-items:flex-end;gap:14px}.projects-stats-row{display:flex;align-items:center;gap:6px;background:rgba(var(--ios-gray-5),.6);border:.5px solid rgba(var(--ios-gray-4),.5);border-radius:14px;padding:10px 16px}.dark .projects-stats-row{background:rgba(var(--ios-dark-5),.5);border-color:rgba(255,255,255,.08)}.projects-stat-chip{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:44px}.projects-stat-chip-value{font-size:20px;font-weight:700;color:rgb(var(--color-text-primary));line-height:1}.projects-stat-chip-value--active{color:#10b981}.projects-stat-chip-label{font-size:10px;font-weight:500;color:rgb(var(--color-text-tertiary));text-transform:uppercase;letter-spacing:.06em}.projects-stat-divider{width:1px;height:28px;background:rgba(var(--ios-gray-3),.6)}.dark .projects-stat-divider{background:rgba(255,255,255,.1)}.projects-create-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;border-radius:12px;font-size:14px;font-weight:600;color:#fff;background:linear-gradient(135deg,var(--color-accent) 0,color-mix(in srgb,var(--color-accent) 72%,#111827) 100%);border:none;cursor:pointer;box-shadow:0 4px 16px color-mix(in srgb,var(--color-accent) 28%,transparent);transition:all .2s ease;white-space:nowrap}.projects-create-btn:hover{transform:translateY(-1px);box-shadow:0 6px 24px color-mix(in srgb,var(--color-accent) 36%,transparent)}.projects-create-btn:active{transform:scale(.97)}.projects-create-btn--center{margin:0 auto}.project-detail-root{min-height:100%;width:100%;padding:18px;color:rgb(var(--color-text-primary))}.project-tab-nav{position:sticky;top:0;z-index:20;margin:0 0 18px;padding:8px;border:1px solid var(--glass-border);border-radius:8px;background:var(--glass-toolbar-surface);box-shadow:var(--glass-shadow-soft);backdrop-filter:var(--glass-blur-md);-webkit-backdrop-filter:var(--glass-blur-md)}.project-tab-nav-inner{display:flex;align-items:center;gap:6px;overflow-x:auto;padding-bottom:1px}.project-tab{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 13px;border:1px solid transparent;border-radius:7px;background:transparent;color:rgb(var(--color-text-secondary));font-size:13px;font-weight:650;line-height:1;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}.project-tab,.project-tab svg{flex:0 0 auto}.project-tab:hover{transform:translateY(-1px);border-color:rgba(var(--ios-blue),.18);background:color-mix(in srgb,var(--color-accent) 9%,transparent);color:var(--color-accent)}.project-tab--active{border-color:color-mix(in srgb,var(--color-accent) 28%,transparent);background:color-mix(in srgb,var(--color-accent) 14%,white);color:var(--color-accent);box-shadow:0 1px 0 rgba(var(--pure-white),.75) inset,0 10px 24px color-mix(in srgb,var(--color-accent) 14%,transparent)}.dark .project-tab--active{background:color-mix(in srgb,var(--color-accent) 18%,transparent)}.project-detail-content{min-height:calc(100vh - 120px)}.project-dashboard{display:flex;flex-direction:column;gap:18px;width:100%}.project-dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:28px;border-radius:8px}.project-dashboard-hero-body{min-width:0}.project-dashboard-title{margin:0;color:rgb(var(--color-text-primary));font-size:clamp(26px,4vw,44px);font-weight:800;line-height:1.05}.project-dashboard-desc{max-width:760px;margin:10px 0 0;color:rgb(var(--color-text-secondary));font-size:15px;line-height:1.6}.project-card-tags{display:flex;flex-wrap:wrap;gap:7px}.project-card-tag{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border:1px solid color-mix(in srgb,var(--color-accent) 18%,transparent);border-radius:999px;background:color-mix(in srgb,var(--color-accent) 9%,transparent);color:var(--color-accent);font-size:12px;font-weight:650}.project-dashboard-progress-wrap{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:112px}.project-dashboard-progress-ring{position:relative;display:grid;place-items:center;width:92px;height:92px;border-radius:999px;background:rgba(var(--pure-white),.55);box-shadow:0 14px 34px rgba(15,23,42,.08)}.dark .project-dashboard-progress-ring{background:rgba(var(--ios-dark-5),.5)}.project-dashboard-progress-ring svg{position:absolute;inset:6px}.project-dashboard-progress-pct{position:relative;color:rgb(var(--color-text-primary));font-size:18px;font-weight:800}.project-dashboard-progress-label{margin:0;color:rgb(var(--color-text-tertiary));font-size:12px;font-weight:700;text-transform:uppercase}.project-dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.project-stat-card{display:flex;align-items:center;gap:14px;min-height:104px;padding:18px;border:1px solid var(--glass-border);border-radius:8px;background:var(--glass-surface);box-shadow:var(--glass-shadow-soft);backdrop-filter:var(--glass-blur-md);-webkit-backdrop-filter:var(--glass-blur-md)}.project-stat-card-icon{display:grid;flex:0 0 auto;place-items:center;width:46px;height:46px;border-radius:8px;box-shadow:0 12px 26px rgba(15,23,42,.12)}.project-stat-card-body{min-width:0}.project-stat-card-value{margin:0;color:rgb(var(--color-text-primary));font-size:26px;font-weight:800;line-height:1}.project-stat-card-label{margin:6px 0 0;color:rgb(var(--color-text-tertiary));font-size:12px;font-weight:700;text-transform:uppercase}.project-dashboard-section{padding:22px;border:1px solid var(--glass-border);border-radius:8px;background:var(--glass-surface);box-shadow:var(--glass-shadow-soft)}.project-dashboard-section-title{margin:0 0 14px;color:rgb(var(--color-text-primary));font-size:16px;font-weight:800}.project-quick-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.project-quick-action-btn{--action-color:var(--color-accent);display:flex;min-height:86px;align-items:center;justify-content:space-between;gap:10px;padding:14px;border:1px solid color-mix(in srgb,var(--action-color) 20%,transparent);border-radius:8px;background:linear-gradient(180deg,rgba(var(--pure-white),.84),rgba(var(--pure-white),.62)),color-mix(in srgb,var(--action-color) 7%,transparent);color:color-mix(in srgb,var(--action-color) 76%,#111827);font-size:13px;font-weight:750;text-align:left;cursor:pointer;box-shadow:0 12px 26px rgba(15,23,42,.08);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}.project-quick-action-btn:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--action-color) 36%,transparent);box-shadow:0 18px 34px rgba(15,23,42,.12)}.project-quick-action-btn svg{flex:0 0 auto}.dark .project-quick-action-btn{background:linear-gradient(180deg,rgba(var(--ios-dark-5),.72),rgba(var(--ios-dark-6),.52)),color-mix(in srgb,var(--action-color) 8%,transparent);color:color-mix(in srgb,var(--action-color) 74%,white)}.project-dashboard-loading{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.project-stat-card--skeleton{pointer-events:none}.skeleton-circle,.skeleton-line{display:block;border-radius:999px;background:linear-gradient(90deg,#e5e7eb,#f8fafc 45%,#e5e7eb);background-size:220% 100%;animation:project-skeleton 1.4s ease-in-out infinite}.dark .skeleton-circle,.dark .skeleton-line{background:linear-gradient(90deg,#1e293b,#334155 45%,#1e293b);background-size:220% 100%}.skeleton-circle{width:46px;height:46px}.skeleton-line--value{width:74px;height:24px}.skeleton-line--label{width:112px;height:12px;margin-top:10px}.project-dashboard-error{display:flex;min-height:320px;flex-direction:column;gap:12px;padding:28px;border:1px solid rgba(239,68,68,.22);border-radius:8px;background:var(--glass-surface);color:#dc2626;text-align:center;box-shadow:var(--glass-shadow-soft)}.dialog-btn,.project-dashboard-error{align-items:center;justify-content:center}.dialog-btn{display:inline-flex;min-height:38px;padding:0 14px;border-radius:7px;font-size:13px;font-weight:700;cursor:pointer}.dialog-btn--secondary{border:1px solid rgb(var(--color-border-default));background:rgb(var(--color-bg-card));color:rgb(var(--color-text-primary))}@keyframes project-skeleton{0%{background-position:120% 0}to{background-position:-120% 0}}@media (max-width:1100px){.project-dashboard-loading,.project-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.project-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:720px){.project-detail-root{padding:12px}.project-dashboard-hero{grid-template-columns:1fr;padding:20px}.project-dashboard-progress-wrap{align-items:flex-start}.project-dashboard-loading,.project-dashboard-stats,.project-quick-actions{grid-template-columns:1fr}.project-quick-action-btn,.project-stat-card{min-height:76px}}.project-tool-surface--editor{padding:0;background:#f8fafd}.dark .project-tool-surface--editor{background:#0f172a}.project-word-workspace{display:grid;grid-template-columns:208px minmax(0,1fr);min-height:calc(100vh - 72px);border-top:1px solid #dfe3ea;background:#f8fafd}.dark .project-word-workspace{border-top-color:#1e293b;background:#0f172a}.project-word-sidebar{display:flex;min-height:0;flex-direction:column;border-right:1px solid #dfe3ea;background:#f8fafd;padding:12px 10px}.dark .project-word-sidebar{border-right-color:#1e293b;background:#111827}.project-word-sidebar__header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;margin-bottom:10px}.project-word-sidebar__title{flex:1;color:#1f2937;font-size:12px;font-weight:650}.dark .project-word-sidebar__title{color:#e5e7eb}.project-word-sidebar__create{min-height:34px;border-radius:999px;background:#e8f0fe;color:#174ea6;box-shadow:none}.project-word-sidebar__list{display:flex;min-height:0;flex-direction:column;gap:6px;overflow-y:auto}.project-word-sidebar__doc{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:36px;padding:0 8px;border:0;border-radius:999px;background:transparent;color:#334155;text-align:left;cursor:pointer}.project-word-sidebar__doc--active,.project-word-sidebar__doc:hover{background:#d3e3fd;color:#0b57d0}.dark .project-word-sidebar__doc{color:#cbd5e1}.dark .project-word-sidebar__doc--active,.dark .project-word-sidebar__doc:hover{background:rgba(96,165,250,.2);color:#93c5fd}.project-word-sidebar__doc-title{min-width:0;font-size:12px}.project-word-sidebar__doc-date{display:inline-grid;min-width:20px;place-items:center;border-radius:999px;color:#64748b;font-size:11px}.project-word-sidebar__hint{margin:12px 8px 0;color:#64748b;font-size:11px;font-style:italic;line-height:1.35}.project-word-editor{display:flex;min-width:0;min-height:calc(100vh - 72px);flex-direction:column;overflow:hidden;border:0;background:#f8fafd}.dark .project-word-editor{background:#0f172a}.project-word-titlebar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-height:58px;padding:8px 14px 6px;border-bottom:1px solid #e5e7eb;background:#ffffff}.dark .project-word-titlebar{border-bottom-color:#1f2937;background:#111827}.project-word-titlebar__identity{display:flex;min-width:0;align-items:flex-start;gap:10px}.project-word-file-icon{display:grid;flex:0 0 auto;place-items:center;width:32px;height:38px;border-radius:6px;background:#4285f4;color:white}.project-word-titlebar__copy{min-width:0}.project-word-title-row{display:flex;align-items:center;gap:6px;min-width:0}.project-word-title-input{width:min(52vw,520px);height:26px;border:1px solid transparent!important;border-radius:4px;background:transparent!important;padding:0 5px!important;color:#1f2937!important;font-size:16px!important;font-weight:500!important;box-shadow:none!important}.project-word-title-input:focus{border-color:#c7cdd7!important}.dark .project-word-title-input{color:#f8fafc!important}.project-word-cloud{color:#64748b}.project-word-menubar{display:flex;flex-wrap:wrap;gap:1px;margin-top:2px}.project-word-menu-item{min-height:22px;padding:0 7px;border:0;border-radius:4px;background:transparent;color:#111827;font-size:12px;cursor:pointer}.project-word-menu-item:hover{background:#eef2f7}.dark .project-word-menu-item{color:#e5e7eb}.dark .project-word-menu-item:hover{background:#1f2937}.project-word-titlebar__actions{display:flex;flex:0 0 auto;align-items:center;gap:8px;padding-top:2px}.project-word-save-state{color:#64748b;font-size:12px;white-space:nowrap}.project-word-save-button{border-radius:999px;background:#f1f5f9;color:#334155}.project-word-share-button{border-radius:999px;background:#c2e7ff;color:#0842a0}.project-word-icon-button{display:inline-grid;place-items:center;width:30px;height:30px;border:0;border-radius:999px;background:transparent;color:#475569;cursor:pointer}.project-word-icon-button:hover{background:#eef2f7}.dark .project-word-icon-button{color:#cbd5e1}.dark .project-word-icon-button:hover{background:#1f2937}.project-word-toolbar{display:flex;align-items:center;gap:6px;min-height:42px;padding:5px 12px;border-bottom:1px solid #e5e7eb;background:#ffffff;overflow-x:auto}.dark .project-word-toolbar{border-bottom-color:#1f2937;background:#111827}.project-word-search-chip{display:inline-flex;flex:0 0 auto;align-items:center;gap:6px;min-height:30px;padding:0 10px;border-radius:999px;background:#f1f3f4;color:#3c4043;font-size:12px}.dark .project-word-search-chip{background:#1f2937;color:#d1d5db}.project-word-toolbar-group{display:inline-flex;align-items:center;gap:2px;padding:0 6px;border-left:1px solid #e2e8f0}.project-word-toolbar-group--selects{gap:5px}.dark .project-word-toolbar-group{border-left-color:#334155}.project-word-select{height:30px;min-width:78px;border:0;border-radius:4px;background:transparent;color:#3c4043;padding:0 8px;font-size:12px}.project-word-select:hover{background:#f1f3f4}.dark .project-word-select{color:#e5e7eb}.dark .project-word-select:hover{background:#1f2937}.project-word-tool-button{display:inline-grid;place-items:center;width:30px;height:30px;border:0;border-radius:4px;background:transparent;color:#3c4043;cursor:pointer}.project-word-tool-button--active,.project-word-tool-button:hover{background:#e8f0fe;color:#174ea6}.dark .project-word-tool-button{color:#d1d5db}.dark .project-word-tool-button--active,.dark .project-word-tool-button:hover{background:rgba(96,165,250,.18);color:#93c5fd}.project-word-toolbar-spacer{flex:1 1 auto}.project-word-editing-mode{flex:0 0 auto;color:#475569;font-size:12px;font-weight:600}.project-word-canvas{position:relative;display:flex;flex:1 1 auto;min-height:0;justify-content:center;overflow:auto;background:#f1f3f4;padding:38px 72px 80px}.dark .project-word-canvas{background:#0b1120}.project-word-ruler--horizontal{position:absolute;top:0;left:0;right:0;height:24px;border-bottom:1px solid #d8dee8;background:repeating-linear-gradient(90deg,transparent 0 31px,rgba(100,116,139,.35) 31px 32px),#ffffff}.dark .project-word-ruler--horizontal{border-bottom-color:#1f2937;background:repeating-linear-gradient(90deg,transparent 0 31px,rgba(148,163,184,.28) 31px 32px),#111827}.project-word-page{width:816px;min-height:1056px;background:#ffffff;border:1px solid #cfd4dc;box-shadow:0 2px 8px rgba(15,23,42,.16)}.dark .project-word-page{background:#f8fafc;border-color:#334155}.project-word-page-footer,.project-word-page-header{height:72px}.project-word-page-body{min-height:912px;padding:0 96px}.project-word-content{min-height:860px;color:#111827;font-family:Arial,Helvetica,sans-serif;font-size:11pt;line-height:1.55}.project-word-content .ProseMirror{min-height:860px;outline:none}.project-word-content p{margin:0 0 10px}.project-word-right-rail{position:sticky;top:42px;display:flex;flex-direction:column;gap:12px;align-self:flex-start;margin-left:20px}.project-word-rail-button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:999px;background:#ffffff;color:#2563eb;box-shadow:0 1px 4px rgba(15,23,42,.14);cursor:pointer}.project-word-rail-button:hover{background:#e8f0fe}@media (max-width:1100px){.project-word-workspace{grid-template-columns:1fr}.project-word-sidebar{display:none}.project-word-canvas{padding-inline:28px}.project-word-right-rail{display:none}}@media (max-width:760px){.project-word-titlebar,.project-word-toolbar{align-items:flex-start;flex-wrap:wrap}.project-word-title-input{width:58vw}.project-word-canvas{padding:28px 12px 48px}.project-word-page{width:min(100%,816px);min-height:920px}.project-word-page-body{min-height:780px;padding:0 32px}}