:root{color:#30272a;background:var(--surface);font-synthesis:none;text-rendering:optimizelegibility;--wine:#943c55;--wine-dark:#753044;--wine-deep:#5f2637;--wine-soft:#f8eef1;--wine-soft-strong:#f2e1e6;--white:#fff;--surface:#fff;--surface-soft:#fcfafb;--surface-muted:#f7f4f5;--text:#30272a;--text-soft:#665a5e;--text-muted:#918489;--border:#eadfe2;--border-strong:#dccbd0;--shadow-sm:0 1px 2px #3e232c0a, 0 4px 16px #3e232c0a;--shadow-md:0 10px 30px #3e232c14, 0 2px 8px #3e232c0a;--shadow-lg:0 24px 64px #3e232c24, 0 6px 20px #3e232c0f;--radius-sm:10px;--radius-md:14px;--radius-lg:20px;--radius-xl:28px;--transition:.16s ease;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:var(--white);min-width:320px;min-height:100%}body{background:var(--white);min-width:320px;min-height:100vh;color:var(--text);margin:0}button,input,select,textarea{font:inherit}button{color:inherit}button,label,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}input,select{outline:none}#root{min-height:100vh}.app-shell{background:radial-gradient(circle at 90% -20%, #943c550e, transparent 34%), var(--white);min-height:100vh}.topbar{border-bottom:1px solid var(--border);z-index:20;-webkit-backdrop-filter:blur(18px);background:#ffffffeb;justify-content:space-between;align-items:center;height:76px;padding:0 42px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;display:flex}.brand-mark{width:42px;height:42px;color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:13px;place-items:center;display:grid}.brand-name,.brand-caption{display:block}.brand-name{letter-spacing:-.01em;font-size:15px;font-weight:720;line-height:1.2}.brand-caption{color:var(--text-muted);margin-top:3px;font-size:11px;line-height:1.2}.topbar-actions{align-items:center;gap:9px;display:flex}.topbar-icon-button,.icon-button,.profile-button,.more-filter-button{border:0}.topbar-icon-button,.icon-button,.more-filter-button{transition:background var(--transition), color var(--transition);background:0 0;place-items:center;display:grid}.topbar-icon-button{width:40px;height:40px;color:var(--text-soft);border-radius:12px}.topbar-icon-button:hover,.icon-button:hover,.more-filter-button:hover{color:var(--wine);background:var(--wine-soft)}.profile-button{width:39px;height:39px;color:var(--white);background:var(--wine);border-radius:50%;place-items:center;font-weight:700;display:grid}.library-page{width:min(1180px,100% - 64px);margin:0 auto;padding:54px 0 76px}.library-heading{justify-content:space-between;align-items:flex-end;gap:28px;display:flex}.eyebrow{color:var(--wine);letter-spacing:.14em;text-transform:uppercase;margin-bottom:9px;font-size:11px;font-weight:760;line-height:1;display:inline-block}.library-heading h1,.modal-header h2,.empty-copy h2{letter-spacing:-.035em;margin:0}.library-heading h1{font-family:Georgia,Times New Roman,serif;font-size:clamp(32px,4vw,44px);font-weight:500;line-height:1.05}.library-heading p{max-width:560px;color:var(--text-soft);margin:12px 0 0;font-size:14px;line-height:1.6}.primary-button,.secondary-button{min-height:44px;transition:background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:13px;font-weight:690;display:inline-flex}.primary-button{color:var(--white);background:var(--wine);border:1px solid var(--wine);box-shadow:0 6px 16px #943c552b}.primary-button:hover{background:var(--wine-dark);border-color:var(--wine-dark);transform:translateY(-1px);box-shadow:0 8px 20px #943c5533}.primary-button:active{transform:translateY(0)}.secondary-button{color:var(--text-soft);background:var(--white);border:1px solid var(--border-strong)}.secondary-button:hover{color:var(--wine);background:var(--wine-soft);border-color:#943c5540}.library-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;margin-top:38px;padding-bottom:20px;display:flex}.search-box{width:min(360px,100%);height:44px;color:var(--text-muted);background:var(--surface-soft);border:1px solid var(--border);transition:border-color var(--transition), box-shadow var(--transition), background var(--transition);border-radius:12px;align-items:center;gap:10px;padding:0 14px;display:flex}.search-box:focus-within{color:var(--wine);background:var(--white);border-color:#943c5561;box-shadow:0 0 0 4px #943c5512}.search-box input{width:100%;color:var(--text);background:0 0;border:0;font-size:13px}.search-box input::placeholder{color:var(--text-muted)}.library-filters{align-items:center;gap:5px;display:flex}.filter-button,.more-filter-button{min-height:38px;color:var(--text-muted);background:0 0;border:0;border-radius:10px;font-size:12px;font-weight:620}.filter-button{padding:0 13px}.filter-button:hover,.filter-button.active{color:var(--wine);background:var(--wine-soft)}.more-filter-button{width:38px}.empty-library{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:440px;padding:56px 24px 28px;display:flex}.empty-illustration{width:128px;height:122px;margin-bottom:30px;position:relative}.empty-paper{background:var(--white);border:1px solid var(--border-strong);width:76px;height:96px;box-shadow:var(--shadow-sm);border-radius:11px;position:absolute;left:50%}.paper-back{background:var(--wine-soft);top:6px;transform:translate(-39%)rotate(8deg)}.paper-front{padding:25px 14px;top:13px;transform:translate(-59%)rotate(-3deg)}.paper-front span{background:var(--border);border-radius:999px;height:4px;margin-bottom:8px;display:block}.paper-front span:nth-child(2){width:78%}.paper-front span:nth-child(3){width:90%}.paper-front span:nth-child(4){width:63%}.empty-badge{width:38px;height:38px;color:var(--white);background:var(--wine);border:4px solid var(--white);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:2px;right:5px;box-shadow:0 6px 16px #943c553b}.empty-copy{max-width:510px}.empty-copy h2{font-size:21px;font-weight:700;line-height:1.25}.empty-copy p{color:var(--text-soft);margin:11px 0 24px;font-size:13px;line-height:1.65}.empty-hint{color:var(--text-muted);align-items:center;gap:6px;margin-top:18px;font-size:11px;display:flex}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(7px);background:#2d1f244d;justify-content:center;align-items:center;padding:32px;display:flex;position:fixed;inset:0;overflow-y:auto}.project-modal{background:var(--white);width:min(820px,100%);max-height:calc(100vh - 64px);box-shadow:var(--shadow-lg);border:1px solid #ffffffbf;border-radius:22px;overflow-y:auto}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:20px;padding:28px 30px 24px;display:flex}.modal-header h2{font-family:Georgia,Times New Roman,serif;font-size:25px;font-weight:500}.modal-header p{max-width:520px;color:var(--text-soft);margin:8px 0 0;font-size:12px;line-height:1.55}.icon-button{width:38px;height:38px;color:var(--text-muted);border-radius:11px;flex:none}.project-form{display:block}.form-layout{grid-template-columns:180px minmax(0,1fr);gap:30px;padding:28px 30px 30px;display:grid}.cover-column{min-width:0}.field-label,.field label{color:var(--text);margin-bottom:8px;font-size:11px;font-weight:680;display:block}.cover-picker{aspect-ratio:2/3;background:var(--surface-soft);border:1px dashed var(--border-strong);cursor:pointer;width:100%;transition:border-color var(--transition), background var(--transition), transform var(--transition);border-radius:14px;display:block;position:relative;overflow:hidden}.cover-picker:hover{background:var(--wine-soft);border-color:#943c5573}.cover-picker img{object-fit:cover;width:100%;height:100%;display:block}.cover-picker input,.replace-cover-button input{display:none}.cover-placeholder{height:100%;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:20px;display:flex}.cover-placeholder svg{color:var(--wine);margin-bottom:11px}.cover-placeholder strong{color:var(--text-soft);font-size:12px;font-weight:680}.cover-placeholder span{margin-top:5px;font-size:10px}.replace-cover-button{color:var(--wine);text-align:center;cursor:pointer;margin-top:10px;font-size:11px;font-weight:680;display:block}.fields-column{flex-direction:column;gap:18px;display:flex}.field input,.field select{width:100%;height:44px;color:var(--text);background:var(--white);border:1px solid var(--border);transition:border-color var(--transition), box-shadow var(--transition);border-radius:11px;font-size:12px}.field input{padding:0 13px}.field input::placeholder{color:#b1a6aa}.field input:focus,.field select:focus{border-color:#943c5573;box-shadow:0 0 0 4px #943c5512}.field-help{color:var(--text-muted);margin-top:6px;font-size:10px;line-height:1.4;display:block}.form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.select-wrapper{position:relative}.select-wrapper select{appearance:none;cursor:pointer;padding:0 38px 0 13px}.select-wrapper svg{color:var(--text-muted);pointer-events:none;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.template-preview{background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:12px;align-items:flex-start;gap:12px;padding:14px 15px;display:flex}.template-icon{width:34px;height:34px;color:var(--wine);background:#ffffffb8;border-radius:10px;flex:none;place-items:center;display:grid}.template-preview strong{color:var(--wine-dark);font-size:11px;display:block}.template-preview p{color:#765c65;margin:4px 0 0;font-size:10px;line-height:1.5}.modal-footer{background:var(--surface-soft);border-top:1px solid var(--border);justify-content:flex-end;align-items:center;gap:10px;padding:18px 30px;display:flex}@media (width<=760px){.topbar{height:68px;padding:0 20px}.brand-caption{display:none}.library-page{width:min(100% - 32px,1180px);padding-top:36px}.library-heading{flex-direction:column;align-items:flex-start}.new-project-button{width:100%}.library-toolbar{flex-direction:column;align-items:stretch}.search-box{width:100%}.library-filters{width:100%;overflow-x:auto}.empty-library{min-height:380px;padding-left:8px;padding-right:8px}.modal-backdrop{align-items:flex-start;padding:12px}.project-modal{border-radius:18px;max-height:calc(100vh - 24px);margin:0}.modal-header,.form-layout,.modal-footer{padding-left:20px;padding-right:20px}.form-layout{grid-template-columns:1fr}.cover-column{width:145px}.form-grid{grid-template-columns:1fr}}@media (width<=480px){.library-heading h1{font-size:34px}.filter-button{white-space:nowrap}.modal-footer{flex-direction:column-reverse}.modal-footer button{width:100%}}.auth-page{background:var(--white);grid-template-columns:minmax(360px,.9fr) minmax(480px,1.1fr);min-height:100vh;display:grid}.auth-brand-panel{background:radial-gradient(circle at 12% 15%,#943c5521,#0000 28%),linear-gradient(145deg,#fbf3f5 0%,#f8ecef 58%,#f4e4e9 100%);align-items:center;min-height:100vh;padding:70px;display:flex;position:relative;overflow:hidden}.auth-brand-panel:before{content:"";border:1px solid #943c551f;border-radius:50%;width:430px;height:430px;position:absolute;bottom:-170px;right:-180px}.auth-brand-panel:after{content:"";border:1px solid #943c551c;border-radius:50%;width:290px;height:290px;position:absolute;bottom:-100px;right:-110px}.auth-brand-content{z-index:1;width:min(100%,540px);position:relative}.auth-large-mark{width:62px;height:62px;color:var(--wine);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffb8;border:1px solid #943c5521;border-radius:19px;place-items:center;margin-bottom:42px;display:grid}.auth-eyebrow{color:var(--wine);letter-spacing:.16em;text-transform:uppercase;margin-bottom:15px;font-size:11px;font-weight:760;display:block}.auth-brand-content h1{color:#33282c;letter-spacing:-.045em;max-width:520px;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(39px,4.4vw,62px);font-weight:500;line-height:1.04}.auth-brand-content>p{color:#745f66;max-width:480px;margin:24px 0 0;font-size:14px;line-height:1.75}.auth-decoration{opacity:.78;width:150px;height:130px;margin-top:52px;position:relative}.auth-paper{width:78px;height:102px;box-shadow:var(--shadow-sm);background:#ffffffe0;border:1px solid #943c552e;border-radius:12px;position:absolute;top:8px;left:38px}.auth-paper-back{background:#fff6;transform:rotate(9deg)translate(18px,-3px)}.auth-paper-front{padding:28px 15px;transform:rotate(-4deg)}.auth-paper-front span{background:#ead8de;border-radius:999px;height:4px;margin-bottom:8px;display:block}.auth-paper-front span:nth-child(2){width:74%}.auth-paper-front span:nth-child(3){width:88%}.auth-paper-front span:nth-child(4){width:55%}.auth-form-panel{background:var(--white);justify-content:center;align-items:center;min-height:100vh;padding:48px;display:flex}.auth-card{width:min(100%,440px)}.auth-mobile-brand{align-items:center;gap:11px;margin-bottom:42px;font-size:14px;display:none}.auth-heading h2{color:var(--text);letter-spacing:-.04em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:34px;font-weight:500;line-height:1.1}.auth-heading>p{color:var(--text-soft);margin:12px 0 0;font-size:13px;line-height:1.6}.auth-tabs{background:var(--surface-muted);border:1px solid var(--border);border-radius:13px;grid-template-columns:1fr 1fr;gap:4px;margin:32px 0 28px;padding:4px;display:grid}.auth-tabs button{height:39px;color:var(--text-muted);transition:color var(--transition), background var(--transition), box-shadow var(--transition);background:0 0;border:0;border-radius:9px;font-size:12px;font-weight:680}.auth-tabs button.active{color:var(--wine);background:var(--white);box-shadow:var(--shadow-sm)}.auth-form{flex-direction:column;gap:18px;display:flex}.auth-field label{color:var(--text);margin-bottom:8px;font-size:11px;font-weight:680;display:block}.auth-input{height:47px;color:var(--text-muted);background:var(--white);border:1px solid var(--border);transition:color var(--transition), border-color var(--transition), box-shadow var(--transition);border-radius:12px;align-items:center;gap:10px;padding:0 13px;display:flex}.auth-input:focus-within{color:var(--wine);border-color:#943c556e;box-shadow:0 0 0 4px #943c5512}.auth-input input{width:100%;min-width:0;color:var(--text);background:0 0;border:0;outline:none;font-size:13px}.auth-input input::placeholder{color:#b5aaae}.password-toggle{width:34px;height:34px;color:var(--text-muted);background:0 0;border:0;border-radius:8px;flex:none;place-items:center;display:grid}.password-toggle:hover{color:var(--wine);background:var(--wine-soft)}.auth-error{color:#9b334e;background:#fff3f5;border:1px solid #f3d2da;border-radius:10px;padding:11px 13px;font-size:11px;line-height:1.45}.auth-submit{width:100%;height:47px;margin-top:2px}.auth-submit:disabled{cursor:wait;opacity:.74;transform:none}.auth-footer-copy{color:var(--text-muted);text-align:center;margin:23px 0 0;font-size:11px}.auth-footer-copy button{color:var(--wine);font-size:inherit;background:0 0;border:0;margin-left:5px;padding:0;font-weight:720}.auth-footer-copy button:hover{text-decoration:underline}.app-loading{min-height:100vh;color:var(--text-muted);background:var(--white);flex-direction:column;justify-content:center;align-items:center;gap:13px;font-size:12px;display:flex}.loading-mark{width:50px;height:50px;color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:16px;place-items:center;display:grid}.spin{animation:.8s linear infinite auth-spin}@keyframes auth-spin{to{transform:rotate(360deg)}}@media (width<=900px){.auth-page{grid-template-columns:1fr}.auth-brand-panel{display:none}.auth-form-panel{padding:40px 26px}.auth-mobile-brand{display:flex}}@media (width<=480px){.auth-form-panel{align-items:flex-start;padding:30px 20px}.auth-card{padding-top:10px}.auth-mobile-brand{margin-bottom:36px}.auth-heading h2{font-size:30px}}.project-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:18px;padding-top:26px;display:grid}.project-card{background:var(--surface);border:1px solid var(--border);border-radius:22px;flex-direction:column;min-width:0;height:100%;transition:transform .16s,box-shadow .16s,border-color .16s;display:flex;overflow:hidden;box-shadow:0 10px 24px #3e232c0d}.project-card:hover{border-color:#943c5538;transform:translateY(-3px);box-shadow:0 14px 32px #3e232c17}.project-cover{aspect-ratio:4/5;background:linear-gradient(145deg,#faf3f5,#f2e5e9);position:relative;overflow:hidden}.project-cover img{object-fit:cover;width:100%;height:100%;display:block}.project-cover-placeholder{color:#943c5580;background:linear-gradient(145deg,#fbf4f6,#f3e6ea);place-items:center;width:100%;height:100%;display:grid}.favorite-button{width:34px;height:34px;color:var(--text-soft);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffeb;border:1px solid #ffffffd9;border-radius:999px;place-items:center;display:grid;position:absolute;top:10px;right:10px;box-shadow:0 4px 10px #3e232c14}.favorite-button:hover,.favorite-button.active{color:var(--wine);background:var(--surface)}.project-card-body{flex-direction:column;gap:12px;padding:14px 14px 15px;display:flex}.project-card-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.project-card-heading>div{flex:1;min-width:0}.project-card-heading h3{color:var(--text);overflow-wrap:anywhere;margin:0;font-size:16px;font-weight:720;line-height:1.28}.project-card-heading>div>span{color:var(--text-muted);overflow-wrap:anywhere;margin-top:4px;font-size:11px;line-height:1.35;display:block}.project-menu-button{width:30px;height:30px;color:var(--text-muted);background:var(--surface-soft);border:1px solid var(--border);border-radius:999px;flex:none;place-items:center;display:grid}.project-menu-button:hover{color:var(--wine);background:var(--wine-soft)}.project-tags{min-height:unset;flex-wrap:wrap;gap:6px;margin-top:0;display:flex}.project-tags span{color:#785f68;background:var(--wine-soft);border:1px solid #f0dde3;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:650;line-height:1}.project-card-footer{border-top:1px solid var(--border);color:var(--text-muted);justify-content:space-between;align-items:center;gap:10px;margin-top:auto;padding-top:12px;font-size:11px;line-height:1.4;display:flex}.project-status{color:var(--wine);font-weight:720}@media (width<=1100px){.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.project-card-body{padding:13px}.project-card-heading h3{font-size:15px}}@media (width<=520px){.project-grid{grid-template-columns:1fr}}.project-card-actions{flex:none;align-items:center;gap:5px;display:flex}.edit-project-button{width:30px;height:30px;color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);transition:background var(--transition), color var(--transition), transform var(--transition);border-radius:999px;place-items:center;display:grid}.edit-project-button:hover{color:#fff;background:var(--wine);transform:translateY(-1px)}.template-change-warning{color:#714a56;background:#fff8f3;border:1px solid #efd8c8;border-radius:13px;padding:15px}.template-change-warning-heading{color:#9a5b3f;align-items:center;gap:8px;font-size:11px;display:flex}.template-change-warning-heading svg{flex:none}.template-change-warning p{margin:8px 0 13px;font-size:10px;line-height:1.55}.template-warning-confirm{cursor:pointer;align-items:flex-start;gap:9px;display:flex}.template-warning-confirm input{width:16px;height:16px;accent-color:var(--wine);flex:none;margin:1px 0 0}.template-warning-confirm span{color:#74545e;font-size:10px;font-weight:650;line-height:1.45}.project-card{cursor:pointer}.workspace-shell{background:var(--surface);grid-template-columns:268px minmax(0,1fr);min-height:100vh;display:grid}.workspace-sidebar{border-right:1px solid var(--border);background:#fcfafb;flex-direction:column;min-height:100vh;display:flex;position:sticky;top:0}.workspace-project-header{border-bottom:1px solid var(--border);padding:20px 18px 18px}.workspace-back-button{color:var(--text-muted);background:0 0;border:0;border-radius:9px;align-items:center;gap:7px;padding:7px 9px;font-size:11px;font-weight:650;display:inline-flex}.workspace-back-button:hover{color:var(--wine);background:var(--wine-soft)}.workspace-project-identity{align-items:center;gap:11px;margin-top:18px;display:flex}.workspace-project-icon{width:39px;height:39px;color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:12px;flex:none;place-items:center;display:grid}.workspace-project-identity>div:last-child{min-width:0}.workspace-project-identity strong{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:12px;line-height:1.3;display:block;overflow:hidden}.workspace-project-identity span{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;margin-top:3px;font-size:9px;display:block;overflow:hidden}.workspace-navigation{flex-direction:column;flex:1;gap:5px;padding:17px 12px;display:flex}.workspace-nav-main,.workspace-subnav button,.workspace-sidebar-footer button{width:100%;color:var(--text-soft);text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;display:flex}.workspace-nav-main{min-height:42px;padding:0 12px;font-size:11px;font-weight:690}.workspace-nav-main:hover,.workspace-nav-main.active{color:var(--wine);background:var(--wine-soft)}.workspace-subnav{border-left:1px solid var(--border);flex-direction:column;gap:2px;margin:3px 0 8px 16px;padding-left:12px;display:flex}.workspace-subnav button{min-height:34px;padding:0 10px;font-size:10px}.workspace-subnav button:hover,.workspace-subnav button.active{color:var(--wine);background:#943c550f}.workspace-sidebar-footer{border-top:1px solid var(--border);padding:12px}.workspace-sidebar-footer button{min-height:39px;padding:0 11px;font-size:10px}.workspace-sidebar-footer button:hover{color:var(--wine);background:var(--wine-soft)}.workspace-main{background:radial-gradient(circle at 96% -12%,#943c550d,#0000 28%),#fff;min-width:0}.workspace-topbar{z-index:10;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffeb;justify-content:space-between;align-items:center;gap:20px;min-height:62px;padding:0 32px;display:flex;position:sticky;top:0}.workspace-topbar>div{color:var(--text-muted);align-items:center;gap:8px;font-size:10px;display:flex}.workspace-topbar i{font-style:normal}.workspace-status{color:var(--wine);background:var(--wine-soft);border-radius:999px;padding:6px 9px;font-size:9px;font-weight:700}.workspace-content{width:min(1050px,100% - 64px);margin:0 auto;padding:48px 0 70px}.workspace-page-heading{max-width:680px}.workspace-page-heading h1,.workspace-placeholder h1{color:var(--text);letter-spacing:-.04em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(31px,4vw,44px);font-weight:500;line-height:1.06}.workspace-page-heading>p,.workspace-placeholder>p{color:var(--text-soft);margin:13px 0 0;font-size:13px;line-height:1.65}.planning-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:36px;display:grid}.planning-card{min-height:176px;color:var(--text);background:var(--surface);border:1px solid var(--border);text-align:left;box-shadow:var(--shadow-sm);transition:transform var(--transition), border-color var(--transition), box-shadow var(--transition);border-radius:18px;flex-direction:column;align-items:flex-start;gap:18px;padding:20px;display:flex}.planning-card:hover{box-shadow:var(--shadow-md);border-color:#943c5540;transform:translateY(-2px)}.planning-card-icon{width:40px;height:40px;color:var(--wine);background:var(--wine-soft);border-radius:12px;place-items:center;display:grid}.planning-card h3{margin:0;font-size:14px}.planning-card p{color:var(--text-soft);margin:7px 0 0;font-size:10px;line-height:1.55}.workspace-placeholder{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:510px;display:flex}.workspace-placeholder-icon{width:58px;height:58px;color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:18px;place-items:center;margin-bottom:21px;display:grid}.workspace-placeholder>p{max-width:500px}.workspace-coming-soon{color:var(--wine);background:var(--wine-soft);border-radius:10px;align-items:center;gap:7px;margin-top:23px;padding:9px 12px;font-size:10px;font-weight:650;display:inline-flex}@media (width<=900px){.workspace-shell{grid-template-columns:220px minmax(0,1fr)}.planning-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-content{width:min(100% - 40px,1050px)}}@media (width<=680px){.workspace-shell{display:block}.workspace-sidebar{border-right:0;border-bottom:1px solid var(--border);min-height:auto;position:static}.workspace-navigation{flex-direction:row;overflow-x:auto}.workspace-nav-main{width:auto;min-width:max-content}.workspace-subnav,.workspace-sidebar-footer{display:none}.workspace-topbar{padding:0 20px}.planning-grid{grid-template-columns:1fr}}.characters-heading{justify-content:space-between;align-items:flex-end;gap:25px;max-width:none;display:flex}.characters-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;margin-top:30px;padding-bottom:18px;display:flex}.character-count{color:var(--text-muted);font-size:10px}.characters-loading,.characters-empty{min-height:360px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.characters-loading{gap:10px;font-size:11px}.characters-empty-icon{width:57px;height:57px;color:var(--wine);background:var(--wine-soft);border-radius:18px;place-items:center;margin-bottom:18px;display:grid}.characters-empty h2{color:var(--text);margin:0;font-size:18px}.characters-empty p{max-width:360px;margin:8px 0 20px;font-size:11px;line-height:1.55}.character-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;padding-top:26px;display:grid}.character-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);transition:transform var(--transition), box-shadow var(--transition), border-color var(--transition);cursor:pointer;border-radius:18px;overflow:hidden}.character-card:hover{box-shadow:var(--shadow-md);border-color:#943c553b;transform:translateY(-2px)}.character-card-image{aspect-ratio:1;color:#943c5580;background:linear-gradient(145deg,#fbf4f6,#f2e4e8);place-items:center;display:grid;overflow:hidden}.character-card-image img{object-fit:cover;width:100%;height:100%}.character-card-body{padding:14px}.character-card h3{color:var(--text);margin:0;font-size:14px;line-height:1.3}.character-alias{color:var(--text-muted);margin-top:3px;font-size:10px;display:block}.character-role{color:var(--wine);background:var(--wine-soft);border-radius:999px;margin-top:9px;padding:5px 8px;font-size:9px;font-weight:680;display:inline-block}.character-card p{color:var(--text-soft);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:10px 0 0;font-size:10px;line-height:1.5;display:-webkit-box;overflow:hidden}.character-tags{flex-wrap:wrap;gap:5px;margin-top:12px;display:flex}.character-tags span{color:var(--text-muted);background:var(--surface-muted);border-radius:999px;align-items:center;gap:4px;padding:4px 7px;font-size:8px;display:inline-flex}.character-modal{background:var(--surface);width:min(760px,100%);max-height:calc(100vh - 64px);box-shadow:var(--shadow-lg);border-radius:22px;overflow-y:auto}.character-form-layout{grid-template-columns:170px minmax(0,1fr);gap:28px;padding:28px 30px 30px;display:grid}.character-image-picker{aspect-ratio:1;background:var(--surface-soft);border:1px dashed var(--border-strong);cursor:pointer;border-radius:16px;width:100%;display:block;position:relative;overflow:hidden}.character-image-picker>div{width:100%;height:100%;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.character-image-picker svg{color:var(--wine);margin-bottom:10px}.character-image-picker strong{font-size:11px}.character-image-picker span{margin-top:4px;font-size:9px}.character-image-picker img{object-fit:cover;width:100%;height:100%}.character-image-picker input{display:none}.character-textarea{resize:vertical;width:100%;min-height:100px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:11px;outline:none;padding:11px 13px;font-size:12px;line-height:1.5}.character-textarea:focus{border-color:#943c5573;box-shadow:0 0 0 4px #943c5512}@media (width<=1050px){.character-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=780px){.character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.characters-heading{flex-direction:column;align-items:stretch}.characters-heading button{width:100%}.character-form-layout{grid-template-columns:1fr}.character-image-picker{width:140px}}.character-detail{width:100%}.character-detail-back{color:var(--text-muted);background:0 0;border:0;border-radius:9px;align-items:center;gap:7px;margin-bottom:24px;padding:7px 9px;font-size:10px;font-weight:650;display:inline-flex}.character-detail-back:hover{color:var(--wine);background:var(--wine-soft)}.character-detail-hero{grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:20px;display:grid}.character-detail-portrait{color:#943c558c;border:1px solid var(--border);background:linear-gradient(145deg,#fbf4f6,#f2e4e8);border-radius:22px;place-items:center;width:90px;height:90px;display:grid;overflow:hidden}.character-detail-portrait img{object-fit:cover;width:100%;height:100%}.character-detail-identity{min-width:0}.character-detail-identity h1{color:var(--text);letter-spacing:-.04em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(28px,4vw,40px);font-weight:500;line-height:1.05}.character-detail-alias{color:var(--text-muted);margin-top:5px;font-size:11px;display:block}.character-detail-role{color:var(--wine);background:var(--wine-soft);border-radius:999px;margin-top:10px;padding:5px 9px;font-size:9px;font-weight:680;display:inline-block}.saved-message{color:#5f7f63;font-size:10px;font-weight:650}.character-detail-tabs{border-bottom:1px solid var(--border);align-items:center;gap:5px;margin-top:30px;padding-bottom:10px;display:flex;overflow-x:auto}.character-detail-tabs button{min-height:38px;color:var(--text-muted);background:0 0;border:0;border-radius:9px;flex:none;align-items:center;gap:7px;padding:0 11px;font-size:10px;font-weight:650;display:inline-flex}.character-detail-tabs button:hover,.character-detail-tabs button.active{color:var(--wine);background:var(--wine-soft)}.character-detail-error{margin-top:18px}.character-detail-sections{flex-direction:column;gap:20px;display:flex}.character-detail-section{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:18px;margin-top:22px;padding:22px}.character-detail-section-heading{margin-bottom:20px}.character-detail-section-heading h3{color:var(--text);margin:0;font-size:14px}.character-detail-section-heading p{color:var(--text-muted);margin:5px 0 0;font-size:10px;line-height:1.5}.character-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.character-detail-wide-grid{gap:16px;margin-top:16px;display:grid}.character-detail-field label{color:var(--text);margin-bottom:7px;font-size:10px;font-weight:680;display:block}.character-detail-field input,.character-detail-field textarea{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);transition:border-color var(--transition), box-shadow var(--transition);border-radius:10px;outline:none;font-size:11px}.character-detail-field input{height:42px;padding:0 12px}.character-detail-field textarea{resize:vertical;min-height:95px;padding:11px 12px;line-height:1.5}.character-detail-field input:focus,.character-detail-field textarea:focus{border-color:#943c556b;box-shadow:0 0 0 4px #943c550f}.custom-fields-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.custom-fields-heading button{min-height:38px}.custom-fields-empty{color:var(--text-muted);background:var(--surface-soft);border:1px dashed var(--border-strong);text-align:center;border-radius:12px;padding:24px;font-size:10px}.custom-fields-list{flex-direction:column;gap:9px;display:flex}.custom-field-row{grid-template-columns:minmax(130px,.4fr) minmax(0,1fr) 34px;gap:8px;display:grid}.custom-field-row input{width:100%;height:40px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:9px;outline:none;padding:0 11px;font-size:10px}.custom-field-name{font-weight:650}.delete-custom-field{width:34px;height:40px;color:var(--text-muted);background:0 0;border:0;border-radius:9px;place-items:center;display:grid}.delete-custom-field:hover{color:#a23d4e;background:#fff0f3}.character-detail-coming-soon{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:400px;display:flex}.character-detail-coming-soon>div{width:58px;height:58px;color:var(--wine);background:var(--wine-soft);border-radius:18px;place-items:center;margin-bottom:17px;display:grid}.character-detail-coming-soon h2{color:var(--text);margin:0;font-size:19px}.character-detail-coming-soon p{max-width:500px;color:var(--text-soft);margin:8px 0 19px;font-size:11px;line-height:1.6}.character-detail-coming-soon span{color:var(--wine);background:var(--wine-soft);border-radius:9px;align-items:center;gap:6px;padding:8px 11px;font-size:9px;font-weight:650;display:inline-flex}@media (width<=760px){.character-detail-hero{grid-template-columns:72px minmax(0,1fr)}.character-detail-portrait{width:72px;height:72px}.character-detail-save-area{grid-column:1/-1;justify-content:flex-end}.character-detail-grid{grid-template-columns:1fr}}@media (width<=520px){.custom-fields-heading{flex-direction:column;align-items:stretch}.custom-field-row{grid-template-columns:1fr 34px}.custom-field-row .custom-field-name{grid-column:1/-1}}.character-detail-field.is-wide{grid-column:1/-1}.character-detail-sections .character-detail-section+.character-detail-section{margin-top:0}.relationship-system-note{color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:14px;align-items:flex-start;gap:12px;padding:16px 18px;display:flex}.relationship-system-note>svg{flex:none;margin-top:1px}.relationship-system-note strong{font-size:11px;display:block}.relationship-system-note p{color:var(--text-soft);margin:5px 0 0;font-size:9px;line-height:1.55}@media (width<=760px){.character-detail-field.is-wide{grid-column:auto}}@media (width>=681px){.workspace-shell{height:100vh;min-height:100vh;overflow:hidden}.workspace-sidebar{overscroll-behavior:contain;height:100vh;min-height:0;position:relative;top:auto;overflow-y:auto}.workspace-main{overscroll-behavior:contain;height:100vh;min-height:0;overflow-y:auto}.workspace-topbar{z-index:30;position:sticky;top:0}}.character-detail-modular{padding-bottom:60px}.character-visible-data{margin-top:30px}.character-content-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-top:34px;margin-bottom:18px;display:flex}.character-content-heading h2{color:var(--text);letter-spacing:-.025em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:500}.character-content-heading p{color:var(--text-muted);margin:6px 0 0;font-size:10px}.character-add-wrapper{flex:none;position:relative}.character-add-button{min-width:110px}.character-add-menu{z-index:50;background:var(--surface);border:1px solid var(--border);border-radius:16px;width:300px;padding:7px;position:absolute;top:calc(100% + 9px);right:0;box-shadow:0 18px 50px #402a3224}.character-add-menu>button{width:100%;color:var(--text);text-align:left;background:0 0;border:0;border-radius:11px;align-items:center;gap:11px;padding:11px;display:flex}.character-add-menu>button:hover{background:var(--wine-soft)}.character-add-menu>button:disabled{opacity:.45;cursor:default}.character-add-menu>button>div{width:35px;height:35px;color:var(--wine);background:var(--wine-soft);border-radius:10px;flex:none;place-items:center;display:grid}.character-add-menu strong{font-size:10px;display:block}.character-add-menu small{color:var(--text-muted);margin-top:2px;font-size:8px;line-height:1.4;display:block}.character-modules-empty{min-height:250px;color:var(--text-muted);border:1px dashed var(--border-strong);text-align:center;background:#faf7f880;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;padding:30px;display:flex}.character-modules-empty>div{width:50px;height:50px;color:var(--wine);background:var(--wine-soft);border-radius:15px;place-items:center;margin-bottom:14px;display:grid}.character-modules-empty h3{color:var(--text);margin:0;font-size:14px}.character-modules-empty p{max-width:430px;margin:7px 0 0;font-size:10px;line-height:1.55}.character-module-list{gap:16px;display:grid}.character-info-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:18px;overflow:hidden}.character-info-card-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:15px;padding:17px 18px;display:flex}.character-info-card-header>div{align-items:center;gap:11px;min-width:0;display:flex}.character-info-card-icon{width:36px;height:36px;color:var(--wine);background:var(--wine-soft);border-radius:11px;flex:none;place-items:center;display:grid}.character-info-card h3{color:var(--text);margin:0;font-size:12px}.character-info-card-header p{color:var(--text-muted);margin:3px 0 0;font-size:8px}.character-card-edit{width:32px;height:32px;color:var(--wine);background:var(--wine-soft);border:0;border-radius:9px;flex:none;place-items:center;display:grid}.character-card-edit:hover{color:#fff;background:var(--wine)}.character-info-values{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:30px;padding:7px 18px 16px;display:grid}.character-info-value{border-bottom:1px solid #943c5514;min-width:0;padding:11px 0}.character-info-value span{color:var(--text-muted);font-size:8px;font-weight:650;display:block}.character-info-value p{color:var(--text);white-space:pre-wrap;margin:4px 0 0;font-size:10px;line-height:1.5}.character-module-card{background:var(--surface);border:1px solid var(--border);min-height:112px;box-shadow:var(--shadow-sm);border-radius:18px;grid-template-columns:44px minmax(0,1fr) 30px;align-items:start;gap:14px;padding:18px;display:grid}.character-module-card-icon{width:44px;height:44px;color:var(--wine);background:var(--wine-soft);border-radius:13px;place-items:center;display:grid}.character-module-card-copy h3{color:var(--text);margin:2px 0 0;font-size:13px}.character-module-card-copy p{color:var(--text-soft);margin:5px 0 0;font-size:10px}.character-module-card-copy span{color:var(--text-muted);margin-top:8px;font-size:8px;display:block}.module-remove-button{width:30px;height:30px;color:var(--text-muted);background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.module-remove-button:hover{color:#a23d4e;background:#fff0f3}.metadata-picker-modal{background:var(--surface);width:min(720px,100%);max-height:calc(100vh - 64px);box-shadow:var(--shadow-lg);border-radius:22px;overflow-y:auto}.metadata-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:24px 28px 30px;display:grid}.metadata-picker-grid>button{min-height:78px;color:var(--text);background:var(--surface);border:1px solid var(--border);text-align:left;border-radius:13px;align-items:center;gap:12px;padding:13px;display:flex}.metadata-picker-grid>button:hover{background:var(--wine-soft);border-color:#943c554d}.metadata-picker-grid>button>div{width:38px;height:38px;color:var(--wine);background:var(--wine-soft);border-radius:11px;flex:none;place-items:center;display:grid}.metadata-picker-grid strong{font-size:10px;display:block}.metadata-picker-grid small{color:var(--text-muted);margin-top:3px;font-size:8px;line-height:1.4;display:block}.metadata-editor-modal{background:var(--surface);width:min(780px,100%);max-height:calc(100vh - 54px);box-shadow:var(--shadow-lg);border-radius:22px;flex-direction:column;display:flex;overflow:hidden}.metadata-editor-content{flex:1;padding:24px 28px;overflow-y:auto}.metadata-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.metadata-editor-grid .character-detail-field.is-wide{grid-column:1/-1}.custom-editor-content{flex-direction:column;flex:1;gap:9px;padding:24px 28px;display:flex;overflow-y:auto}.custom-add-field{align-self:flex-start;margin-top:6px}@media (width<=760px){.character-content-heading{flex-direction:column;align-items:stretch}.character-add-wrapper,.character-add-button,.character-add-menu{width:100%}.character-info-values,.metadata-picker-grid,.metadata-editor-grid{grid-template-columns:1fr}.metadata-editor-grid .character-detail-field.is-wide{grid-column:auto}}.character-header-actions{align-items:center;gap:8px;display:flex}.character-header-actions .character-add-wrapper{position:relative}.character-header-actions .character-add-button{min-width:105px}.character-detail-save-area{align-items:center;gap:10px;display:flex}@media (width<=760px){.character-detail-save-area{justify-content:flex-end;width:100%}.character-header-actions{width:100%}.character-header-actions .character-add-wrapper,.character-header-actions .character-add-button,.character-header-actions .primary-button{flex:1}.character-header-actions .character-add-menu{left:0;right:auto}}.character-relations-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:18px;overflow:hidden}.character-relations-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;padding:17px 18px;display:flex}.character-relations-title{align-items:center;gap:12px;min-width:0;display:flex}.character-relations-title h3{color:var(--text);margin:0;font-size:12px}.character-relations-title p{color:var(--text-muted);margin:3px 0 0;font-size:8px}.character-relations-actions{flex:none;align-items:center;gap:7px;display:flex}.relations-loading,.relations-empty{min-height:160px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex}.relations-loading{gap:8px;font-size:10px}.relations-empty svg{color:var(--wine);margin-bottom:10px}.relations-empty strong{color:var(--text);font-size:11px}.relations-empty p{max-width:360px;margin:5px 0 0;font-size:9px;line-height:1.5}.relationship-list{gap:6px;padding:8px 18px 16px;display:grid}.relationship-item{border-bottom:1px solid #943c5514;grid-template-columns:42px minmax(0,1fr) 32px;align-items:center;gap:11px;padding:12px 4px;display:grid}.relationship-item:last-child{border-bottom:0}.relationship-avatar{width:42px;height:42px;color:var(--wine);background:var(--wine-soft);border-radius:12px;place-items:center;display:grid;overflow:hidden}.relationship-avatar img{object-fit:cover;width:100%;height:100%}.relationship-copy{min-width:0}.relationship-main-line{flex-wrap:wrap;align-items:baseline;gap:6px;display:flex}.relationship-main-line strong{color:var(--text);font-size:11px}.relationship-main-line>span{color:var(--text-muted);font-size:8px}.relationship-labels{flex-wrap:wrap;align-items:center;gap:6px;margin-top:5px;display:flex}.relationship-label-primary{color:var(--wine);background:var(--wine-soft);border-radius:999px;padding:4px 7px;font-size:8px;font-weight:680}.relationship-label-secondary{color:var(--text-muted);font-size:8px}.relationship-copy>p{color:var(--text-soft);white-space:pre-wrap;margin:7px 0 0;font-size:9px;line-height:1.5}.delete-relationship-button{width:31px;height:31px;color:var(--text-muted);background:0 0;border:0;border-radius:9px;place-items:center;display:grid}.delete-relationship-button:hover{color:#a23d4e;background:#fff0f3}.relationship-modal{background:var(--surface);width:min(610px,100%);max-height:calc(100vh - 54px);box-shadow:var(--shadow-lg);border-radius:22px;flex-direction:column;display:flex;overflow:hidden}.relationship-form{flex-direction:column;flex:1;gap:16px;padding:24px 28px;display:flex;overflow-y:auto}.relationship-form select{width:100%;height:43px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;outline:none;padding:0 12px;font-size:11px}.relationship-form select:focus{border-color:#943c556b;box-shadow:0 0 0 4px #943c550f}.relationship-direction-preview{background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:11px;padding:13px}.relationship-direction-preview>div{color:var(--wine);justify-content:center;align-items:center;gap:10px;font-size:10px;display:flex}.relationship-direction-preview small{color:var(--text-muted);text-align:center;margin-top:5px;font-size:8px;display:block}.relationship-no-options{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:210px;display:flex}.relationship-no-options svg{color:var(--wine);margin-bottom:10px}.relationship-no-options strong{color:var(--text);font-size:11px}.relationship-no-options p{max-width:340px;color:var(--text-muted);margin:6px 0 0;font-size:9px;line-height:1.5}@media (width<=650px){.character-relations-header{flex-direction:column;align-items:flex-start}.character-relations-actions{width:100%}.character-relations-actions .secondary-button{flex:1}}.relationship-item{cursor:pointer}.relationship-detail{width:100%;padding-bottom:70px}.relationship-detail-loading{min-height:500px;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:11px;display:flex}.relationship-detail-hero{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;display:grid}.relationship-people{align-items:center;gap:6px;display:flex}.relationship-person{text-align:center;width:64px}.relationship-person>div{width:54px;height:54px;color:var(--wine);background:var(--wine-soft);border-radius:16px;place-items:center;margin:0 auto;display:grid;overflow:hidden}.relationship-person img{object-fit:cover;width:100%;height:100%}.relationship-person>span{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;margin-top:5px;font-size:8px;display:block;overflow:hidden}.relationship-link-symbol{color:var(--wine)}.relationship-detail-heading{min-width:0}.relationship-detail-heading h1{color:var(--text);letter-spacing:-.04em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(28px,4vw,40px);font-weight:500;line-height:1.05}.relationship-detail-badges{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.relationship-detail-badges span{color:var(--wine);background:var(--wine-soft);border-radius:999px;padding:5px 9px;font-size:8px;font-weight:680}.relationship-detail-actions{align-items:center;gap:8px;display:flex}.relationship-detail-error{margin-top:20px}.relationship-info-card{margin-top:18px}.relationship-info-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:130px;padding:22px;display:flex}.relationship-info-empty p{color:var(--text-muted);margin:0 0 13px;font-size:9px}.relationship-evolution{margin-top:32px}.relationship-evolution-header{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px;display:flex}.relationship-evolution-header h2{color:var(--text);margin:0;font-family:Georgia,Times New Roman,serif;font-size:23px;font-weight:500}.relationship-evolution-header p{color:var(--text-muted);margin:5px 0 0;font-size:9px}.relationship-dynamics-empty{min-height:210px;color:var(--text-muted);border:1px dashed var(--border-strong);text-align:center;background:#faf7f880;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;padding:26px;display:flex}.relationship-dynamics-empty>svg{color:var(--wine);margin-bottom:10px}.relationship-dynamics-empty h3{color:var(--text);margin:0;font-size:13px}.relationship-dynamics-empty p{margin:6px 0 0;font-size:9px}.relationship-dynamics-empty span{color:var(--wine);margin-top:10px;font-size:8px}.relationship-timeline{position:relative}.relationship-timeline:before{content:"";background:var(--wine-soft-strong);width:1px;position:absolute;top:18px;bottom:18px;left:18px}.relationship-timeline-row{grid-template-columns:37px minmax(0,1fr);gap:13px;padding-bottom:14px;display:grid;position:relative}.relationship-timeline-marker{z-index:2;padding-top:15px;position:relative}.relationship-timeline-marker span{width:36px;height:36px;color:var(--wine);background:var(--surface);border:1px solid var(--wine-soft-strong);border-radius:999px;place-items:center;font-size:9px;font-weight:700;display:grid;box-shadow:0 3px 8px #4128300f}.relationship-dynamic-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);cursor:pointer;transition:transform var(--transition), border-color var(--transition), box-shadow var(--transition);border-radius:15px;padding:16px 17px}.relationship-dynamic-card:hover{box-shadow:var(--shadow-md);border-color:#943c553d;transform:translateY(-1px)}.relationship-dynamic-heading{justify-content:space-between;gap:14px;display:flex}.relationship-dynamic-heading h3{color:var(--text);margin:7px 0 0;font-size:12px}.relationship-time-badge{text-transform:uppercase;letter-spacing:.06em;border-radius:999px;padding:4px 7px;font-size:7px;font-weight:700;display:inline-block}.relationship-time-badge.past{color:#75696d;background:#f2eff0}.relationship-time-badge.present{color:var(--wine);background:var(--wine-soft)}.relationship-time-badge.future{color:#786b91;background:#f1eef7}.relationship-dynamic-actions{color:var(--text-muted);align-items:center;gap:7px;display:flex}.relationship-dynamic-actions button{width:29px;height:29px;color:var(--text-muted);background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.relationship-dynamic-actions button:hover{color:#a23d4e;background:#fff0f3}.relationship-dynamic-perspectives{flex-wrap:wrap;gap:6px;margin-top:11px;display:flex}.relationship-dynamic-perspectives span{color:var(--text-soft);background:var(--surface-soft);border-radius:8px;padding:5px 8px;font-size:8px}.relationship-dynamic-card>p{color:var(--text-soft);white-space:pre-wrap;margin:10px 0 0;font-size:9px;line-height:1.55}.relationship-dynamic-footer{color:var(--text-muted);border-top:1px solid #943c5514;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding-top:10px;font-size:7px;display:flex}.future-chapter-note{color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:11px;align-items:flex-start;gap:10px;padding:13px;display:flex}.future-chapter-note svg{flex:none;margin-top:1px}.future-chapter-note strong{font-size:9px;display:block}.future-chapter-note p{color:var(--text-muted);margin:4px 0 0;font-size:8px;line-height:1.5}@media (width<=760px){.relationship-detail-hero{grid-template-columns:1fr}.relationship-people{justify-content:flex-start}.relationship-detail-actions{width:100%}.relationship-detail-actions .secondary-button,.relationship-detail-actions .primary-button{flex:1}.relationship-evolution-header{flex-direction:column;align-items:stretch}.relationship-evolution-header .secondary-button{width:100%}.relationship-dynamic-footer{flex-direction:column;align-items:flex-start}}.characters-heading-actions{flex:none;align-items:center;gap:8px;display:flex}.relationship-map-shell{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:20px;margin-top:26px;overflow:hidden}.relationship-map-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;min-height:62px;padding:10px 14px;display:flex}.relationship-map-filter{align-items:center;gap:10px;display:flex}.relationship-map-filter>span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.07em;font-size:8px;font-weight:700}.relationship-map-filter>div{background:var(--surface-soft);border-radius:10px;align-items:center;gap:2px;padding:3px;display:flex}.relationship-map-filter button{min-height:30px;color:var(--text-muted);background:0 0;border:0;border-radius:8px;padding:0 9px;font-size:8px;font-weight:650}.relationship-map-filter button:hover{color:var(--wine)}.relationship-map-filter button.active{color:var(--wine);background:var(--surface);box-shadow:0 2px 7px #3f272f12}.relationship-map-toolbar-actions{align-items:center;gap:8px;display:flex}.relationship-map-chapter-placeholder{min-height:36px;color:var(--text-muted);background:var(--surface-soft);border:1px solid var(--border);border-radius:9px;align-items:center;gap:6px;padding:0 10px;font-size:8px;display:flex}.relationship-map-chapter-placeholder span{color:var(--wine);background:var(--wine-soft);text-transform:uppercase;border-radius:999px;padding:3px 5px;font-size:6px;font-weight:700}.relationship-map-canvas{touch-action:none;background:radial-gradient(circle,#943c5506,#0000 60%),radial-gradient(circle,#943c5514 1px,#0000 1px) 0 0/24px 24px;height:min(640px,100vh - 250px);min-height:480px;position:relative;overflow:hidden}.relationship-map-lines{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.relationship-map-line{stroke:#943c556e;stroke-width:1.6px;vector-effect:non-scaling-stroke}.relationship-map-line.past{stroke:#6a60646b;stroke-dasharray:5 5}.relationship-map-line.present{stroke:#943c5585}.relationship-map-line.future{stroke:#71609173;stroke-dasharray:2 5}.relationship-map-edge-label{z-index:4;max-width:150px;min-height:25px;color:var(--wine);border:1px solid var(--wine-soft-strong);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);white-space:nowrap;text-overflow:ellipsis;background:#fffffff0;border-radius:999px;align-items:center;gap:4px;padding:4px 7px;font-size:7px;font-weight:680;display:inline-flex;position:absolute;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 4px 12px #3d262e14}.relationship-map-edge-label:hover{color:#fff;background:var(--wine);border-color:var(--wine)}.relationship-map-edge-label.past{color:#6f6568}.relationship-map-edge-label.future{color:#75658c}.relationship-map-node{z-index:8;width:92px;color:var(--text);text-align:center;touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;background:0 0;border:0;flex-direction:column;align-items:center;padding:0;display:flex;position:absolute;transform:translate(-50%,-50%)}.relationship-map-node:active{cursor:grabbing}.relationship-map-node-image{width:62px;height:62px;color:var(--wine);transition:transform var(--transition), box-shadow var(--transition);background:linear-gradient(145deg,#fbf4f6,#f1e2e7);border:3px solid #fff;border-radius:18px;place-items:center;display:grid;overflow:hidden;box-shadow:0 7px 20px #40272f24}.relationship-map-node:hover .relationship-map-node-image{transform:translateY(-2px)scale(1.035);box-shadow:0 10px 25px #40272f30}.relationship-map-node-image img{object-fit:cover;width:100%;height:100%}.relationship-map-node>span{max-width:100%;color:var(--text);white-space:nowrap;text-overflow:ellipsis;background:#ffffffe8;border-radius:6px;margin-top:7px;padding:3px 6px;font-size:8px;font-weight:720;overflow:hidden}.relationship-map-node>small{max-width:100%;color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;margin-top:1px;font-size:6px;overflow:hidden}.relationship-map-no-edges{z-index:2;color:var(--text-muted);border:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);text-align:center;pointer-events:none;background:#ffffffe0;border-radius:14px;flex-direction:column;align-items:center;padding:17px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.relationship-map-no-edges svg{color:var(--wine);margin-bottom:7px}.relationship-map-no-edges strong{color:var(--text);font-size:9px}.relationship-map-no-edges span{margin-top:4px;font-size:7px}.relationship-map-loading,.relationship-map-empty{min-height:450px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:9px;display:flex}.relationship-map-loading{font-size:10px}.relationship-map-empty svg{color:var(--wine)}.relationship-map-empty h3{color:var(--text);margin:2px 0 0;font-size:12px}.relationship-map-empty p{margin:0;font-size:8px}.relationship-map-hint{color:var(--text-muted);background:var(--surface-soft);border-top:1px solid var(--border);text-align:center;padding:9px 14px;font-size:7px}@media (width<=760px){.characters-heading-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.characters-heading-actions button{width:100%}.relationship-map-toolbar,.relationship-map-filter{flex-direction:column;align-items:stretch}.relationship-map-filter>div{grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.relationship-map-toolbar-actions{width:100%}.relationship-map-chapter-placeholder{flex:1}.relationship-map-canvas{height:560px}.relationship-map-node{width:78px}.relationship-map-node-image{border-radius:15px;width:54px;height:54px}}.character-gallery-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:18px;overflow:hidden}.character-gallery-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;padding:17px 18px;display:flex}.character-gallery-header h3{color:var(--text);margin:0;font-size:12px}.character-gallery-header p{color:var(--text-muted);margin:3px 0 0;font-size:8px}.gallery-loading,.gallery-empty{min-height:180px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:24px;display:flex}.gallery-loading{gap:9px;font-size:10px}.gallery-empty svg{color:var(--wine);margin-bottom:10px}.gallery-empty strong{color:var(--text);font-size:11px}.gallery-empty p{max-width:370px;margin:5px 0 14px;font-size:9px;line-height:1.5}.character-gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:16px;display:grid}.gallery-image-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;min-width:0;overflow:hidden}.gallery-image-preview{aspect-ratio:1;width:100%;color:var(--wine);background:var(--wine-soft);border:0;place-items:center;padding:0;display:grid;position:relative;overflow:hidden}.gallery-image-preview img{object-fit:cover;width:100%;height:100%;transition:transform var(--transition)}.gallery-image-preview:hover img{transform:scale(1.025)}.gallery-primary-badge{color:var(--wine);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffeb;border-radius:999px;align-items:center;gap:4px;padding:5px 7px;font-size:7px;font-weight:700;display:inline-flex;position:absolute;top:7px;left:7px;box-shadow:0 3px 10px #3c242c14}.gallery-image-body{padding:10px}.gallery-image-body>div:first-child{min-width:0}.gallery-image-body strong{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:9px;display:block;overflow:hidden}.gallery-image-body>div:first-child>span{color:var(--wine);margin-top:2px;font-size:7px;display:block}.gallery-image-body p{color:var(--text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:7px 0 0;font-size:8px;line-height:1.4;display:-webkit-box;overflow:hidden}.gallery-image-actions{align-items:center;gap:3px;margin-top:9px;display:flex}.gallery-image-actions button{width:27px;height:27px;color:var(--text-muted);background:var(--surface-soft);border:0;border-radius:7px;place-items:center;display:grid}.gallery-image-actions button:hover{color:var(--wine);background:var(--wine-soft)}.gallery-image-actions button:disabled{opacity:.28}.gallery-image-actions button:last-child:hover{color:#a23d4e;background:#fff0f3}.gallery-modal{background:var(--surface);width:min(720px,100%);max-height:calc(100vh - 54px);box-shadow:var(--shadow-lg);border-radius:22px;flex-direction:column;display:flex;overflow:hidden}.gallery-editor-layout{flex:1;grid-template-columns:210px minmax(0,1fr);gap:25px;padding:25px 28px;display:grid;overflow-y:auto}.gallery-upload-picker,.gallery-edit-preview{aspect-ratio:1;width:100%;color:var(--wine);background:var(--surface-soft);border:1px dashed var(--border-strong);border-radius:16px;display:block;position:relative;overflow:hidden}.gallery-upload-picker{cursor:pointer}.gallery-upload-picker>div,.gallery-edit-preview{text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.gallery-upload-picker svg{margin-bottom:9px}.gallery-upload-picker strong{color:var(--text);font-size:10px}.gallery-upload-picker span{color:var(--text-muted);margin-top:3px;font-size:8px}.gallery-upload-picker img,.gallery-edit-preview img{object-fit:cover;width:100%;height:100%}.gallery-upload-picker input{display:none}.gallery-modal .field select{width:100%;height:43px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;outline:none;padding:0 12px;font-size:11px}.gallery-modal .field select:focus{border-color:#943c556b;box-shadow:0 0 0 4px #943c550f}.gallery-first-image-note{color:var(--wine);background:var(--wine-soft);border-radius:10px;align-items:center;gap:8px;padding:11px;font-size:8px;line-height:1.4;display:flex}@media (width<=1050px){.character-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){.character-gallery-header{flex-direction:column;align-items:flex-start}.character-gallery-header .character-relations-actions{width:100%}.character-gallery-header .secondary-button{flex:1}.character-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-editor-layout{grid-template-columns:1fr}.gallery-upload-picker,.gallery-edit-preview{width:180px}}.worldbuilding-heading{max-width:none}.worldbuilding-genre-note{color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:13px;align-items:flex-start;gap:10px;margin-top:22px;padding:13px 15px;display:flex}.worldbuilding-genre-note svg{flex:none;margin-top:1px}.worldbuilding-genre-note strong{font-size:9px;display:block}.worldbuilding-genre-note p{color:var(--text-muted);margin:3px 0 0;font-size:8px;line-height:1.5}.worldbuilding-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-top:22px;display:flex}.worldbuilding-filters{align-items:center;gap:4px;display:flex;overflow-x:auto}.worldbuilding-filters button{min-height:32px;color:var(--text-muted);background:0 0;border:0;border-radius:8px;flex:none;padding:0 9px;font-size:8px;font-weight:650}.worldbuilding-filters button:hover,.worldbuilding-filters button.active{color:var(--wine);background:var(--wine-soft)}.worldbuilding-loading,.worldbuilding-empty{min-height:320px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;display:flex}.worldbuilding-loading{gap:9px;font-size:10px}.worldbuilding-empty svg{color:var(--wine);margin-bottom:10px}.worldbuilding-empty h3{color:var(--text);margin:0;font-size:13px}.worldbuilding-empty p{max-width:420px;margin:6px 0 15px;font-size:9px;line-height:1.5}.worldbuilding-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:20px;display:grid}.worldbuilding-card{background:var(--surface);border:1px solid var(--border);min-height:190px;box-shadow:var(--shadow-sm);transition:transform var(--transition), box-shadow var(--transition), border-color var(--transition);border-radius:16px;padding:16px}.worldbuilding-card:hover{box-shadow:var(--shadow-md);border-color:#943c5533;transform:translateY(-2px)}.worldbuilding-card-top{justify-content:space-between;align-items:center;display:flex}.worldbuilding-card-icon{width:37px;height:37px;color:var(--wine);background:var(--wine-soft);border-radius:11px;place-items:center;display:grid}.worldbuilding-card-actions{align-items:center;gap:2px;display:flex}.worldbuilding-card-actions button{width:28px;height:28px;color:var(--text-muted);background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.worldbuilding-card-actions button:hover{color:var(--wine);background:var(--wine-soft)}.worldbuilding-category{color:var(--wine);background:var(--wine-soft);border-radius:999px;margin-top:15px;padding:4px 7px;font-size:7px;font-weight:700;display:inline-block}.worldbuilding-card h3{color:var(--text);margin:8px 0 0;font-size:13px}.worldbuilding-card>p{color:var(--text-soft);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:7px 0 0;font-size:9px;line-height:1.5;display:-webkit-box;overflow:hidden}.worldbuilding-tags{flex-wrap:wrap;gap:4px;margin-top:12px;display:flex}.worldbuilding-tags span{color:var(--text-muted);background:var(--surface-soft);border-radius:6px;padding:4px 6px;font-size:7px}.worldbuilding-modal{background:var(--surface);width:min(620px,100%);max-height:calc(100vh - 54px);box-shadow:var(--shadow-lg);border-radius:22px;flex-direction:column;display:flex;overflow:hidden}.worldbuilding-modal-content{flex-direction:column;flex:1;gap:16px;padding:24px 28px;display:flex;overflow-y:auto}.worldbuilding-modal-content select{width:100%;height:43px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;outline:none;padding:0 12px;font-size:11px}.worldbuilding-modal-content select:focus{border-color:#943c556b;box-shadow:0 0 0 4px #943c550f}@media (width<=1050px){.worldbuilding-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.worldbuilding-toolbar{flex-direction:column;align-items:stretch}.worldbuilding-grid{grid-template-columns:1fr}}.worldbuilding-card{cursor:pointer}.worldbuilding-detail{width:100%;padding-bottom:60px}.worldbuilding-detail-hero{grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:18px;display:grid}.worldbuilding-detail-icon{width:72px;height:72px;color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:19px;place-items:center;display:grid}.worldbuilding-detail-heading{min-width:0}.worldbuilding-detail-heading h1{color:var(--text);letter-spacing:-.04em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(28px,4vw,40px);font-weight:500;line-height:1.05}.worldbuilding-detail-heading p{max-width:600px;color:var(--text-muted);margin:7px 0 0;font-size:9px;line-height:1.5}.worldbuilding-detail-actions{align-items:center;gap:8px;display:flex}.worldbuilding-detail-error{margin-top:20px}.worldbuilding-visible-data{margin-top:30px}.worldbuilding-readonly-category{min-height:42px;color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:10px;align-items:center;padding:0 12px;font-size:10px;font-weight:650;display:flex}.worldbuilding-detail-section-heading{margin-top:34px;margin-bottom:18px}.worldbuilding-detail-section-heading h2{color:var(--text);letter-spacing:-.025em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:500}.worldbuilding-detail-section-heading p{color:var(--text-muted);margin:6px 0 0;font-size:9px}.worldbuilding-empty-add{margin-top:15px}@media (width<=760px){.worldbuilding-detail-hero{grid-template-columns:58px minmax(0,1fr)}.worldbuilding-detail-icon{border-radius:16px;width:58px;height:58px}.worldbuilding-detail-actions{grid-column:1/-1;width:100%}.worldbuilding-detail-actions .character-add-wrapper,.worldbuilding-detail-actions .secondary-button,.worldbuilding-detail-actions .primary-button{flex:1}}.worldbuilding-heading-actions{flex:none;align-items:center;gap:8px;display:flex}.worldbuilding-heading-actions .secondary-button.active{color:var(--wine);background:var(--wine-soft);border-color:var(--wine-soft-strong)}.worldbuilding-search-expanded{width:min(520px,100%);min-height:43px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:11px;align-items:center;gap:9px;margin-top:20px;padding:0 12px;display:flex}.worldbuilding-search-expanded:focus-within{border-color:#943c5559;box-shadow:0 0 0 4px #943c550d}.worldbuilding-search-expanded input{min-width:0;color:var(--text);background:0 0;border:0;outline:0;flex:1;font-size:10px}.worldbuilding-search-expanded input::placeholder{color:var(--text-muted)}.worldbuilding-search-expanded>button{width:28px;height:28px;color:var(--text-muted);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;display:grid}.worldbuilding-search-expanded>button:hover{color:var(--wine);background:var(--wine-soft)}.worldbuilding-toolbar{margin-top:18px;display:block}.worldbuilding-filters{width:100%}.worldbuilding-genre-note{display:none}@media (width<=760px){.worldbuilding-heading-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.worldbuilding-heading-actions button,.worldbuilding-search-expanded{width:100%}}.language-builder{width:100%;padding-bottom:70px}.language-hero{grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:18px;display:grid}.language-hero-icon{width:72px;height:72px;color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:20px;place-items:center;display:grid}.language-hero-copy h1{color:var(--text);letter-spacing:-.04em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(30px,4vw,42px);font-weight:500;line-height:1.05}.language-hero-actions{align-items:center;gap:8px;display:flex}.language-error{margin-top:18px}.language-tabs{border-bottom:1px solid var(--border);gap:5px;margin-top:29px;padding-bottom:10px;display:flex;overflow-x:auto}.language-tabs button{min-height:38px;color:var(--text-muted);background:0 0;border:0;border-radius:9px;flex:none;padding:0 11px;font-size:9px;font-weight:650}.language-tabs button:hover,.language-tabs button.active{color:var(--wine);background:var(--wine-soft)}.language-section-heading h2{color:var(--text);margin:0;font-family:Georgia,Times New Roman,serif;font-size:23px;font-weight:500}.language-panel .field select,.language-modal .field select{width:100%;height:42px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;outline:none;padding:0 11px;font-size:10px}.language-alphabet-assets-heading{justify-content:space-between;align-items:center;margin-top:28px;margin-bottom:11px;display:flex}.language-alphabet-grid button{color:#a23d4e;background:#ffffffeb;border:0;border-radius:8px;place-items:center;width:29px;height:29px;display:grid;position:absolute;top:7px;right:7px}.language-rule-type{color:var(--text-muted);background:var(--surface-soft);text-transform:uppercase;border-radius:999px;padding:4px 6px;font-size:6px;font-weight:700;display:inline-block}.language-translator-stats{flex-wrap:wrap;gap:7px;margin-bottom:18px;display:flex}.language-translator-stats span{color:var(--text-muted);background:var(--surface-soft);border-radius:8px;padding:7px 9px;font-size:7px}.language-translator-stats strong{color:var(--wine);font-size:9px}.language-translator-grid textarea{width:100%;min-height:250px;color:var(--text);background:var(--surface);border:1px solid var(--border);resize:vertical;border-radius:14px;outline:none;padding:14px;font-size:12px;line-height:1.65}@media (width<=950px){.language-alphabet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){.language-hero{grid-template-columns:58px minmax(0,1fr)}.language-hero-icon{border-radius:16px;width:58px;height:58px}.language-hero-actions{grid-column:1/-1;justify-content:flex-end;width:100%}.language-form-grid,.language-translator-grid{grid-template-columns:1fr}.language-section-heading-actions{flex-direction:column;align-items:stretch}.language-alphabet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.language-dictionary-toolbar{flex-direction:column;align-items:stretch}.language-search{width:100%}.language-dictionary-main{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}}.relationship-map-chapter-filter{max-width:230px;min-height:36px;color:var(--text-muted);background:var(--surface-soft);border:1px solid var(--border);border-radius:9px;align-items:center;gap:6px;padding:0 9px;display:flex}.relationship-map-chapter-filter>svg{flex:none}.relationship-map-chapter-filter select{min-width:0;max-width:190px;height:32px;color:var(--text);font:inherit;background:0 0;border:0;outline:0;padding:0 20px 0 2px;font-size:8px;font-weight:650}.relationship-map-chapter-filter select:disabled{color:var(--text-muted)}.relationship-story-unit-field>label{align-items:center;gap:6px;display:flex}.relationship-story-unit-field>label svg{color:var(--wine)}.relationship-story-unit-field select{width:100%;min-height:40px;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:10px;padding:0 11px;font-size:9px}.relationship-story-unit-field>small{color:var(--text-muted);margin-top:6px;font-size:7px;line-height:1.5;display:block}@media (width<=760px){.relationship-map-chapter-filter{flex:1;max-width:none}.relationship-map-chapter-filter select{width:100%;max-width:none}}.sync-conflict-backdrop{z-index:1500;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1b11147a;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.app-settings-modal.sync-conflict-modal{flex-direction:column;width:min(1120px,100vw - 40px);max-width:1120px;height:min(820px,100vh - 40px);max-height:calc(100vh - 40px);display:flex;overflow:hidden}.sync-conflict-header{border-bottom:1px solid #943c5526;justify-content:space-between;align-items:flex-start;gap:20px;padding:24px 26px 20px;display:flex}.sync-conflict-heading{align-items:flex-start;gap:14px;display:flex}.sync-conflict-heading-icon{color:#943c55;background:#943c551a;border-radius:14px;flex:none;place-items:center;width:42px;height:42px;display:grid}.sync-conflict-heading h2{margin:3px 0 5px;font-size:clamp(1.3rem,2vw,1.8rem)}.sync-conflict-heading p{opacity:.7;max-width:680px;margin:0;line-height:1.5}.sync-conflict-eyebrow{color:#943c55;letter-spacing:.12em;text-transform:uppercase;font-size:.74rem;font-weight:800;display:block}.sync-conflict-close{color:inherit;cursor:pointer;opacity:.65;background:0 0;border:0;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.sync-conflict-close:hover{opacity:1;background:#943c5514}.sync-conflict-error,.sync-conflict-stale{background:#ae4c4c14;border:1px solid #ae4c4c3d;border-radius:12px;margin:14px 24px 0;padding:11px 13px;line-height:1.45}.sync-conflict-stale{align-items:flex-start;gap:8px;margin:0 0 15px;display:flex}.sync-conflict-body{flex:1;grid-template-columns:minmax(220px,280px) minmax(0,1fr);min-height:0;display:grid}.sync-conflict-list{background:#943c5506;border-right:1px solid #943c5521;flex-direction:column;min-height:0;display:flex}.sync-conflict-list-title{opacity:.62;text-transform:uppercase;letter-spacing:.06em;padding:15px 16px 10px;font-size:.78rem;font-weight:800}.sync-conflict-list-scroll{min-height:0;padding:4px 10px 16px;overflow-y:auto}.sync-conflict-item{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:13px;align-items:flex-start;gap:10px;margin-bottom:7px;padding:11px;display:flex}.sync-conflict-item:hover,.sync-conflict-item.active{background:#943c5514;border-color:#943c5533}.sync-conflict-item.active{border-color:#943c556b}.sync-conflict-item-number{color:#943c55;background:#943c551a;border-radius:9px;flex:none;place-items:center;width:25px;height:25px;font-size:.75rem;font-weight:800;display:grid}.sync-conflict-item-copy{gap:4px;min-width:0;display:grid}.sync-conflict-item-copy strong{text-overflow:ellipsis;white-space:nowrap;text-transform:capitalize;font-size:.86rem;overflow:hidden}.sync-conflict-item-copy small{opacity:.64;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.74rem;line-height:1.35;display:-webkit-box;overflow:hidden}.sync-conflict-detail{flex-direction:column;min-width:0;min-height:0;padding:20px;display:flex;overflow-y:auto}.sync-conflict-reason{margin-bottom:14px}.sync-conflict-reason span{color:#943c55;letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px;font-size:.72rem;font-weight:800;display:block}.sync-conflict-reason p{margin:0;line-height:1.5}.sync-conflict-comparison{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:0;display:grid}.sync-conflict-version{border:1px solid #943c5526;border-radius:15px;flex-direction:column;min-width:0;display:flex;overflow:hidden}.sync-conflict-version>header{background:#943c550b;border-bottom:1px solid #943c551f;align-items:center;gap:9px;padding:12px 13px;display:flex}.sync-conflict-version>header div{gap:2px;display:grid}.sync-conflict-version>header strong{font-size:.88rem}.sync-conflict-version>header small{opacity:.62;font-size:.72rem}.sync-conflict-version pre{white-space:pre-wrap;overflow-wrap:anywhere;min-height:260px;max-height:390px;color:inherit;background:#00000006;flex:1;margin:0;padding:14px;font:.75rem/1.5 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;overflow:auto}.sync-conflict-actions{justify-content:flex-end;gap:10px;padding-top:16px;display:flex}.sync-conflict-choice,.sync-conflict-done{min-height:42px;font:inherit;cursor:pointer;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 16px;font-weight:700;display:inline-flex}.sync-conflict-choice.cloud{color:inherit;background:0 0;border:1px solid #943c5547}.sync-conflict-choice.local,.sync-conflict-done{color:#fff;background:#943c55;border:1px solid #943c55}.sync-conflict-choice:disabled,.sync-conflict-close:disabled{cursor:not-allowed;opacity:.48}.sync-conflict-loading,.sync-conflict-empty{opacity:.72;flex:1;justify-content:center;align-items:center;gap:10px;min-height:260px;padding:30px;display:flex}.sync-conflict-loading.detail{min-height:300px}.sync-conflict-empty{text-align:center;flex-direction:column}.sync-conflict-empty p{max-width:420px;margin:0 0 12px;line-height:1.5}@media (width<=760px){.sync-conflict-backdrop{padding:10px}.app-settings-modal.sync-conflict-modal{width:calc(100vw - 20px);height:calc(100vh - 20px);max-height:calc(100vh - 20px)}.sync-conflict-header{padding:18px 17px 15px}.sync-conflict-body{grid-template-rows:auto minmax(0,1fr);grid-template-columns:1fr}.sync-conflict-list{border-bottom:1px solid #943c5521;border-right:0;max-height:185px}.sync-conflict-list-scroll{gap:7px;display:flex;overflow:auto hidden}.sync-conflict-item{flex:0 0 min(280px,78vw)}.sync-conflict-detail{padding:14px}.sync-conflict-comparison{grid-template-columns:1fr}.sync-conflict-version pre{min-height:160px;max-height:240px}.sync-conflict-actions{background:inherit;flex-direction:column-reverse;padding:12px 0 2px;position:sticky;bottom:0}.sync-conflict-choice{width:100%}}.sync-conflict-human-heading{background:#943c550f;border-radius:12px;gap:2px;margin-bottom:12px;padding:10px 12px;display:grid}.sync-conflict-human-heading strong{font-size:.84rem}.sync-conflict-human-heading small{opacity:.62;font-size:.72rem}.sync-conflict-human-list{flex:1;align-content:start;gap:10px;min-height:0;display:grid}.sync-conflict-human-card{border:1px solid #943c5526;border-radius:14px;overflow:hidden}.sync-conflict-human-card h3{background:#943c5509;border-bottom:1px solid #943c551a;margin:0;padding:9px 12px;font-size:.82rem}.sync-conflict-human-values{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.sync-conflict-human-values>div{min-width:0;padding:11px 12px}.sync-conflict-human-values>div+div{border-left:1px solid #943c551c}.sync-conflict-human-values span{color:#943c55;align-items:center;gap:6px;margin-bottom:7px;font-size:.71rem;font-weight:800;display:flex}.sync-conflict-human-values p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.82rem;line-height:1.48}@media (width<=760px){.sync-conflict-human-values{grid-template-columns:1fr}.sync-conflict-human-values>div+div{border-top:1px solid #943c551c;border-left:0}}.backup-feedback{background:#943c550f;border-radius:11px;margin-top:10px;padding:10px 12px;font-size:.79rem;line-height:1.45}.backup-feedback.error{background:#ae4c4c14;border:1px solid #ae4c4c38}.backup-preview{background:#943c5509;border:1px solid #943c552b;border-radius:14px;margin-top:12px;padding:14px}.backup-preview>header{margin-bottom:12px}.backup-preview>header strong,.backup-preview>header small{display:block}.backup-preview>header small{opacity:.62;overflow-wrap:anywhere;margin-top:3px}.backup-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.backup-preview-grid>div{border:1px solid #943c551a;border-radius:10px;padding:9px 10px}.backup-preview-grid span{opacity:.62;text-transform:uppercase;margin-bottom:3px;font-size:.68rem;display:block}.backup-preview-grid strong{overflow-wrap:anywhere;font-size:.8rem}.backup-warning{margin:0 0 12px;font-size:.79rem;line-height:1.45}.backup-actions{justify-content:flex-end;gap:8px;display:flex}.backup-actions button{min-height:38px;font:inherit;cursor:pointer;border-radius:10px;padding:0 13px;font-weight:700}.backup-actions .secondary{color:inherit;background:0 0;border:1px solid #943c5533}.backup-actions .primary{color:#fff;background:#943c55;border:1px solid #943c55}.backup-actions button:disabled{cursor:not-allowed;opacity:.5}@media (width<=620px){.backup-preview-grid{grid-template-columns:1fr}.backup-actions{flex-direction:column-reverse}.backup-actions button{width:100%}}.premium-settings-section{position:relative}.premium-settings-icon{color:var(--wine,#943c55)}.premium-settings-loading{color:var(--text-muted,#746970);background:#943c550f;border-radius:12px;align-items:center;gap:8px;padding:14px;font-size:.82rem;display:flex}.premium-settings-spin{animation:.9s linear infinite premium-settings-spin}@keyframes premium-settings-spin{to{transform:rotate(360deg)}}.premium-settings-status{border:1px solid var(--border,#eadde2);border-radius:14px;justify-content:space-between;align-items:center;gap:18px;padding:15px 16px;display:flex}.premium-settings-status.active{background:#943c550e;border-color:#943c5542}.premium-settings-status-main{flex-direction:column;gap:2px;min-width:0;display:flex}.premium-settings-status-label{color:var(--text-muted,#81747a);text-transform:uppercase;letter-spacing:.045em;font-size:.7rem;font-weight:700}.premium-settings-status-main strong{font-size:.9rem}.premium-settings-status-main small{color:var(--text-muted,#81747a);font-size:.74rem}.premium-settings-status-pill{background:var(--surface-muted,#f6f1f3);color:var(--text-muted,#746970);border-radius:999px;flex:none;align-items:center;gap:5px;padding:6px 9px;font-size:.71rem;font-weight:800;display:inline-flex}.premium-settings-status.active .premium-settings-status-pill{color:var(--wine,#943c55);background:#943c551c}.premium-settings-product{background:#943c550a;border:1px solid #943c552e;border-radius:14px;gap:7px;padding:15px 16px;display:grid}.premium-settings-product-heading{color:var(--wine,#943c55);justify-content:space-between;align-items:center;display:flex}.premium-settings-product-heading>div{flex-direction:column;display:flex}.premium-settings-product-heading span{color:var(--text-muted,#81747a);font-size:.72rem;font-weight:700}.premium-settings-product-heading strong{font-size:1.25rem}.premium-settings-product p{color:var(--text-muted,#746970);margin:0;font-size:.78rem;line-height:1.5}.premium-settings-features{gap:9px;display:grid}.premium-settings-features ul{gap:8px;margin:0;padding:0;list-style:none;display:grid}.premium-settings-features li{color:var(--text-soft,#64585d);align-items:center;gap:8px;font-size:.8rem;display:flex}.premium-settings-features li svg{color:var(--wine,#943c55);flex:none}.premium-settings-buy,.premium-settings-refresh{width:fit-content}.premium-settings-coming{color:var(--text-muted,#81747a);font-size:.7rem}@media (prefers-reduced-motion:reduce){.premium-settings-spin{animation:none}}@media (width<=650px){.premium-settings-status{flex-direction:column;align-items:flex-start}}.app-settings-backdrop{z-index:9000;-webkit-backdrop-filter:blur(8px);background:#2d1f2457;justify-content:center;align-items:center;padding:28px;display:flex;position:fixed;inset:0}.app-settings-modal{width:min(760px,100%);max-height:calc(100vh - 56px);color:var(--text);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-lg);border-radius:24px;flex-direction:column;display:flex;overflow:hidden}.app-settings-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:22px;padding:25px 27px 22px;display:flex}.app-settings-heading{align-items:flex-start;gap:14px;min-width:0;display:flex}.app-settings-mark{width:43px;height:43px;color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:13px;flex:none;place-items:center;display:grid}.app-settings-heading .eyebrow{margin-bottom:7px}.app-settings-heading h2{color:var(--text);letter-spacing:-.035em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:28px;font-weight:500;line-height:1.08}.app-settings-heading p{max-width:520px;color:var(--text-soft);margin:8px 0 0;font-size:11px;line-height:1.55}.app-settings-close{width:38px;height:38px;color:var(--text-muted);background:0 0;border:0;border-radius:10px;flex:none;place-items:center;display:grid}.app-settings-close:hover{color:var(--wine);background:var(--wine-soft)}.app-settings-content{gap:18px;padding:25px 27px 28px;display:grid;overflow-y:auto}.app-settings-section{background:var(--surface-soft);border:1px solid var(--border);border-radius:17px;gap:18px;padding:20px;display:grid}.app-settings-section-copy{align-items:flex-start;gap:12px;display:flex}.app-settings-section-icon{width:36px;height:36px;color:var(--wine);background:var(--wine-soft);border-radius:11px;flex:none;place-items:center;display:grid}.app-settings-section-copy h3{color:var(--text);margin:1px 0 0;font-size:12px}.app-settings-section-copy p{color:var(--text-muted);margin:5px 0 0;font-size:9px;line-height:1.5}.app-theme-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.app-theme-options button{min-height:72px;color:var(--text-soft);background:var(--surface);border:1px solid var(--border);text-align:left;transition:color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);border-radius:13px;align-items:center;gap:10px;padding:12px;display:flex}.app-theme-options button:hover{color:var(--wine);border-color:color-mix(in srgb, var(--wine) 30%, var(--border));transform:translateY(-1px)}.app-theme-options button.active{color:var(--wine);background:var(--wine-soft);border-color:color-mix(in srgb, var(--wine) 38%, var(--border));box-shadow:0 0 0 3px color-mix(in srgb, var(--wine) 8%, transparent)}.app-theme-options button>svg{flex:none}.app-theme-options button>span{min-width:0}.app-theme-options strong,.app-theme-options small{display:block}.app-theme-options strong{color:inherit;font-size:10px}.app-theme-options small{color:var(--text-muted);margin-top:3px;font-size:8px;line-height:1.3}.app-language-options{background:var(--surface-muted);border:1px solid var(--border);border-radius:13px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:min(420px,100%);padding:4px;display:grid}.app-language-options button{min-height:45px;color:var(--text-muted);background:0 0;border:0;border-radius:9px;align-items:center;gap:9px;padding:0 13px;display:flex}.app-language-options button>span{min-width:27px;color:var(--wine);background:var(--wine-soft);letter-spacing:.05em;border-radius:7px;place-items:center;padding:4px 6px;font-size:8px;font-weight:760;display:inline-grid}.app-language-options button strong{font-size:10px}.app-language-options button.active{color:var(--wine);background:var(--surface);box-shadow:var(--shadow-sm)}.app-settings-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.app-settings-info-grid article{color:var(--text-soft);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:13px;padding:14px 15px}.app-settings-info-grid strong{color:var(--wine);font-size:9px;display:block}.app-settings-info-grid p{margin:5px 0 0;font-size:8px;line-height:1.5}html[data-theme=dark] .app-settings-backdrop{background:#0805079e}@media (width<=680px){.app-settings-backdrop{align-items:flex-start;padding:12px}.app-settings-modal{border-radius:18px;max-height:calc(100vh - 24px)}.app-settings-header,.app-settings-content{padding-left:18px;padding-right:18px}.app-theme-options,.app-settings-info-grid{grid-template-columns:1fr}}@media (width<=430px){.app-settings-heading{gap:10px}.app-settings-mark{width:38px;height:38px}.app-settings-heading h2{font-size:24px}.app-settings-section{padding:16px}}.app-settings-modal{width:min(800px,100%)}.app-settings-field-label{color:var(--text-muted);letter-spacing:.055em;text-transform:uppercase;font-size:8px;font-weight:750;display:block}.app-settings-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.app-settings-choice-grid button{min-height:69px;color:var(--text-soft);background:var(--surface);border:1px solid var(--border);text-align:left;transition:color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);border-radius:13px;flex-direction:column;justify-content:center;align-items:flex-start;padding:13px 14px;display:flex}.app-settings-choice-grid button:hover{color:var(--wine);border-color:color-mix(in srgb, var(--wine) 30%, var(--border));transform:translateY(-1px)}.app-settings-choice-grid button.active{color:var(--wine);background:var(--wine-soft);border-color:color-mix(in srgb, var(--wine) 38%, var(--border));box-shadow:0 0 0 3px color-mix(in srgb, var(--wine) 8%, transparent)}.app-settings-choice-grid strong,.app-settings-choice-grid small{display:block}.app-settings-choice-grid strong{color:inherit;font-size:10px}.app-settings-choice-grid small{color:var(--text-muted);margin-top:5px;font-size:8px;line-height:1.42}.app-settings-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.app-settings-action-grid button{min-height:64px;color:var(--text-soft);background:var(--surface);border:1px solid var(--border);text-align:left;border-radius:13px;align-items:center;gap:11px;padding:12px 14px;display:flex}.app-settings-action-grid button>svg{color:var(--wine);flex:none}.app-settings-action-grid button span{min-width:0}.app-settings-action-grid strong,.app-settings-action-grid small{display:block}.app-settings-action-grid strong{font-size:9px}.app-settings-action-grid small{color:var(--text-muted);margin-top:4px;font-size:8px;line-height:1.4}.app-settings-action-grid button:disabled,.app-settings-sync-button:disabled{cursor:not-allowed;opacity:.58}.app-settings-inline-note{color:var(--text-muted);margin:-6px 0 0;font-size:8px;line-height:1.5}.app-settings-sync-card{background:var(--surface);border:1px solid var(--border);border-radius:13px;justify-content:space-between;align-items:center;gap:14px;min-height:59px;padding:11px 13px;display:flex}.app-settings-sync-card>div{min-width:0}.app-settings-sync-card strong{color:var(--text);margin-top:5px;font-size:10px;display:block}.app-settings-status-pill{border-radius:999px;flex:none;align-items:center;gap:5px;padding:6px 9px;font-size:8px;font-weight:760;display:inline-flex}.app-settings-status-pill.online{color:#387452;background:#e7f4eb}.app-settings-status-pill.offline{color:var(--wine);background:var(--wine-soft)}html[data-theme=dark] .app-settings-status-pill.online{color:#b7ddc3;background:#26382d}.app-settings-sync-button{width:fit-content;min-height:38px;color:var(--wine);background:var(--surface);border:1px solid var(--border);border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:0 13px;font-size:9px;font-weight:730;display:inline-flex}.app-settings-info-note{color:var(--text-muted);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:12px;padding:11px 13px}.app-settings-info-note p{margin:0;font-size:8px;line-height:1.5}.app-settings-info-note p+p{margin-top:4px}.app-settings-toggle-row{background:var(--surface);border:1px solid var(--border);border-radius:13px;justify-content:space-between;align-items:center;gap:16px;min-height:55px;padding:10px 13px;display:flex}.app-settings-toggle-row>div{min-width:0}.app-settings-toggle-row strong,.app-settings-toggle-row small{display:block}.app-settings-toggle-row strong{color:var(--text);font-size:9px}.app-settings-toggle-row small{color:var(--text-muted);margin-top:4px;font-size:8px;line-height:1.4}.app-settings-toggle{background:var(--surface-muted);border:1px solid var(--border);width:39px;height:22px;transition:background var(--transition), border-color var(--transition);border-radius:999px;flex:none;align-items:center;padding:2px;display:flex}.app-settings-toggle>span{background:var(--text-muted);width:16px;height:16px;transition:transform var(--transition), background var(--transition);border-radius:50%;display:block;transform:translate(0)}.app-settings-toggle.active{background:var(--wine);border-color:var(--wine)}.app-settings-toggle.active>span{background:#fff;transform:translate(17px)}.app-settings-size-row{gap:7px;display:grid}.app-settings-segment{background:var(--surface-muted);border:1px solid var(--border);border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:min(330px,100%);padding:4px;display:grid}.app-settings-segment button{min-height:37px;color:var(--text-muted);background:0 0;border:0;border-radius:8px;padding:0 11px;font-size:9px;font-weight:720}.app-settings-segment button.active{color:var(--wine);background:var(--surface);box-shadow:var(--shadow-sm)}.app-settings-about-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.app-settings-about-grid article{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px 14px}.app-settings-about-grid span,.app-settings-about-grid strong{display:block}.app-settings-about-grid span{color:var(--text-muted);font-size:8px}.app-settings-about-grid strong{color:var(--text);margin-top:5px;font-size:10px}html[data-reduce-motion=true] *,html[data-reduce-motion=true] :before,html[data-reduce-motion=true] :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}html[data-interface-size=normal] #root{zoom:1}html[data-interface-size=large] #root{zoom:1.08}@media (width<=680px){.app-settings-choice-grid,.app-settings-action-grid,.app-settings-about-grid{grid-template-columns:1fr}html[data-interface-size=large] #root{zoom:1.04}}.app-settings-modal{width:min(800px,100vw - 64px);max-height:min(720px,100vh - 120px)}.app-settings-content{overscroll-behavior:contain;min-height:0;overflow-y:auto}@media (width<=680px){.app-settings-backdrop{align-items:center;padding:24px 14px}.app-settings-modal{width:100%;max-height:calc(100vh - 48px)}}.app-tutorial{z-index:20000;pointer-events:none;position:fixed;inset:0}.tutorial-center-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);pointer-events:auto;background:#1f181b94;position:fixed;inset:0}.tutorial-spotlight{z-index:20000;border:2px solid var(--wine,#943c55);pointer-events:none;border-radius:14px;transition:top .18s,left .18s,width .18s,height .18s;position:fixed;box-shadow:0 0 0 9999px #1f181b94,0 0 0 5px #943c5524,0 16px 42px #00000038}.tutorial-spotlight:after{content:"";background:var(--wine,#943c55);border-radius:999px;width:10px;height:10px;animation:1.7s ease-out infinite tutorial-pulse;position:absolute;top:-5px;right:-5px}.tutorial-card{z-index:20002;pointer-events:auto;border:1px solid var(--border,#eadfe3);background:var(--surface,var(--white,#fff));max-width:calc(100vw - 32px);max-height:min(520px,100vh - 32px);color:var(--text,#362e31);box-shadow:var(--shadow-lg,0 24px 64px #301f263d);border-radius:18px;padding:18px;animation:.18s ease-out both tutorial-card-in;position:fixed;overflow:auto}.tutorial-card.centered{width:min(430px,100vw - 32px);top:50%;left:50%;transform:translate(-50%,-50%)}.tutorial-progress-row{color:var(--text-muted,#88777d);letter-spacing:.03em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;font-size:.73rem;font-weight:700;display:flex}.tutorial-close{width:30px;height:30px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;padding:0;display:grid}.tutorial-close:hover{background:var(--surface-muted,#f5eef1)}.tutorial-progress-track{background:var(--surface-muted,#f2e8ec);border-radius:999px;height:4px;margin-bottom:16px;overflow:hidden}.tutorial-progress-track span{border-radius:inherit;background:var(--wine,#943c55);height:100%;transition:width .18s;display:block}.tutorial-card h2{margin:0 0 9px;font-size:clamp(1.2rem,2vw,1.45rem);line-height:1.2}.tutorial-card>p{color:var(--text-soft,#685b60);white-space:pre-line;margin:0;font-size:.92rem;line-height:1.58}.tutorial-hint,.tutorial-waiting{background:var(--wine-soft,#f9eef2);color:var(--wine-dark,#7f3048);border-radius:11px;margin-top:13px;padding:10px 11px;font-size:.79rem;font-weight:650;line-height:1.45}.tutorial-hint.action{padding-left:30px;position:relative}.tutorial-hint.action:before{content:"";background:currentColor;border-radius:50%;width:7px;height:7px;margin-top:-3.5px;animation:1.2s ease-in-out infinite tutorial-dot;position:absolute;top:50%;left:12px}.tutorial-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:18px;display:flex}.tutorial-actions>div{align-items:center;gap:8px;display:flex}.tutorial-actions button{min-height:38px;font:inherit;cursor:pointer;border-radius:10px;font-size:.82rem;font-weight:750}.tutorial-skip{color:var(--text-muted,#88777d);background:0 0;border:0;padding:0}.tutorial-secondary,.tutorial-primary{justify-content:center;align-items:center;gap:6px;padding:0 13px;display:inline-flex}.tutorial-secondary{border:1px solid var(--border,#e6d8dd);background:var(--surface,#fff);color:var(--text,#362e31)}.tutorial-primary{border:1px solid var(--wine,#943c55);background:var(--wine,#943c55);color:#fff}.tutorial-primary:disabled{cursor:not-allowed;opacity:.46}@keyframes tutorial-card-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes tutorial-pulse{0%{box-shadow:0 0 #943c5566}70%,to{box-shadow:0 0 0 12px #943c5500}}@keyframes tutorial-dot{0%,to{opacity:.45;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}.app-tutorial.reduce-motion .tutorial-spotlight,.app-tutorial.reduce-motion .tutorial-progress-track span{transition:none}.app-tutorial.reduce-motion .tutorial-card,.app-tutorial.reduce-motion .tutorial-spotlight:after,.app-tutorial.reduce-motion .tutorial-hint.action:before{animation:none}html[data-theme=dark] .tutorial-center-backdrop{background:#070506b3}html[data-theme=dark] .tutorial-spotlight{box-shadow:0 0 0 9999px #070506ad,0 0 0 5px #c96d8929,0 18px 46px #0000006b}@media (width<=700px){.tutorial-card:not(.centered){max-width:none;bottom:12px;right:12px;width:auto!important;top:auto!important;left:12px!important}.tutorial-card{border-radius:16px;padding:16px}.tutorial-actions{flex-direction:column;align-items:stretch}.tutorial-actions>div{width:100%}.tutorial-secondary,.tutorial-primary{flex:1}}.premium-loading{min-height:260px;color:var(--text-muted,#81747a);justify-content:center;align-items:center;gap:9px;font-size:.86rem;font-weight:650;display:flex}.premium-spin{animation:.9s linear infinite premium-spin}@keyframes premium-spin{to{transform:rotate(360deg)}}.premium-lock-shell{justify-content:center;align-items:center;min-height:min(620px,100vh - 150px);padding:30px 18px;display:flex}.premium-lock-card{border:1px solid var(--border,#eadde2);background:var(--surface,#fff);text-align:center;border-radius:22px;flex-direction:column;align-items:center;width:min(560px,100%);padding:34px;display:flex;box-shadow:0 20px 56px #462b351c}.premium-lock-back{color:var(--text-muted,#81747a);font:inherit;cursor:pointer;background:0 0;border:0;align-self:flex-start;align-items:center;gap:6px;margin-bottom:12px;padding:5px 0;font-size:.8rem;font-weight:700;display:inline-flex}.premium-lock-icon{width:58px;height:58px;color:var(--wine,#943c55);background:#943c551a;border-radius:18px;place-items:center;margin-bottom:12px;display:grid}.premium-lock-badge{color:var(--wine,#943c55);text-transform:uppercase;background:#943c5514;border:1px solid #943c553d;border-radius:999px;align-items:center;gap:5px;padding:4px 8px;font-size:.68rem;font-weight:800;display:inline-flex}.premium-lock-card h1{margin:16px 0 9px;font-size:clamp(1.4rem,3vw,1.9rem)}.premium-lock-description{max-width:470px;color:var(--text-muted,#71646a);margin:0;font-size:.9rem;line-height:1.6}.premium-lock-price{text-align:left;background:#943c550e;border:1px solid #943c5530;border-radius:14px;flex-direction:column;width:min(390px,100%);margin-top:22px;padding:14px 16px;display:flex}.premium-lock-price span{font-size:.78rem;font-weight:800}.premium-lock-price strong{color:var(--wine,#943c55);margin-top:2px;font-size:1.35rem}.premium-lock-price small{color:var(--text-muted,#81747a);margin-top:2px;font-size:.72rem}.premium-lock-list{text-align:left;gap:8px;width:min(390px,100%);margin:18px 0 0;padding:0;list-style:none;display:grid}.premium-lock-list li{color:var(--text-soft,#65585d);padding-left:22px;font-size:.82rem;position:relative}.premium-lock-list li:before{content:"✓";color:var(--wine,#943c55);font-weight:900;position:absolute;left:0}.premium-lock-note{background:var(--surface-muted,#f7f1f3);color:var(--text-muted,#81747a);border-radius:10px;margin:20px 0 0;padding:9px 12px;font-size:.73rem}@media (prefers-reduced-motion:reduce){.premium-spin{animation:none}}@media (width<=700px){.premium-lock-shell{min-height:auto;padding:18px 8px}.premium-lock-card{border-radius:18px;padding:25px 19px}}.premium-entry-badge{width:fit-content;color:var(--wine,#943c55);letter-spacing:.035em;text-transform:uppercase;background:#943c5514;border:1px solid #943c5538;border-radius:999px;justify-content:center;align-items:center;padding:3px 7px;font-size:.61rem;font-weight:800;line-height:1;display:inline-flex}.wb-hub-tabs .premium-entry-badge{vertical-align:middle;margin-left:6px}.wb-category-copy .premium-entry-badge{margin-top:3px}.layout-format-card .premium-entry-badge{margin-top:1px;margin-bottom:2px}html[data-theme=dark] .premium-entry-badge{background:#dc87a11a;border-color:#dc87a13d}.language-builder{width:100%;max-width:1180px;margin:0 auto;padding:0 0 72px}.language-loading{min-height:420px;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;font-size:11px;display:flex}.language-error{margin:18px 0 0}.language-hero{align-items:center;gap:18px;min-width:0;margin-top:22px;display:flex}.language-hero-icon{width:68px;height:68px;color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:19px;flex:0 0 68px;place-items:center;display:grid}.language-hero-copy{flex:1;min-width:0}.language-hero-copy .eyebrow{margin-bottom:7px;display:block}.language-hero-copy h1{color:var(--text);letter-spacing:-.04em;overflow-wrap:anywhere;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(31px,5vw,44px);font-weight:500;line-height:1.04}.language-native-name{color:var(--text-muted);margin:6px 0 0;font-size:11px;font-style:italic}.language-hero-actions{flex:none;align-items:center;gap:9px;margin-left:auto;display:flex}.language-tabs{background:var(--surface-soft);border:1px solid var(--border);scrollbar-width:none;border-radius:13px;align-items:center;gap:4px;width:100%;margin-top:30px;padding:5px;display:flex;overflow:auto hidden}.language-tabs::-webkit-scrollbar{display:none}.language-tabs button{min-width:max-content;min-height:36px;color:var(--text-muted);box-shadow:none;cursor:pointer;transition:background var(--transition), color var(--transition), box-shadow var(--transition);background:0 0;border:0;border-radius:9px;flex:1 0 auto;justify-content:center;align-items:center;padding:0 13px;font-family:inherit;font-size:9px;font-weight:650;display:inline-flex}.language-tabs button:hover{color:var(--wine)}.language-tabs button.active{color:var(--wine);background:var(--surface);box-shadow:0 2px 8px #432a3214}.language-panel{margin-top:24px}.language-section-heading{margin-bottom:19px}.language-section-heading-actions{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.language-section-heading h2{color:var(--text);letter-spacing:-.025em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:25px;font-weight:500;line-height:1.12}.language-section-heading p{max-width:680px;color:var(--text-muted);margin:6px 0 0;font-size:9px;line-height:1.55}.language-section-divider{background:var(--border);height:1px;margin:34px 0}.language-form-grid{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px;display:grid}.language-panel .field,.language-modal .field{min-width:0}.language-panel .field label,.language-modal .field label{color:var(--text);margin-bottom:7px;font-size:9px;font-weight:700;display:block}.language-panel .field select,.language-modal .field select{width:100%;height:43px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;outline:none;padding:0 12px;font-family:inherit;font-size:10px}.language-panel .field select:focus,.language-modal .field select:focus{border-color:#943c5561;box-shadow:0 0 0 4px #943c550d}.language-upload-button{cursor:pointer;position:relative}.language-upload-button input{display:none}.language-script-note{color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:12px;align-items:flex-start;gap:10px;margin-top:20px;padding:14px 15px;display:flex}.language-script-note svg{flex:none;margin-top:1px}.language-script-note strong{font-size:9px;display:block}.language-script-note p{color:var(--text-muted);margin:4px 0 0;font-size:8px;line-height:1.5}.language-alphabet-assets-heading{justify-content:space-between;align-items:center;gap:12px;margin:28px 0 12px;display:flex}.language-alphabet-assets-heading h3{color:var(--text);margin:0;font-size:12px}.language-alphabet-assets-heading span{color:var(--text-muted);font-size:8px}.language-alphabet-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.language-alphabet-grid article{min-width:0}.language-alphabet-grid article>div{aspect-ratio:4/3;background:var(--surface-soft);border:1px solid var(--border);border-radius:13px;position:relative;overflow:hidden}.language-alphabet-grid img{object-fit:cover;width:100%;height:100%}.language-alphabet-grid article>div>button{color:#a23d4e;background:#fffffff0;border:0;border-radius:8px;place-items:center;width:30px;height:30px;display:grid;position:absolute;top:7px;right:7px;box-shadow:0 2px 8px #321e2514}.language-alphabet-grid article>span{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;margin-top:6px;font-size:8px;display:block;overflow:hidden}.language-small-empty{min-height:170px;color:var(--text-muted);border:1px dashed var(--border-strong);text-align:center;background:#faf7f88c;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;padding:28px;display:flex}.language-small-empty svg{color:var(--wine);margin-bottom:9px}.language-small-empty strong{color:var(--text);font-size:11px}.language-small-empty p{max-width:390px;margin:5px 0 0;font-size:8px;line-height:1.5}.language-rule-list{gap:9px;display:grid}.language-rule-list article{background:var(--surface);border:1px solid var(--border);border-radius:13px;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:15px;display:grid}.language-rule-type{color:var(--text-muted);background:var(--surface-soft);text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:4px 7px;font-size:6px;font-weight:700;display:inline-flex}.language-rule-type.replace_before,.language-rule-type.replace_after{color:var(--wine);background:var(--wine-soft)}.language-rule-list h3{color:var(--text);margin:7px 0 0;font-size:11px}.language-rule-list p{color:var(--text-muted);margin:5px 0 0;font-size:8px;line-height:1.5}.language-rule-example{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:6px;margin-top:9px;font-size:8px;display:flex}.language-rule-example span{color:var(--text);background:var(--surface-soft);border-radius:6px;padding:4px 7px}.language-row-actions{align-items:flex-start;gap:3px;display:flex}.language-row-actions button{width:29px;height:29px;color:var(--text-muted);background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.language-row-actions button:hover{color:var(--wine);background:var(--wine-soft)}.language-row-actions button:last-child:hover{color:#a23d4e;background:#fff0f3}.language-dictionary-toolbar{justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;display:flex}.language-search{width:min(460px,100%);min-height:41px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);border-radius:10px;align-items:center;gap:8px;padding:0 11px;display:flex}.language-search input{min-width:0;color:var(--text);background:0 0;border:0;outline:0;flex:1;font-size:9px}.language-dictionary-toolbar>span{color:var(--text-muted);font-size:8px}.language-dictionary-list{gap:8px;display:grid}.language-dictionary-list article{background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:14px;position:relative}.language-dictionary-main{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);align-items:center;gap:10px;padding-right:75px;display:grid}.language-dictionary-main strong{color:var(--text);font-size:11px;display:block}.language-dictionary-main span{color:var(--text-muted);margin-top:2px;font-size:7px;display:block}.language-dictionary-arrow{color:var(--wine);text-align:center}.language-dictionary-meta{flex-wrap:wrap;gap:4px;margin-top:8px;display:flex}.language-dictionary-meta span{color:var(--wine);background:var(--wine-soft);border-radius:999px;padding:3px 6px;font-size:6px;font-weight:650}.language-dictionary-list article>p{color:var(--text-muted);margin:7px 75px 0 0;font-size:8px;line-height:1.45}.language-dictionary-list .language-row-actions{position:absolute;top:12px;right:12px}.language-translator-stats{flex-wrap:wrap;align-items:stretch;gap:8px;margin-bottom:18px;display:flex}.language-translator-stats>span{min-width:115px;color:var(--text-muted);background:var(--surface-soft);border:1px solid var(--border);border-radius:10px;flex-direction:column;padding:10px 12px;font-size:7px;display:flex}.language-translator-stats strong{color:var(--wine);margin-bottom:2px;font-size:13px;font-weight:750}.language-translator-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.language-translator-grid>div{min-width:0}.language-translator-grid label{color:var(--text);margin-bottom:7px;font-size:9px;font-weight:700;display:block}.language-translator-grid textarea{width:100%;min-height:240px;color:var(--text);background:var(--surface);border:1px solid var(--border);resize:vertical;box-sizing:border-box;border-radius:14px;outline:none;padding:14px;font-family:inherit;font-size:11px;line-height:1.65;display:block}.language-translator-grid textarea:focus{border-color:#943c5566;box-shadow:0 0 0 4px #943c550d}.language-translator-grid textarea[readonly]{background:#faf7f8b3}.language-translator-actions{justify-content:flex-end;margin-top:13px;display:flex}.language-unknown-words{background:#fff8f2;border:1px solid #f0ded1;border-radius:12px;margin-top:17px;padding:14px}.language-unknown-words strong{color:#865633;font-size:9px}.language-unknown-words p{color:var(--text-muted);margin:4px 0 8px;font-size:8px;line-height:1.45}.language-unknown-words>div{flex-wrap:wrap;gap:4px;display:flex}.language-unknown-words span{color:#865633;background:var(--surface);border-radius:6px;padding:4px 6px;font-size:7px}.language-modal{background:var(--surface);width:min(720px,100%);max-height:calc(100vh - 54px);box-shadow:var(--shadow-lg);border-radius:22px;flex-direction:column;display:flex;overflow:hidden}.language-modal-content{flex-direction:column;flex:1;gap:16px;padding:24px 28px;display:flex;overflow-y:auto}.language-variant-help{color:var(--text-muted);background:var(--surface-soft);border-radius:9px;padding:11px 12px;font-size:8px;line-height:1.5}@media (width<=1100px){.language-builder{max-width:none}.language-hero{flex-wrap:wrap}.language-hero-actions{margin-left:86px}.language-tabs button{flex:none}.language-translator-grid{grid-template-columns:1fr}}@media (width<=760px){.language-hero{gap:13px}.language-hero-icon{border-radius:16px;flex-basis:56px;width:56px;height:56px}.language-hero-actions{justify-content:flex-end;width:100%;margin-left:0}.language-section-heading-actions{flex-direction:column;align-items:stretch}.language-form-grid{grid-template-columns:1fr}.language-dictionary-toolbar{flex-direction:column;align-items:stretch}.language-search{width:100%}.language-dictionary-main{grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr)}.language-alphabet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.language-structured-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin:20px 0 13px;display:flex}.language-structured-heading:first-child{margin-top:0}.language-structured-heading h3{color:var(--text);margin:0;font-size:13px}.language-structured-heading p{max-width:610px;color:var(--text-muted);margin:4px 0 0;font-size:8px;line-height:1.5}.language-symbol-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px;display:grid}.language-symbol-grid article{background:var(--surface);border:1px solid var(--border);min-width:0;box-shadow:var(--shadow-sm);border-radius:13px;grid-template-columns:52px minmax(0,1fr);gap:11px;padding:13px;display:grid;position:relative}.language-symbol-character{width:52px;height:52px;color:var(--wine);background:var(--wine-soft);border-radius:12px;place-items:center;font-family:Georgia,Times New Roman,serif;font-size:25px;display:grid}.language-symbol-copy{min-width:0;padding-right:54px}.language-symbol-type{color:var(--wine);background:var(--wine-soft);text-transform:uppercase;border-radius:999px;padding:3px 6px;font-size:6px;font-weight:700;display:inline-flex}.language-symbol-copy p{color:var(--text-muted);margin:5px 0 0;font-size:7px;line-height:1.4}.language-symbol-copy p strong{color:var(--text-soft)}.language-symbol-grid .language-row-actions{position:absolute;top:8px;right:8px}.language-symbol-editor-preview{width:100%;min-height:110px;color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:14px;place-items:center;font-family:Georgia,Times New Roman,serif;font-size:48px;display:grid}@media (width<=760px){.language-structured-heading{flex-direction:column;align-items:stretch}.language-structured-heading .secondary-button{width:100%}.language-symbol-grid{grid-template-columns:1fr}}.language-morphology-list{gap:10px;display:grid}.language-morphology-list article{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);transition:opacity var(--transition), border-color var(--transition);border-radius:14px;padding:15px}.language-morphology-list article.is-disabled{opacity:.52}.language-morphology-card-top{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.language-morphology-card-top h3{color:var(--text);margin:6px 0 0;font-size:11px}.language-morphology-flow{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;margin-top:13px;display:grid}.language-morphology-flow>div{background:var(--surface-soft);border-radius:9px;min-width:0;padding:9px 10px}.language-morphology-flow span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:3px;font-size:6px;display:block}.language-morphology-flow strong{color:var(--text);overflow-wrap:anywhere;font-size:8px;font-weight:650}.language-morphology-flow>b{color:var(--wine);font-size:11px}.language-morphology-stem,.language-morphology-description{color:var(--text-muted);margin:9px 0 0;font-size:8px;line-height:1.5}.language-morphology-stem strong{color:var(--wine)}.language-rule-toggle{color:var(--text-muted);background:0 0;border:0;align-items:center;gap:6px;margin-top:11px;padding:0;font-size:7px;display:inline-flex}.language-rule-toggle>span{background:var(--border-strong);border-radius:50%;width:8px;height:8px}.language-rule-toggle>span.active{background:var(--wine)}.language-morphology-editor-section{background:var(--surface-soft);border:1px solid var(--border);border-radius:13px;padding:15px}.language-morphology-editor-section h3{color:var(--text);margin:3px 0 0;font-size:11px}.language-morphology-editor-section>p{color:var(--text-muted);margin:4px 0 13px;font-size:8px;line-height:1.45}@media (width<=760px){.language-morphology-flow{grid-template-columns:1fr}.language-morphology-flow>b{text-align:center;transform:rotate(90deg)}}.language-syntax-list{gap:10px;display:grid}.language-syntax-list article{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:14px;grid-template-columns:minmax(0,1fr) auto;gap:15px;padding:15px;display:grid}.language-syntax-list article.is-disabled{opacity:.5}.language-syntax-main h3{color:var(--text);margin:7px 0 0;font-size:11px}.language-syntax-main>p{color:var(--text-muted);margin:8px 0 0;font-size:8px;line-height:1.5}.language-syntax-order{align-items:center;gap:8px;margin-top:10px;display:flex}.language-syntax-order strong{min-width:50px;color:var(--wine);background:var(--wine-soft);text-align:center;letter-spacing:.08em;border-radius:8px;padding:8px 10px;font-size:11px}.language-syntax-order svg{color:var(--text-muted)}.language-syntax-explanation{color:var(--text-muted);background:var(--surface-soft);border-radius:9px;padding:11px 12px;font-size:8px}.language-syntax-explanation strong{color:var(--wine)}.language-trace{gap:9px;display:grid}.language-trace-step{grid-template-columns:30px minmax(0,1fr);gap:11px;display:grid;position:relative}.language-trace-step:not(:last-child):before{content:"";background:var(--border);width:1px;position:absolute;top:30px;bottom:-10px;left:14px}.language-trace-number{z-index:1;width:29px;height:29px;color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:50%;place-items:center;font-size:7px;font-weight:750;display:grid;position:relative}.language-trace-content{background:var(--surface);border:1px solid var(--border);border-radius:12px;min-width:0;padding:13px 14px}.language-trace-heading{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.language-trace-heading>span{color:var(--wine);background:var(--wine-soft);text-transform:uppercase;letter-spacing:.04em;border-radius:999px;padding:3px 6px;font-size:6px;font-weight:750}.language-trace-heading strong{color:var(--text);font-size:9px}.language-trace-detail{color:var(--text-muted);margin:7px 0 0;font-size:8px;line-height:1.5}.language-trace-change{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;margin-top:10px;display:grid}.language-trace-change>div{background:var(--surface-soft);border-radius:8px;min-width:0;padding:8px 9px}.language-trace-change span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:3px;font-size:6px;display:block}.language-trace-change code{color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:8px}.language-trace-change>b{color:var(--wine)}.language-trace-final{color:var(--wine);background:var(--wine-soft);border-radius:9px;margin-top:9px;padding:11px;font-size:11px;font-weight:650}@media (width<=760px){.language-trace-change{grid-template-columns:1fr}.language-trace-change>b{text-align:center;transform:rotate(90deg)}}.language-conjugation-list{gap:10px;display:grid}.language-conjugation-list article{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:14px;padding:15px}.language-conjugation-list article.is-disabled{opacity:.5}.language-conjugation-top{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.language-conjugation-top h3{color:var(--text);margin:7px 0 0;font-size:11px}.language-conjugation-tags{flex-wrap:wrap;gap:4px;display:flex}.language-conjugation-tags span{color:var(--wine);background:var(--wine-soft);border-radius:999px;padding:4px 6px;font-size:6px;font-weight:700}.language-conjugation-flow{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;margin-top:13px;display:grid}.language-conjugation-flow>div{background:var(--surface-soft);border-radius:9px;min-width:0;padding:9px 10px}.language-conjugation-flow span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:3px;font-size:6px;display:block}.language-conjugation-flow strong{color:var(--text);overflow-wrap:anywhere;font-size:8px}.language-conjugation-flow>b{color:var(--wine)}.language-conjugation-stem,.language-conjugation-description{color:var(--text-muted);margin:9px 0 0;font-size:8px;line-height:1.5}.language-conjugation-stem strong{color:var(--wine)}.language-conjugation-editor-section{background:var(--surface-soft);border:1px solid var(--border);border-radius:13px;padding:15px}.language-conjugation-editor-section h3{color:var(--text);margin:3px 0 10px;font-size:11px}.language-conjugation-editor-section>p{color:var(--text-muted);margin:-4px 0 12px;font-size:8px;line-height:1.45}@media (width<=760px){.language-conjugation-flow{grid-template-columns:1fr}.language-conjugation-flow>b{text-align:center;transform:rotate(90deg)}}.language-pronoun-features{background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:12px;grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:14px;display:grid}@media (width<=760px){.language-pronoun-features{grid-template-columns:1fr}}.language-advanced-syntax-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.language-advanced-syntax-grid article{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:13px;padding:14px}.language-advanced-syntax-grid article.is-disabled{opacity:.5}.language-advanced-syntax-top{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.language-advanced-syntax-top h3{color:var(--text);margin:6px 0 0;font-size:10px}.language-advanced-syntax-grid article>p{color:var(--text-muted);margin:9px 0 0;font-size:8px;line-height:1.5}.language-advanced-syntax-summary{flex-wrap:wrap;align-items:center;gap:7px;margin-top:11px;display:flex}.language-advanced-syntax-summary span{color:var(--wine);background:var(--wine-soft);border-radius:8px;padding:6px 8px;font-size:9px;font-weight:700}.language-advanced-syntax-summary small{color:var(--text-muted);font-size:7px}.language-check-row{color:var(--text);align-items:center;gap:8px;font-size:9px;display:flex}.language-test-suite{margin-top:10px}.language-test-actions{flex-wrap:wrap;gap:7px;display:flex}.language-test-summary{color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:10px;align-items:center;gap:7px;margin-bottom:13px;padding:10px 12px;font-size:8px;font-weight:700;display:flex}.language-test-list{gap:9px;display:grid}.language-test-list article{background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:14px}.language-test-list article.passed{border-color:#498e6752}.language-test-list article.failed{border-color:#b24b4b52}.language-test-card-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.language-test-card-heading h3{color:var(--text);margin:0;font-size:10px}.language-test-card-heading span{color:var(--text-muted);margin-top:4px;font-size:8px;display:block}.language-test-card-heading button{width:28px;height:28px;color:var(--text-muted);background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.language-test-expected{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:11px;display:grid}.language-test-expected>div{background:var(--surface-soft);border-radius:8px;padding:9px 10px}.language-test-expected span{color:var(--text-muted);text-transform:uppercase;margin-bottom:3px;font-size:6px;display:block}.language-test-expected strong{color:var(--text);font-size:8px}.language-test-status{align-items:center;gap:5px;margin-top:9px;font-size:7px;font-weight:700;display:inline-flex}.language-test-status.passed{color:#397755}.language-test-status.failed{color:#a54b4b}@media (width<=760px){.language-test-actions{width:100%}.language-test-actions button{flex:1}.language-test-expected{grid-template-columns:1fr}}.glyph-canvas-shell{width:100%}.glyph-canvas-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:9px;margin-bottom:10px;display:flex}.glyph-tool-group{align-items:center;gap:4px;display:flex}.glyph-tool-group button{min-height:34px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);font:inherit;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:0 9px;font-size:8px;display:inline-flex}.glyph-tool-group button.active{color:var(--wine);background:var(--wine-soft);border-color:var(--wine-soft-strong)}.glyph-tool-group button:disabled{opacity:.38;cursor:default}.glyph-tool-size{color:var(--text-muted);align-items:center;gap:8px;font-size:8px;display:flex}.glyph-tool-size input{width:110px;accent-color:var(--wine)}.glyph-canvas-frame{aspect-ratio:1;background:var(--surface);border:1px solid var(--border);border-radius:17px;width:min(100%,620px);margin:0 auto;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #943c5504}.glyph-canvas-frame canvas{touch-action:none;cursor:crosshair;z-index:2;width:100%;height:100%;display:block;position:absolute;inset:0}.glyph-canvas-guides{pointer-events:none;z-index:1;position:absolute;inset:0}.glyph-canvas-guides:before{content:"";border:1px dashed #943c5524;border-radius:8px;position:absolute;inset:8%}.glyph-canvas-guides .horizontal,.glyph-canvas-guides .vertical{background:#943c5517;position:absolute}.glyph-canvas-guides .horizontal{height:1px;top:50%;left:8%;right:8%}.glyph-canvas-guides .vertical{width:1px;top:8%;bottom:8%;left:50%}.glyph-canvas-device-note{max-width:620px;color:var(--text-muted);text-align:center;margin:8px auto 0;font-size:7px;line-height:1.45}.glyph-studio-backdrop{z-index:80}.glyph-studio{background:var(--surface);border:1px solid var(--border);width:min(1060px,100vw - 36px);max-height:calc(100dvh - 36px);box-shadow:var(--shadow-lg);border-radius:22px;flex-direction:column;display:flex;overflow:hidden}.glyph-studio-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;padding:20px 22px;display:flex}.glyph-studio-identity{align-items:center;gap:13px;min-width:0;display:flex}.glyph-studio-symbol{width:64px;height:64px;color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:15px;flex:0 0 64px;place-items:center;font-family:Georgia,serif;font-size:30px;display:grid;overflow:hidden}.glyph-studio-symbol img{object-fit:contain;background:var(--surface);width:100%;height:100%}.glyph-studio-identity h2{color:var(--text);margin:3px 0 0;font-family:Georgia,serif;font-size:24px;font-weight:500}.glyph-studio-identity p{color:var(--text-muted);margin:4px 0 0;font-size:8px}.glyph-studio-tabs{border-bottom:1px solid var(--border);align-items:center;gap:3px;padding:6px 22px;display:flex;overflow-x:auto}.glyph-studio-tabs button{min-height:34px;color:var(--text-muted);font:inherit;white-space:nowrap;background:0 0;border:0;border-radius:8px;padding:0 12px;font-size:8px;font-weight:650}.glyph-studio-tabs button.active{color:var(--wine);background:var(--wine-soft)}.glyph-studio-body{flex:1;padding:22px;overflow-y:auto}.glyph-studio-section-heading{justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:15px;display:flex}.glyph-studio-section-heading h3{color:var(--text);margin:0;font-size:13px}.glyph-studio-section-heading p{max-width:610px;color:var(--text-muted);margin:4px 0 0;font-size:8px;line-height:1.5}.glyph-upload-button{cursor:pointer;position:relative}.glyph-upload-button input{display:none}.glyph-sample-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:11px;display:grid}.glyph-sample-grid article{background:var(--surface);border:1px solid var(--border);border-radius:13px;min-width:0;overflow:hidden}.glyph-sample-image{aspect-ratio:1;background:var(--surface-soft);border-bottom:1px solid var(--border);place-items:center;display:grid;position:relative}.glyph-sample-image img{object-fit:contain;background:var(--surface);width:100%;height:100%}.glyph-primary-badge{color:var(--wine);box-shadow:var(--shadow-sm);background:#fffffff0;border-radius:999px;align-items:center;gap:4px;padding:4px 6px;font-size:6px;font-weight:700;display:inline-flex;position:absolute;top:7px;left:7px}.glyph-sample-info{padding:10px 10px 4px}.glyph-sample-info strong{color:var(--text);white-space:nowrap;text-overflow:ellipsis;font-size:8px;display:block;overflow:hidden}.glyph-sample-info span{color:var(--text-muted);margin-top:2px;font-size:7px;display:block}.glyph-sample-actions{align-items:center;gap:3px;padding:5px 8px 9px;display:flex}.glyph-sample-actions button{width:29px;height:29px;color:var(--text-muted);background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.glyph-sample-actions button.active{color:var(--wine);background:var(--wine-soft)}.glyph-studio-footer-actions,.glyph-recognition-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-top:14px;display:flex}.glyph-recognition-results{gap:7px;max-width:680px;margin:24px auto 0;display:grid}.glyph-recognition-result-heading{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:4px;display:flex}.glyph-recognition-result-heading h3{color:var(--text);margin:0;font-size:12px}.glyph-recognition-result-heading span{color:var(--text-muted);font-size:7px}.glyph-recognition-results article{background:var(--surface);border:1px solid var(--border);border-radius:11px;grid-template-columns:24px 48px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:10px 11px;display:grid}.glyph-recognition-results article.best{border-color:var(--wine-soft-strong);background:#f8eef152}.glyph-result-rank{width:23px;height:23px;color:var(--text-muted);background:var(--surface-soft);border-radius:50%;place-items:center;font-size:7px;display:grid}.glyph-result-symbol{width:45px;height:45px;color:var(--wine);background:var(--wine-soft);border-radius:9px;place-items:center;font-family:Georgia,serif;font-size:22px;display:grid}.glyph-result-copy{min-width:0}.glyph-result-copy strong{color:var(--text);font-size:9px}.glyph-confidence-track{background:var(--surface-muted);border-radius:999px;height:5px;margin-top:6px;overflow:hidden}.glyph-confidence-track span{background:var(--wine);border-radius:inherit;height:100%;display:block}.glyph-result-score{min-width:36px;color:var(--wine);text-align:right;font-size:9px;font-weight:750}.glyph-result-check{color:var(--wine)}@media (width<=900px){.glyph-studio{border-radius:17px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.glyph-canvas-frame{width:min(100%,560px)}}@media (width<=600px){.glyph-studio-backdrop{padding:0}.glyph-studio{border:0;border-radius:0;width:100vw;height:100dvh;max-height:none}.glyph-studio-header{padding:14px 15px}.glyph-studio-symbol{border-radius:12px;flex-basis:51px;width:51px;height:51px;font-size:24px}.glyph-studio-identity h2{font-size:20px}.glyph-studio-tabs{padding:5px 15px}.glyph-studio-tabs button{flex:1 0 auto}.glyph-studio-body{padding:16px 14px 28px}.glyph-studio-section-heading{flex-direction:column;align-items:stretch}.glyph-studio-section-heading .secondary-button{width:100%}.glyph-sample-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.glyph-canvas-toolbar{flex-direction:column;align-items:stretch}.glyph-tool-group{width:100%}.glyph-tool-group button{flex:1}.glyph-tool-size{width:100%}.glyph-tool-size input{flex:1}.glyph-canvas-frame{width:100%}.glyph-recognition-actions{flex-direction:column}.glyph-recognition-actions button{width:100%}.glyph-recognition-results article{grid-template-columns:22px 42px minmax(0,1fr) auto}.glyph-result-check{display:none}}.language-word-recognizer{width:100%}.language-word-recognizer-intro{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.language-word-recognizer-intro h3{color:var(--text);margin:4px 0 0;font-size:12px}.language-word-recognizer-intro p{max-width:620px;color:var(--text-muted);margin:4px 0 0;font-size:8px;line-height:1.5}.language-word-sample-count{color:var(--text-muted);background:var(--surface-soft);border:1px solid var(--border);border-radius:9px;flex:none;align-items:baseline;gap:4px;padding:7px 9px;font-size:7px;display:flex}.language-word-sample-count strong{color:var(--wine);font-size:10px}.language-word-controls{justify-content:space-between;align-items:center;gap:12px;max-width:620px;margin:12px auto 0;display:flex}.language-word-gap-control{color:var(--text-muted);flex:1;grid-template-columns:auto minmax(80px,1fr) auto;align-items:center;gap:8px;font-size:7px;display:grid}.language-word-gap-control input{width:100%;accent-color:var(--wine)}.language-word-gap-control span{min-width:20px;color:var(--wine);text-align:right;font-weight:700}.language-word-success{color:#397755;background:#498e6712;border:1px solid #498e672e;border-radius:9px;max-width:620px;margin:12px auto 0;padding:9px 11px;font-size:8px}.language-word-results{max-width:760px;margin:19px auto 0}.language-word-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.language-word-summary>div{background:var(--surface-soft);border:1px solid var(--border);border-radius:10px;padding:11px}.language-word-summary span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px;font-size:6px;display:block}.language-word-summary strong{color:var(--text);overflow-wrap:anywhere;font-size:11px;display:block}.language-word-summary .language-word-glyph-output{color:var(--wine);font-family:Georgia,serif;font-size:18px}.language-word-segments{gap:8px;margin-top:11px;display:grid}.language-word-segments article{background:var(--surface);border:1px solid var(--border);border-radius:11px;grid-template-columns:25px 90px minmax(0,1fr);align-items:center;gap:10px;padding:10px;display:grid}.language-word-segment-number{width:24px;height:24px;color:var(--wine);background:var(--wine-soft);border-radius:50%;place-items:center;font-size:7px;font-weight:700;display:grid}.language-word-segment-best{min-width:0}.language-word-segment-best strong{color:var(--wine);font-family:Georgia,serif;font-size:22px;display:block}.language-word-segment-best span,.language-word-segment-best small{color:var(--text-muted);font-size:7px;display:block}.language-word-alternatives{flex-wrap:wrap;align-items:stretch;gap:5px;display:flex}.language-word-alternatives button{min-width:65px;color:var(--text-muted);background:var(--surface-soft);text-align:left;border:1px solid #0000;border-radius:8px;gap:1px;padding:6px 7px;display:grid;position:relative}.language-word-alternatives button.active{color:var(--wine);background:var(--wine-soft);border-color:var(--wine-soft-strong)}.language-word-alternatives strong{color:inherit;font-family:Georgia,serif;font-size:13px}.language-word-alternatives span,.language-word-alternatives small{font-size:6px}.language-word-alternatives svg{position:absolute;top:5px;right:5px}.language-word-result-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-top:12px;display:flex}@media (width<=760px){.language-word-recognizer-intro{flex-direction:column}.language-word-controls{flex-direction:column;align-items:stretch}.language-word-controls .primary-button{width:100%}.language-word-summary{grid-template-columns:1fr}.language-word-segments article{grid-template-columns:24px minmax(0,1fr)}.language-word-alternatives{grid-column:1/-1;padding-left:34px}.language-word-result-actions{flex-direction:column}.language-word-result-actions button{width:100%}}@media (width<=460px){.language-word-gap-control{grid-template-columns:1fr auto}.language-word-gap-control label{grid-column:1/-1}.language-word-alternatives{padding-left:0}.language-word-alternatives button{flex:58px}}.language-word-segments article{grid-template-columns:25px 58px 90px minmax(0,1fr)}.language-word-segment-preview{background:var(--surface);border:1px solid var(--border);border-radius:9px;place-items:center;width:54px;height:54px;display:grid;overflow:hidden}.language-word-segment-preview img{object-fit:contain;width:100%;height:100%;padding:4px;display:block}@media (width<=760px){.language-word-segments article{grid-template-columns:24px 52px minmax(0,1fr)}.language-word-segment-preview{width:48px;height:48px}.language-word-alternatives{grid-column:1/-1}}.language-translation-direction{background:var(--surface-soft);border:1px solid var(--border);border-radius:11px;align-items:center;gap:3px;width:fit-content;max-width:100%;margin:0 auto 14px;padding:4px;display:flex}.language-translation-direction button{min-height:34px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 12px;font-size:8px;font-weight:650}.language-translation-direction button.active{color:var(--wine);background:var(--surface);box-shadow:var(--shadow-sm)}.language-translator-grid label{justify-content:space-between;align-items:center;gap:8px;display:flex}.language-translator-grid label span{color:var(--text-muted);background:var(--surface-soft);border-radius:999px;padding:3px 6px;font-size:6px;font-weight:650}.language-translator-result-side textarea{background:var(--surface-soft)}.language-translator-grid.direction-reverse .language-translator-result-side textarea{cursor:default}@media (width<=600px){.language-translation-direction{width:100%}.language-translation-direction button{flex:1;padding:0 7px;font-size:7px}}.glyph-stylizer-panel{background:var(--surface-soft);border:1px solid var(--border);border-radius:14px;max-width:720px;margin:18px auto 0;padding:15px}.glyph-stylizer-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.glyph-stylizer-heading h3{color:var(--text);margin:3px 0 0;font-size:11px}.glyph-stylizer-heading p,.glyph-symbol-writing-settings>p{color:var(--text-muted);margin:4px 0 0;font-size:8px;line-height:1.5}.glyph-style-strength{color:var(--text-muted);grid-template-columns:auto minmax(100px,1fr) auto;align-items:center;gap:8px;margin-top:13px;font-size:7px;display:grid}.glyph-style-strength input{width:100%;accent-color:var(--wine)}.glyph-stylized-comparison{grid-template-columns:190px minmax(0,1fr);align-items:center;gap:16px;margin-top:14px;display:grid}.glyph-stylized-comparison>div:first-child>span{color:var(--text-muted);margin-bottom:6px;font-size:7px;display:block}.glyph-stylized-preview{background:var(--surface);border:1px solid var(--border);border-radius:13px;width:190px;height:190px;overflow:hidden}.glyph-stylized-preview img{object-fit:contain;width:100%;height:100%}.glyph-stylized-copy strong{color:var(--text);font-size:10px}.glyph-stylized-copy p{color:var(--text-muted);margin:5px 0 12px;font-size:8px;line-height:1.5}.glyph-symbol-writing-settings{background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:13px;margin-bottom:19px;padding:14px}.glyph-symbol-writing-settings h3{color:var(--text);margin:3px 0 0;font-size:11px}.glyph-symbol-writing-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:12px;display:grid}.language-script-tools{gap:10px;margin:15px 0;display:grid}.language-script-preview-section,.language-glyph-keyboard{background:var(--surface);border:1px solid var(--border);border-radius:13px;padding:13px}.language-script-tools-heading h3{color:var(--text);margin:3px 0 0;font-size:10px}.language-script-tools-heading p{color:var(--text-muted);margin:4px 0 0;font-size:7px}.language-script-preview{background:var(--surface-soft);border-radius:10px;flex-wrap:wrap;align-items:center;gap:3px;min-height:74px;margin-top:11px;padding:10px;display:flex}.language-script-placeholder{color:var(--text-muted);font-size:8px}.language-script-glyph{place-items:center;width:46px;height:46px;display:grid;overflow:hidden}.language-script-glyph img{object-fit:contain;width:100%;height:100%}.language-script-glyph strong{color:var(--wine);font-family:Georgia,serif;font-size:22px}.language-script-space{width:17px}.language-script-plain{color:var(--text);font-size:14px}.language-glyph-keyboard-heading{color:var(--wine);align-items:center;gap:7px;font-size:8px;display:flex}.language-glyph-keyboard-heading span{color:var(--text-muted);margin-left:auto;font-size:6px}.language-glyph-keys{grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:5px;margin-top:10px;display:grid}.language-glyph-keys button{min-height:76px;color:var(--text);background:var(--surface-soft);border:1px solid #0000;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:6px;display:flex}.language-glyph-keys button:active{border-color:var(--wine-soft-strong);background:var(--wine-soft)}.language-glyph-keys button>span{place-items:center;width:42px;height:42px;display:grid}.language-glyph-keys img{object-fit:contain;width:100%;height:100%}.language-glyph-keys strong{color:var(--wine);font-family:Georgia,serif;font-size:20px}.language-glyph-keys small{color:var(--text-muted);font-size:6px}.language-glyph-keyboard-controls{grid-template-columns:minmax(0,1fr) 62px;gap:5px;margin-top:7px;display:grid}.language-glyph-keyboard-controls button{min-height:34px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:8px;font-size:8px}.language-word-segmentation-mode{min-width:170px}.language-word-segmentation-mode label{color:var(--text-muted);margin-bottom:4px;font-size:7px;display:block}.language-word-segmentation-mode select{width:100%;min-height:34px;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:8px;padding:0 8px;font-size:8px}@media (width<=700px){.glyph-stylizer-heading{flex-direction:column}.glyph-stylizer-heading button{width:100%}.glyph-stylized-comparison{grid-template-columns:1fr}.glyph-stylized-preview{aspect-ratio:1;width:min(100%,260px);height:auto;margin:0 auto}.glyph-symbol-writing-grid{grid-template-columns:1fr}.glyph-symbol-writing-grid button{width:100%}.language-glyph-keys{grid-template-columns:repeat(4,minmax(0,1fr))}.language-word-segmentation-mode{width:100%}}@media (width<=420px){.language-glyph-keys{grid-template-columns:repeat(3,minmax(0,1fr))}}.glyph-style-suggestion-below{background:linear-gradient(180deg, #fff 0%, var(--wine-soft) 100%);border:1px solid var(--wine-soft-strong);border-radius:16px;width:min(100%,720px);margin:22px auto 0;padding:18px}.glyph-style-suggestion-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.glyph-style-suggestion-heading h3{color:var(--text);margin:4px 0 0;font-family:Georgia,serif;font-size:18px;font-weight:500}.glyph-style-suggestion-heading p{max-width:450px;color:var(--text-muted);margin:5px 0 0;font-size:8px;line-height:1.55}.glyph-style-strength-below{color:var(--text-muted);grid-template-columns:auto minmax(100px,1fr) auto;align-items:center;gap:10px;margin-top:16px;font-size:7px;display:grid}.glyph-style-strength-below input{width:100%;accent-color:var(--wine)}.glyph-style-empty{min-height:180px;color:var(--text-muted);border:1px dashed var(--border);text-align:center;background:#ffffffb3;border-radius:13px;flex-direction:column;justify-content:center;align-items:center;margin-top:16px;display:flex}.glyph-style-empty svg{color:var(--wine);margin-bottom:8px}.glyph-style-empty strong{color:var(--text);font-size:9px}.glyph-style-empty p{margin:4px 0 0;font-size:7px}.glyph-style-result{grid-template-columns:minmax(200px,320px) minmax(0,1fr);align-items:center;gap:20px;margin-top:16px;display:grid}.glyph-style-result-label{color:var(--text-muted);margin-bottom:6px;font-size:7px;display:block}.glyph-style-result-image{aspect-ratio:1;background:var(--surface);border:1px solid var(--border);border-radius:14px;width:100%;overflow:hidden}.glyph-style-result-image img{object-fit:contain;width:100%;height:100%}.glyph-style-result-actions{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.glyph-style-result-actions p{color:var(--text-muted);margin:0 0 4px;font-size:8px;line-height:1.55}@media (width<=700px){.glyph-style-suggestion-heading{flex-direction:column}.glyph-style-suggestion-heading button{width:100%}.glyph-style-result{grid-template-columns:1fr}.glyph-style-result-image{width:min(100%,300px);margin:0 auto}.glyph-style-result-actions button{width:100%}}.glyph-style-suggestion-below,.glyph-stylizer-panel{display:none!important}.geography-header-actions{align-items:center;gap:9px;display:flex}.geo-maps-page{width:100%;max-width:1120px;margin:0 auto;padding:38px 34px 90px}.geo-maps-header{justify-content:space-between;align-items:flex-end;gap:25px;margin-top:24px;display:flex}.geo-maps-header h1{color:var(--text);margin:6px 0;font-family:Georgia,serif;font-size:clamp(38px,5vw,50px);font-weight:500;line-height:1.05}.geo-maps-header p{max-width:650px;color:var(--text-muted);margin:0;font-size:13px;line-height:1.55}.geo-map-error{margin-top:20px}.geo-map-library{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:27px;display:grid}.geo-map-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);transition:var(--transition);border-radius:17px;position:relative;overflow:hidden}.geo-map-card:hover{border-color:var(--wine-soft-strong);box-shadow:var(--shadow-md);transform:translateY(-2px)}.geo-map-card-open{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;display:block}.geo-map-card-preview{color:#943c558c;place-items:center;height:145px;display:grid;position:relative;overflow:hidden}.geo-map-card-grid-pattern{opacity:.5;background-image:radial-gradient(#943c5529 1px,#0000 1px);background-size:17px 17px;position:absolute;inset:0}.geo-map-card-preview>svg{z-index:1;position:relative}.geo-map-card-content{padding:16px 17px 18px}.geo-map-card-kind{color:var(--wine);text-transform:uppercase;letter-spacing:.05em;font-size:9px;font-weight:750}.geo-map-card h3{color:var(--text);margin:6px 0 0;font-family:Georgia,serif;font-size:20px;font-weight:500}.geo-map-card p{color:var(--text-muted);margin:7px 0 0;font-size:10px;line-height:1.5}.geo-map-card-meta{flex-wrap:wrap;gap:6px;margin-top:13px;display:flex}.geo-map-card-meta span{color:var(--text-muted);background:var(--surface-soft);border-radius:999px;padding:4px 7px;font-size:8px}.geo-map-card-delete{width:31px;height:31px;color:var(--text-muted);border:1px solid var(--border);cursor:pointer;z-index:2;background:#ffffffe6;border-radius:9px;place-items:center;display:grid;position:absolute;top:10px;right:10px}.geo-map-card-delete:hover{color:#a2304f}.geo-map-empty{min-height:130px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:17px;justify-content:center;align-items:center;margin-top:25px;padding:25px;display:flex}.geo-map-empty-large{flex-direction:column;min-height:390px}.geo-map-empty-icon{width:58px;height:58px;color:var(--wine);background:var(--wine-soft);border-radius:17px;place-items:center;margin-bottom:13px;display:grid}.geo-map-empty h2{color:var(--text);margin:7px 0 5px;font-family:Georgia,serif;font-size:28px;font-weight:500}.geo-map-empty p{max-width:530px;margin:0 0 18px;line-height:1.55}.geo-editor-page{width:100%;max-width:1500px;margin:0 auto;padding:24px 24px 70px}.geo-editor-topbar{justify-content:space-between;align-items:center;gap:20px;display:flex}.geo-editor-title{align-items:flex-start;gap:12px;min-width:0;display:flex}.geo-editor-title>div{min-width:0}.geo-editor-back{width:38px;height:38px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);cursor:pointer;border-radius:11px;flex:none;place-items:center;margin-top:3px;display:grid}.geo-editor-title h1{color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin:4px 0 2px;font-family:Georgia,serif;font-size:28px;font-weight:500;overflow:hidden}.geo-editor-title p{max-width:650px;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:10px;overflow:hidden}.geo-editor-zoom{background:var(--surface-soft);border:1px solid var(--border);border-radius:11px;flex:none;align-items:center;gap:4px;padding:4px;display:flex}.geo-editor-zoom button{width:32px;height:32px;color:var(--text-muted);background:var(--surface);border:0;border-radius:8px;place-items:center;display:grid}.geo-editor-zoom span{min-width:44px;color:var(--text);text-align:center;font-size:9px;font-weight:700}.geo-editor-toolbar{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:13px;align-items:center;gap:5px;margin-top:18px;padding:7px;display:flex;overflow-x:auto}.geo-tool-button{min-height:38px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;flex:none;align-items:center;gap:6px;padding:0 11px;font-size:10px;font-weight:650;display:inline-flex}.geo-tool-button.active{color:var(--wine);background:var(--wine-soft)}.geo-draft-actions{border-left:1px solid var(--border);align-items:center;gap:6px;margin-left:auto;padding-left:9px;display:flex}.geo-draft-actions>span{color:var(--text-muted);font-size:9px}.geo-draft-actions button{min-height:32px;padding-top:0;padding-bottom:0}.geo-editor-message{color:var(--wine);background:var(--wine-soft);border-radius:10px;margin-top:11px;padding:9px 12px;font-size:10px}.geo-editor-layout{grid-template-columns:minmax(0,1fr) 265px;align-items:start;gap:14px;margin-top:14px;display:grid}.geo-canvas-panel{min-width:0}.geo-canvas-scroll{border:1px solid var(--border);overscroll-behavior:contain;background-color:#f8f7f7;background-image:radial-gradient(circle,#943c5516 1px,#0000 1px),none;background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:22px 22px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;border-radius:17px;min-height:650px;max-height:calc(100vh - 235px);padding:38px;overflow:auto}.geo-map-svg{border:1px solid #4b363e21;border-radius:4px;margin:auto;display:block;overflow:visible;box-shadow:0 12px 35px #43283224}.geo-map-svg.tool-point,.geo-map-svg.tool-line,.geo-map-svg.tool-polygon,.geo-map-svg.tool-text{cursor:crosshair}.geo-feature-shape,.geo-map-text-feature{cursor:pointer}.geo-feature-shape:hover{filter:drop-shadow(0 0 5px #943c5573)}.geo-feature-label{fill:#4e3c43;stroke:#fffffff2;stroke-width:5px;paint-order:stroke;pointer-events:none;font-family:Georgia,serif;font-size:21px;font-weight:600}.geo-point-label{font-size:19px}.geo-map-text-feature{stroke:#ffffffd9;stroke-width:2px;paint-order:stroke;font-family:Georgia,serif;font-weight:600}.geo-draft-shape polyline,.geo-draft-shape polygon{fill:#943c551f;stroke:#943c55;stroke-width:3px;stroke-dasharray:10 7;vector-effect:non-scaling-stroke;pointer-events:none}.geo-draft-shape circle{fill:#fff;stroke:#943c55;stroke-width:3px;vector-effect:non-scaling-stroke;pointer-events:none}.geo-editor-sidebar{gap:11px;display:grid}.geo-side-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:14px;padding:13px}.geo-side-card-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.geo-side-card-heading>div{color:var(--wine);align-items:center;gap:7px;display:flex}.geo-side-card-heading strong{color:var(--text);font-size:11px}.geo-side-card-heading>button{width:28px;height:28px;color:var(--wine);background:var(--wine-soft);border:0;border-radius:8px;place-items:center;display:grid}.geo-background-tools{gap:8px;margin-top:13px;display:grid}.geo-background-tools>label{color:var(--text-muted);font-size:9px}.geo-background-color{align-items:center;gap:8px;display:flex}.geo-background-color input{background:var(--surface);border:1px solid var(--border);border-radius:8px;width:38px;height:30px;padding:2px}.geo-background-color span{color:var(--text-muted);font-size:9px}.geo-background-tools .secondary-button{justify-content:center;width:100%}.geo-remove-background{color:#9d3451;cursor:pointer;background:0 0;border:0;padding:4px;font-size:9px}.geo-layer-list{gap:6px;margin-top:11px;display:grid}.geo-layer-row{background:var(--surface-soft);border:1px solid #0000;border-radius:10px;grid-template-columns:minmax(0,1fr) 28px 28px 28px;align-items:center;gap:2px;padding:6px;display:grid}.geo-layer-row.active{background:var(--wine-soft);border-color:var(--wine-soft-strong)}.geo-layer-main{text-align:left;cursor:pointer;background:0 0;border:0;min-width:0;padding:2px 4px}.geo-layer-main span,.geo-layer-main small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.geo-layer-main span{color:var(--text);font-size:10px;font-weight:650}.geo-layer-main small{color:var(--text-muted);margin-top:2px;font-size:8px}.geo-layer-icon{width:28px;height:28px;color:var(--text-muted);background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.geo-layer-icon:hover{color:var(--wine);background:#ffffffa6}.geo-layer-icon.delete:hover{color:#a2304f}.geo-layer-opacity{grid-column:1/-1;padding:0 4px 2px}.geo-layer-opacity input{width:100%;accent-color:var(--wine)}.geo-map-help{color:var(--text-muted)}.geo-map-help p{margin:7px 0 0;font-size:9px;line-height:1.45}.geo-map-help strong{color:var(--text)}.geo-map-modal,.geo-feature-modal,.geo-small-modal{background:var(--surface);border:1px solid var(--border);width:min(94vw,760px);max-height:88vh;box-shadow:var(--shadow-lg);border-radius:18px;overflow:auto}.geo-small-modal{width:min(92vw,470px)}.geo-map-modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 18px;display:flex}.geo-map-modal-header h2{color:var(--text);margin:5px 0 3px;font-family:Georgia,serif;font-size:28px;font-weight:500}.geo-map-modal-header p{color:var(--text-muted);margin:0;font-size:10px}.geo-map-modal-content{padding:22px 24px 26px}.geo-map-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 17px;display:grid}.geo-map-modal-content .field{flex-direction:column;gap:6px;display:flex}.geo-map-modal-content .field.is-wide{grid-column:1/-1}.geo-map-modal-content label{color:var(--text);font-size:10px;font-weight:650}.geo-map-modal-content input,.geo-map-modal-content select,.geo-map-modal-content textarea{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:10px;outline:0;padding:11px 12px;font-size:11px}.geo-map-modal-content textarea{resize:vertical;min-height:105px}.geo-map-color-field>div{align-items:center;gap:8px;display:flex}.geo-map-color-field input{width:48px;height:41px;padding:3px}.geo-map-color-field span{color:var(--text-muted);font-size:9px}.geo-map-modal-footer{border-top:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff7;justify-content:flex-end;align-items:center;gap:9px;padding:15px 24px 20px;display:flex;position:sticky;bottom:0}.geo-map-modal-footer>div{flex:1}.geo-danger-button{color:#a2304f;font:inherit;cursor:pointer;background:#fff3f5;border:1px solid #f0cbd5;border-radius:9px;align-items:center;gap:6px;padding:9px 12px;font-size:10px;display:inline-flex}@media (width<=1050px){.geo-map-library{grid-template-columns:repeat(2,minmax(0,1fr))}.geo-editor-layout{grid-template-columns:1fr}.geo-editor-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.geo-map-help{grid-column:1/-1}}@media (width<=680px){.geo-maps-page,.geo-editor-page{padding:24px 17px 70px}.geo-maps-header{flex-direction:column;align-items:stretch}.geo-maps-header .primary-button{width:100%}.geo-map-library{grid-template-columns:1fr}.geo-editor-topbar{flex-direction:column;align-items:flex-start}.geo-editor-zoom{align-self:flex-end}.geo-editor-sidebar{grid-template-columns:1fr}.geo-map-help{grid-column:auto}.geo-canvas-scroll{min-height:520px;padding:22px}.geo-map-form-grid{grid-template-columns:1fr}.geo-map-modal-content .field.is-wide{grid-column:auto}.geo-map-modal-footer{flex-direction:column-reverse}.geo-map-modal-footer>div{display:none}.geo-map-modal-footer button{justify-content:center;width:100%}.geography-header-actions{flex-direction:column;align-items:stretch;width:100%}.geography-header-actions button{width:100%}}.geo-map-base-tip{background:linear-gradient(135deg, #fff 0%, var(--wine-soft) 100%);border:1px solid var(--wine-soft-strong);border-radius:13px;align-items:flex-start;gap:11px;margin-bottom:20px;padding:14px 15px;display:flex}.geo-map-base-tip-icon{background:#ffffffc7;border-radius:10px;flex:none;place-items:center;width:36px;height:36px;font-size:15px;display:grid}.geo-map-base-tip strong{color:var(--wine);font-size:11px;display:block}.geo-map-base-tip p{max-width:620px;color:var(--text-muted);margin:4px 0 0;font-size:10px;line-height:1.5}.geo-background-recommendation{background:var(--wine-soft);border-radius:10px;margin-bottom:4px;padding:10px}.geo-background-recommendation strong{color:var(--wine);font-size:9px;display:block}.geo-background-recommendation p{color:var(--text-muted);margin:4px 0 0;font-size:8px;line-height:1.45}.geography-builder,.geography-detail{width:100%;max-width:1120px;margin:0 auto;padding:38px 34px 80px}.geography-header,.geography-detail-header{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.geography-header h1,.geography-detail-header h1{color:var(--text);margin:5px 0 4px;font-family:Georgia,serif;font-size:clamp(31px,5vw,48px);font-weight:500}.geography-header p,.geography-detail-header p{max-width:640px;color:var(--text-muted);margin:0;line-height:1.55}.geography-toolbar{grid-template-columns:minmax(220px,1fr) 210px auto;align-items:center;gap:10px;margin-top:28px;display:grid}.geography-search{background:var(--surface);border:1px solid var(--border);border-radius:11px;align-items:center;gap:9px;min-height:42px;padding:0 13px;display:flex}.geography-search svg{color:var(--text-muted);flex:none}.geography-search input{width:100%;color:var(--text);font:inherit;background:0 0;border:0;outline:0}.geography-toolbar>select,.geography-detail select{background:var(--surface);border:1px solid var(--border);min-height:42px;color:var(--text);font:inherit;border-radius:11px;padding:0 11px}.geography-view-toggle{background:var(--surface-soft);border:1px solid var(--border);border-radius:10px;padding:3px;display:flex}.geography-view-toggle button{min-height:34px;color:var(--text-muted);font:inherit;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:0 10px;font-size:12px;display:flex}.geography-view-toggle button.active{color:var(--wine);background:var(--surface);box-shadow:var(--shadow-sm)}.geography-empty{color:var(--text-muted);background:var(--surface-soft);border:1px solid var(--border);text-align:center;border-radius:16px;margin-top:28px;padding:30px}.geography-empty-large{flex-direction:column;justify-content:center;align-items:center;min-height:330px;display:flex}.geography-empty-icon{width:58px;height:58px;color:var(--wine);background:var(--wine-soft);border-radius:16px;place-items:center;display:grid}.geography-empty h2{color:var(--text);margin:14px 0 5px;font-family:Georgia,serif;font-size:25px;font-weight:500}.geography-empty p{max-width:470px;margin:0 0 18px;line-height:1.55}.geography-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px;display:grid}.geography-card{min-height:150px;color:inherit;background:var(--surface);border:1px solid var(--border);text-align:left;cursor:pointer;transition:var(--transition);border-radius:15px;grid-template-columns:40px minmax(0,1fr);align-items:flex-start;gap:12px;padding:17px;display:grid}.geography-card:hover{border-color:var(--wine-soft-strong);box-shadow:var(--shadow-md);transform:translateY(-2px)}.geography-card-icon{width:40px;height:40px;color:var(--wine);background:var(--wine-soft);border-radius:11px;place-items:center;display:grid}.geography-card-type{color:var(--wine);text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px;font-size:10px;font-weight:700;display:block}.geography-card h3{color:var(--text);margin:0;font-size:17px}.geography-card p{color:var(--text-muted);margin:6px 0 0;font-size:12px;line-height:1.45}.geography-card small{color:var(--text-muted);margin-top:10px;font-size:10px;display:block}.geography-tree{background:var(--surface);border:1px solid var(--border);border-radius:15px;margin-top:22px;padding:12px}.geography-tree-node{width:calc(100% - var(--tree-indent,0px));min-height:48px;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:7px 11px;display:flex}.geography-tree-node:hover{background:var(--wine-soft)}.geography-tree-line{width:30px;height:30px;color:var(--wine);background:var(--wine-soft);border-radius:8px;flex:none;place-items:center;display:grid}.geography-tree-copy{flex-direction:column;flex:1;min-width:0;display:flex}.geography-tree-copy strong{color:var(--text);font-size:13px}.geography-tree-copy small{color:var(--text-muted);margin-top:2px;font-size:10px}.geography-back{color:var(--text-muted);font:inherit;background:0 0;border:0;align-items:center;gap:7px;margin-bottom:26px;padding:0;font-size:12px;display:inline-flex}.geography-detail-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:17px;margin-top:20px;padding:24px}.geography-detail-card h2{color:var(--text);margin:5px 0 0;font-family:Georgia,serif;font-size:24px;font-weight:500}.geography-section-description{color:var(--text-muted);margin:5px 0 0;font-size:12px}.geography-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:19px;display:grid}.geography-span-two{grid-column:1/-1}.geography-detail .field{flex-direction:column;gap:6px;display:flex}.geography-detail .field label,.geography-create-body .field label{color:var(--text);font-size:11px;font-weight:650}.geography-detail input,.geography-detail textarea,.geography-create-body input,.geography-create-body textarea,.geography-create-body select{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:11px;outline:none;padding:11px 12px}.geography-detail textarea,.geography-create-body textarea{resize:vertical;min-height:100px}.geography-detail .geography-large-textarea{min-height:180px}.geography-readonly{min-height:42px;color:var(--text-muted);background:var(--surface-soft);border:1px solid var(--border);border-radius:11px;padding:11px 12px}.geography-create-modal{width:min(92vw,620px)}.geography-create-body{gap:14px;padding:20px 24px;display:grid}.geography-create-body .field{flex-direction:column;gap:6px;display:flex}@media (width<=980px){.geography-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.geography-builder,.geography-detail{padding:24px 18px 70px}.geography-header,.geography-detail-header{flex-direction:column;align-items:flex-start}.geography-header .primary-button,.geography-detail-header .primary-button{width:100%}.geography-toolbar{grid-template-columns:1fr}.geography-view-toggle{width:100%}.geography-view-toggle button{flex:1;justify-content:center}.geography-card-grid,.geography-form-grid{grid-template-columns:1fr}.geography-span-two{grid-column:auto}}@media (width<=480px){.geography-card-grid{grid-template-columns:1fr}}.worldbuilding-special-modules{margin:18px 0 24px}.worldbuilding-geography-launch{width:100%;color:var(--text);background:linear-gradient(135deg, #fff 0%, var(--wine-soft) 100%);border:1px solid var(--wine-soft-strong);text-align:left;cursor:pointer;box-shadow:var(--shadow-sm);transition:var(--transition);border-radius:15px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 18px;display:grid}.worldbuilding-geography-launch:hover{border-color:var(--wine);box-shadow:var(--shadow-md);transform:translateY(-1px)}.worldbuilding-geography-icon{width:44px;height:44px;color:var(--wine);background:var(--surface);border:1px solid var(--wine-soft-strong);border-radius:12px;place-items:center;font-size:23px;display:grid}.worldbuilding-geography-launch strong{color:var(--wine-deep);font-size:14px;display:block}.worldbuilding-geography-launch small{color:var(--text-muted);margin-top:3px;font-size:11px;line-height:1.45;display:block}.worldbuilding-geography-arrow{color:var(--wine);font-size:19px}.modal-backdrop:has(.geography-create-modal){-webkit-backdrop-filter:blur(5px);background:#2a1f2352}.geography-create-modal,.geography-create-modal.modal{border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:0 24px 70px #2a1f2338;background:var(--surface)!important;opacity:1!important}.geography-create-modal .modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 18px;display:flex;position:relative;background:var(--surface)!important}.geography-create-modal .modal-header h2{color:var(--text);margin:5px 0 0;font-family:Georgia,serif;font-size:27px;font-weight:500}.geography-create-modal .icon-button{width:36px!important;min-width:36px!important;height:36px!important;color:var(--text-muted)!important;background:var(--surface)!important;border:1px solid var(--border)!important;box-shadow:none!important;border-radius:10px!important;place-items:center!important;padding:0!important;display:grid!important}.geography-create-modal .icon-button:hover{color:var(--wine)!important;background:var(--wine-soft)!important;border-color:var(--wine-soft-strong)!important}.geography-create-modal .geography-create-body{background:var(--surface);padding:22px 24px}.geography-create-modal input,.geography-create-modal select,.geography-create-modal textarea{background:var(--surface)!important;opacity:1!important}.geography-create-modal .modal-actions{background:var(--surface);border-top:1px solid var(--border);justify-content:flex-end;align-items:center;gap:10px;padding:16px 24px 22px;display:flex}.geography-create-modal .modal-actions .secondary-button,.geography-create-modal .modal-actions .primary-button{border-radius:11px;justify-content:center;min-width:112px;min-height:42px;width:auto!important}.geography-create-modal .modal-actions .secondary-button{color:var(--text);background:var(--surface);border:1px solid var(--border)}.geography-create-modal .modal-actions .primary-button{color:#fff;background:var(--wine);border:1px solid var(--wine)}@media (width<=600px){.worldbuilding-geography-launch{grid-template-columns:40px minmax(0,1fr);padding:14px}.worldbuilding-geography-arrow{display:none}.geography-create-modal .modal-actions{flex-direction:column-reverse}.geography-create-modal .modal-actions button{width:100%!important}}.worldbuilding-hub{width:100%;max-width:1120px;margin:0 auto;padding:38px 34px 90px}.worldbuilding-hub-heading h1{color:var(--text);margin:5px 0;font-family:Georgia,serif;font-size:clamp(34px,5vw,50px);font-weight:500}.worldbuilding-hub-heading p{max-width:660px;color:var(--text-muted);margin:0;line-height:1.55}.worldbuilding-hub-tabs{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;margin-top:28px;padding:4px;display:inline-flex}.worldbuilding-hub-tabs button{min-height:38px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0 18px;font-size:12px;font-weight:650}.worldbuilding-hub-tabs button.active{color:var(--wine);background:var(--surface);box-shadow:var(--shadow-sm)}.worldbuilding-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:22px;display:grid}.worldbuilding-module-card{min-height:148px;color:var(--text);background:var(--surface);border:1px solid var(--border);text-align:left;cursor:pointer;box-shadow:var(--shadow-sm);transition:var(--transition);border-radius:15px;grid-template-columns:42px minmax(0,1fr) auto;align-items:flex-start;gap:12px;padding:17px;display:grid}.worldbuilding-module-card:hover{border-color:var(--wine-soft-strong);box-shadow:var(--shadow-md);transform:translateY(-2px)}.worldbuilding-module-featured{background:linear-gradient(145deg, #fff, var(--wine-soft));border-color:var(--wine-soft-strong)}.worldbuilding-module-symbol{width:42px;height:42px;color:var(--wine);background:var(--wine-soft);border-radius:11px;place-items:center;font-size:20px;display:grid}.worldbuilding-module-copy{min-width:0;display:block}.worldbuilding-module-copy strong{color:var(--text);font-size:14px;display:block}.worldbuilding-module-copy small{color:var(--text-muted);margin-top:5px;font-size:11px;line-height:1.45;display:block}.worldbuilding-module-arrow{color:var(--wine);margin-top:10px;font-size:16px}.worldbuilding-module-custom{box-shadow:none;border-style:dashed}.worldbuilding-hub-back{color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;margin-bottom:24px;padding:0;font-size:12px}.worldbuilding-connections-placeholder{min-height:360px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:17px;flex-direction:column;justify-content:center;align-items:center;margin-top:22px;padding:32px;display:flex}.worldbuilding-connections-placeholder strong{color:var(--text);font-family:Georgia,serif;font-size:25px;font-weight:500}.worldbuilding-connections-placeholder p{max-width:520px;margin:8px 0 0;line-height:1.55}@media (width<=980px){.worldbuilding-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=650px){.worldbuilding-hub{padding:24px 18px 70px}.worldbuilding-hub-tabs{width:100%}.worldbuilding-hub-tabs button{flex:1}.worldbuilding-hub-grid{grid-template-columns:1fr}}.history-event-import-modal{background:var(--surface);border:1px solid #eadce1;border-radius:22px;flex-direction:column;width:min(720px,100vw - 32px);max-height:min(760px,100vh - 32px);display:flex;overflow:hidden;box-shadow:0 22px 70px #472d372e}.history-event-import-header{border-bottom:1px solid #eee2e6;grid-template-columns:auto 1fr auto;align-items:flex-start;gap:14px;padding:22px 24px;display:grid}.history-event-import-icon{color:#943c55;background:#fbf0f3;border-radius:13px;place-items:center;width:42px;height:42px;display:grid}.history-event-import-header h2{color:#42343a;margin:4px 0 5px;font-size:1.3rem}.history-event-import-header p{color:#8a797f;margin:0;font-size:.86rem;line-height:1.45}.history-event-import-content{flex-direction:column;flex:1;gap:14px;min-height:0;padding:20px 24px;display:flex;overflow:auto}.history-event-import-note{color:#7c6970;background:#fffafb;border:1px solid #eee1e5;border-radius:12px;padding:11px 13px;font-size:.82rem;line-height:1.45}.history-event-import-search{background:var(--surface);border:1px solid #e5d7dc;border-radius:12px;align-items:center;gap:9px;min-height:44px;padding:0 12px;display:flex}.history-event-import-search>svg{color:#907d84;flex:none}.history-event-import-search input{color:#493a40;min-width:0;font:inherit;background:0 0;border:0;outline:none;flex:1}.history-event-import-search button{color:#9b4a60;cursor:pointer;background:#fff4f6;border:0;border-radius:8px;place-items:center;width:27px;height:27px;display:grid}.history-event-import-list{flex-direction:column;gap:9px;display:flex}.history-event-import-item{background:var(--surface);border:1px solid #eee2e6;border-radius:14px;justify-content:space-between;align-items:center;gap:18px;padding:14px;display:flex}.history-event-import-item>div{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.history-event-import-item span{color:#a15168;letter-spacing:.11em;font-size:.68rem;font-weight:750}.history-event-import-item strong{color:#48383e;font-size:.95rem}.history-event-import-item p{color:#7e6d73;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:.82rem;line-height:1.45;display:-webkit-box;overflow:hidden}.history-event-import-item small{color:#a08f95;font-size:.74rem}.history-event-import-item button{flex:none}.history-event-import-empty{color:#917f85;text-align:center;border:1px dashed #e8dade;border-radius:14px;padding:36px 18px}.history-event-import-error{color:#963e4f;background:#fff2f4;border:1px solid #edbcc4;border-radius:11px;padding:11px 13px;font-size:.84rem}.history-event-import-footer{border-top:1px solid #eee2e6;justify-content:flex-end;padding:15px 24px;display:flex}.events-header-actions,.wb-category-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}@media (width<=720px){.history-event-import-header{padding:18px}.history-event-import-content{padding:16px 18px}.history-event-import-footer{padding:14px 18px}.history-event-import-item{flex-direction:column;align-items:flex-start}.history-event-import-item button{width:100%}.events-header-actions,.wb-category-header-actions{justify-content:flex-start}}.wb-subitems-section{border-top:1px solid var(--border);margin-top:42px;padding-top:34px}.wb-subitems-heading{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.wb-subitems-heading h2{color:var(--text);margin:6px 0 5px;font-family:Georgia,serif;font-size:29px;font-weight:500}.wb-subitems-heading p{max-width:660px;color:var(--text-muted);margin:0;font-size:12px;line-height:1.55}.wb-subitems-error{margin-top:18px}.wb-subitems-toolbar{justify-content:space-between;align-items:center;gap:15px;margin-top:24px;display:flex}.wb-subitems-search{background:var(--surface);border:1px solid var(--border);border-radius:11px;align-items:center;gap:8px;width:min(100%,480px);min-height:42px;padding:0 12px;display:flex}.wb-subitems-search>svg{color:var(--text-muted);flex:none}.wb-subitems-search input{width:100%;min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0;font-size:12px}.wb-subitems-search button{width:28px;height:28px;color:var(--text-muted);background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.wb-subitems-toolbar>span{color:var(--text-muted);white-space:nowrap;font-size:10px}.wb-subitems-filters{scrollbar-width:thin;gap:6px;margin-top:13px;padding-bottom:4px;display:flex;overflow-x:auto}.wb-subitems-filters button{min-height:32px;color:var(--text-muted);background:var(--surface-soft);font:inherit;cursor:pointer;border:1px solid #0000;border-radius:999px;flex:none;align-items:center;gap:6px;padding:0 11px;font-size:10px;display:inline-flex}.wb-subitems-filters button.active{color:var(--wine);background:var(--wine-soft);border-color:var(--wine-soft-strong)}.wb-subitems-filters button span{min-width:17px;height:17px;color:var(--wine);background:var(--surface);border-radius:999px;place-items:center;padding:0 5px;font-size:8px;display:inline-grid}.wb-subitems-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:18px;display:grid}.wb-subitem-card{min-height:185px;color:var(--text);background:var(--surface);border:1px solid var(--border);cursor:pointer;box-shadow:var(--shadow-sm);transition:var(--transition);border-radius:14px;padding:16px}.wb-subitem-card:hover{border-color:var(--wine-soft-strong);box-shadow:var(--shadow-md);transform:translateY(-2px)}.wb-subitem-card-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.wb-subitem-type{max-width:70%;color:var(--wine);background:var(--wine-soft);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:700;overflow:hidden}.wb-subitem-actions{gap:2px;display:flex}.wb-subitem-actions button{width:30px;height:30px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.wb-subitem-actions button:hover{color:var(--wine);background:var(--wine-soft)}.wb-subitem-card h3{color:var(--text);margin:14px 0 0;font-size:15px}.wb-subitem-card>p{color:var(--text-muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:7px 0 0;font-size:11px;line-height:1.5;display:-webkit-box;overflow:hidden}.wb-subitem-parent{color:var(--text-muted);align-items:center;gap:5px;margin-top:11px;font-size:9px;display:flex}.wb-subitem-parent strong{color:var(--text);font-weight:600}.wb-subitem-tags{flex-wrap:wrap;gap:5px;margin-top:11px;display:flex}.wb-subitem-tags span{color:var(--text-muted);background:var(--surface-soft);border-radius:999px;padding:3px 7px;font-size:8px}.wb-subitem-open{color:var(--wine);justify-content:flex-end;align-items:center;gap:3px;margin-top:16px;font-size:10px;font-weight:650;display:flex}.wb-subitems-empty{min-height:120px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:14px;justify-content:center;align-items:center;gap:8px;margin-top:18px;padding:24px;display:flex}.wb-subitems-empty-large{flex-direction:column;min-height:280px}.wb-subitems-empty-large>div{width:50px;height:50px;color:var(--wine);background:var(--wine-soft);border-radius:14px;place-items:center;display:grid}.wb-subitems-empty h3{color:var(--text);margin:10px 0 3px;font-family:Georgia,serif;font-size:22px;font-weight:500}.wb-subitems-empty p{max-width:500px;margin:0 0 13px;line-height:1.5}.wb-subitem-modal{background:var(--surface);border:1px solid var(--border);width:min(94vw,820px);max-height:88vh;box-shadow:var(--shadow-lg);border-radius:18px;overflow:auto}.wb-subitem-modal-header{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 18px;display:flex}.wb-subitem-modal-header h2{color:var(--text);margin:5px 0 3px;font-family:Georgia,serif;font-size:28px;font-weight:500}.wb-subitem-modal-header p{max-width:600px;color:var(--text-muted);margin:0;font-size:11px;line-height:1.45}.wb-subitem-modal-content{background:var(--surface);padding:22px 24px 26px}.wb-subitem-type-picker>label{color:var(--text);margin-bottom:8px;font-size:11px;font-weight:650;display:block}.wb-subitem-type-picker>div{gap:6px;padding-bottom:6px;display:flex;overflow-x:auto}.wb-subitem-type-picker button{min-height:34px;color:var(--text-muted);background:var(--surface-soft);font:inherit;cursor:pointer;border:1px solid #0000;border-radius:999px;flex:none;padding:0 11px;font-size:10px}.wb-subitem-type-picker button.active{color:var(--wine);background:var(--wine-soft);border-color:var(--wine-soft-strong);font-weight:650}.wb-subitem-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 17px;margin-top:20px;display:grid}.wb-subitem-form-grid .field{flex-direction:column;gap:6px;display:flex}.wb-subitem-form-grid .field.is-wide{grid-column:1/-1}.wb-subitem-form-grid label{color:var(--text);font-size:11px;font-weight:650}.wb-subitem-form-grid input,.wb-subitem-form-grid select,.wb-subitem-form-grid textarea{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:10px;outline:none;padding:11px 12px;font-size:12px}.wb-subitem-form-grid textarea{resize:vertical;min-height:105px}.wb-subitem-form-grid small{color:var(--text-muted);font-size:9px}.wb-subitem-modal-footer{border-top:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff7;justify-content:flex-end;gap:9px;padding:15px 24px 20px;display:flex;position:sticky;bottom:0}@media (width<=980px){.wb-subitems-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.wb-subitems-heading{flex-direction:column;align-items:stretch}.wb-subitems-heading .primary-button{width:100%}.wb-subitems-toolbar{flex-direction:column;align-items:stretch}.wb-subitems-search{width:100%}.wb-subitems-grid{grid-template-columns:1fr}.wb-subitem-modal{width:min(96vw,820px);max-height:91vh}.wb-subitem-form-grid{grid-template-columns:1fr}.wb-subitem-form-grid .field.is-wide{grid-column:auto}.wb-subitem-modal-footer{flex-direction:column-reverse}.wb-subitem-modal-footer button{width:100%}}.wb-subitems-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}@media (width<=760px){.wb-subitems-heading-actions{justify-content:flex-start;width:100%}}.calendar-page{width:100%;max-width:1120px;margin:0 auto;padding:38px 34px 90px}.calendar-back{color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:10px;display:inline-flex}.calendar-header,.calendar-editor-header{justify-content:space-between;align-items:flex-end;gap:24px;margin-top:24px;display:flex}.calendar-header h1,.calendar-editor-header h1{color:var(--text);margin:6px 0;font-family:Georgia,serif;font-size:clamp(38px,5vw,50px);font-weight:500;line-height:1.05}.calendar-header p,.calendar-editor-header p{max-width:700px;color:var(--text-muted);margin:0;font-size:12px;line-height:1.55}.calendar-info-banner{color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:12px;align-items:flex-start;gap:10px;margin-top:22px;padding:13px 15px;display:flex}.calendar-info-banner strong,.calendar-info-banner p{margin:0;display:block}.calendar-info-banner strong{font-size:10px}.calendar-info-banner p{color:var(--text-muted);margin-top:3px;font-size:9px}.calendar-error{color:#942f4c;background:#fff2f5;border:1px solid #edc9d3;border-radius:10px;margin-top:16px;padding:11px 13px;font-size:9px}.calendar-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:23px;display:grid}.calendar-card{min-height:210px;color:inherit;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);text-align:left;cursor:pointer;transition:var(--transition);border-radius:15px;padding:17px}.calendar-card:hover{border-color:var(--wine-soft-strong);box-shadow:var(--shadow-md);transform:translateY(-2px)}.calendar-card.primary{border-color:var(--wine-soft-strong)}.calendar-card-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.calendar-card-icon{width:40px;height:40px;color:var(--wine);background:var(--wine-soft);border-radius:11px;place-items:center;display:grid}.calendar-primary-badge,.calendar-primary-large{color:var(--wine);background:var(--wine-soft);border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-size:8px;font-weight:700;display:inline-flex}.calendar-card h3{color:var(--text);margin:14px 0 0;font-family:Georgia,serif;font-size:19px;font-weight:500}.calendar-card p{color:var(--text-muted);margin:7px 0 0;font-size:9px;line-height:1.5}.calendar-card-stats{flex-wrap:wrap;gap:5px;margin-top:14px;display:flex}.calendar-card-stats span{color:var(--text-muted);background:var(--surface-soft);border-radius:999px;padding:4px 7px;font-size:8px}.calendar-empty{min-height:120px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:15px;justify-content:center;align-items:center;margin-top:23px;padding:25px;display:flex}.calendar-empty-large{flex-direction:column;min-height:370px}.calendar-empty-icon{width:55px;height:55px;color:var(--wine);background:var(--wine-soft);border-radius:15px;place-items:center;margin-bottom:12px;display:grid}.calendar-empty h2{color:var(--text);margin:7px 0 5px;font-family:Georgia,serif;font-size:27px;font-weight:500}.calendar-empty p{max-width:560px;margin:0 0 17px;font-size:10px;line-height:1.55}.calendar-editor-actions{align-items:center;gap:8px;display:flex}.calendar-delete{color:#a2304f;background:#fff2f5;border:1px solid #edc9d3;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.calendar-editor-grid{grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:12px;margin-top:25px;display:grid}.calendar-panel{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:15px;padding:17px}.calendar-panel-wide{grid-column:1/-1}.calendar-editor-grid .calendar-panel:first-child{grid-column:1}.calendar-editor-grid .calendar-panel:nth-child(2){grid-column:2}.calendar-panel-heading{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.calendar-panel-heading h2{color:var(--text);margin:0;font-family:Georgia,serif;font-size:20px;font-weight:500}.calendar-panel-heading p{color:var(--text-muted);margin:3px 0 0;font-size:8px}.calendar-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 15px;margin-top:17px;display:grid}.calendar-form-grid .field{flex-direction:column;gap:6px;display:flex}.calendar-wide{grid-column:1/-1}.calendar-form-grid label{color:var(--text);font-size:9px;font-weight:650}.calendar-form-grid input,.calendar-form-grid select,.calendar-form-grid textarea{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:10px;outline:0;padding:10px 11px;font-size:10px}.calendar-form-grid textarea{resize:vertical;min-height:85px}.calendar-form-heading{color:var(--wine);border-top:1px solid var(--border);text-transform:uppercase;letter-spacing:.04em;grid-column:1/-1;margin-top:7px;padding-top:14px;font-size:9px;font-weight:750}.calendar-preview-date{min-height:105px;color:var(--wine);background:linear-gradient(135deg, #fff, var(--wine-soft));border:1px solid var(--wine-soft-strong);text-align:center;border-radius:13px;justify-content:center;align-items:center;gap:9px;margin-top:17px;padding:18px;display:flex}.calendar-preview-date strong{color:var(--text);font-family:Georgia,serif;font-size:16px;font-weight:500}.calendar-summary{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;margin-top:9px;padding:10px 0;display:flex}.calendar-summary span{color:var(--text-muted);font-size:8px}.calendar-summary strong{color:var(--text);font-size:9px}.calendar-add-row{align-items:center;gap:7px;margin-top:16px;display:grid}.calendar-period-add{grid-template-columns:minmax(180px,1fr) 90px 90px auto auto}.calendar-weekday-add{grid-template-columns:minmax(180px,1fr) 100px auto}.calendar-add-row input{width:100%;min-height:38px;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:9px;outline:0;padding:0 10px;font-size:9px}.calendar-add-row>span{color:var(--text-muted);font-size:8px}.calendar-list-empty{color:var(--text-muted);background:var(--surface-soft);text-align:center;border-radius:10px;margin-top:13px;padding:18px;font-size:9px}.calendar-period-list,.calendar-weekday-list{gap:6px;margin-top:13px;display:grid}.calendar-period-row{background:var(--surface-soft);border-radius:10px;grid-template-columns:27px minmax(0,1fr) auto 28px;align-items:center;gap:8px;padding:9px 10px;display:grid}.calendar-period-index{width:25px;height:25px;color:var(--wine);background:var(--surface);border-radius:7px;place-items:center;font-size:8px;font-weight:700;display:grid}.calendar-period-row strong,.calendar-period-row small{display:block}.calendar-period-row strong{color:var(--text);font-size:9px}.calendar-period-row small{color:var(--text-muted);margin-top:2px;font-size:7px}.calendar-period-row>span:not(.calendar-period-index){color:var(--text-muted);font-size:8px}.calendar-period-row button,.calendar-weekday-list button{color:#a2304f;background:0 0;border:0;place-items:center;width:27px;height:27px;display:grid}.calendar-weekday-list{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}.calendar-weekday-list>div{background:var(--surface-soft);border-radius:9px;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:6px;padding:9px;display:grid}.calendar-weekday-list>div>span{width:23px;height:23px;color:var(--wine);background:var(--surface);border-radius:6px;place-items:center;font-size:7px;display:grid}.calendar-weekday-list strong{color:var(--text);font-size:8px}.calendar-weekday-list small{color:var(--text-muted);font-size:7px}.calendar-weekday-list button{grid-area:1/3}.calendar-modal{background:var(--surface);border:1px solid var(--border);width:min(92vw,620px);max-height:88vh;box-shadow:var(--shadow-lg);border-radius:18px;overflow:auto}.calendar-modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:16px;padding:21px 23px 17px;display:flex}.calendar-modal-header h2{color:var(--text);margin:5px 0 0;font-family:Georgia,serif;font-size:27px;font-weight:500}.calendar-modal-content{gap:13px;padding:20px 23px;display:grid}.calendar-modal-content .field{flex-direction:column;gap:6px;display:flex}.calendar-modal-content label{color:var(--text);font-size:9px;font-weight:650}.calendar-modal-content input,.calendar-modal-content textarea{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:10px;outline:0;padding:10px 11px;font-size:10px}.calendar-modal-content textarea{resize:vertical;min-height:90px}.calendar-first-note{color:var(--wine);background:var(--wine-soft);border-radius:9px;align-items:center;gap:7px;padding:10px 11px;font-size:8px;display:flex}.calendar-modal-footer{border-top:1px solid var(--border);justify-content:flex-end;gap:8px;padding:14px 23px 19px;display:flex}@media (width<=850px){.calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-editor-grid{grid-template-columns:1fr}.calendar-editor-grid .calendar-panel,.calendar-editor-grid .calendar-panel:first-child,.calendar-editor-grid .calendar-panel:nth-child(2){grid-column:1}}@media (width<=680px){.calendar-page{padding:26px 17px 70px}.calendar-header,.calendar-editor-header,.calendar-editor-actions{flex-direction:column;align-items:stretch}.calendar-grid,.calendar-form-grid{grid-template-columns:1fr}.calendar-wide,.calendar-form-heading{grid-column:1}.calendar-period-add,.calendar-weekday-add{grid-template-columns:1fr}.calendar-modal-footer{flex-direction:column-reverse}.calendar-modal-footer button{width:100%}}.wb-connections-module{margin-top:26px}.wb-connections-heading{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.wb-connections-heading h2{color:var(--text);margin:6px 0 5px;font-family:Georgia,serif;font-size:30px;font-weight:500}.wb-connections-heading p{max-width:670px;color:var(--text-muted);margin:0;font-size:12px;line-height:1.55}.wb-connections-error{margin-top:18px}.wb-connections-controls{align-items:center;gap:11px;margin-top:24px;display:flex}.wb-connections-search{background:var(--surface);border:1px solid var(--border);border-radius:11px;align-items:center;gap:8px;width:min(100%,430px);min-height:42px;padding:0 12px;display:flex}.wb-connections-search svg{color:var(--text-muted);flex:none}.wb-connections-search input{width:100%;min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0;padding:0;font-size:12px}.wb-connections-search button{width:28px;height:28px;color:var(--text-muted);background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.wb-connected-only{min-height:42px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);white-space:nowrap;border-radius:11px;align-items:center;gap:7px;padding:0 12px;font-size:10px;display:flex}.wb-connected-only input{accent-color:var(--wine)}.wb-view-switch{background:var(--surface-soft);border:1px solid var(--border);border-radius:10px;margin-left:auto;padding:3px;display:flex}.wb-view-switch button{min-height:34px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:0 11px;font-size:10px;font-weight:650;display:inline-flex}.wb-view-switch button.active{color:var(--wine);background:var(--surface);box-shadow:var(--shadow-sm)}.wb-connections-stats{color:var(--text-muted);gap:14px;margin-top:13px;font-size:9px;display:flex}.wb-connections-stats span{gap:4px;display:flex}.wb-connections-stats strong{color:var(--wine)}.wb-map-actions{justify-content:space-between;align-items:center;gap:15px;margin-top:17px;display:flex}.wb-map-actions p{color:var(--text-muted);margin:0;font-size:10px}.wb-map-scroll{border:1px solid var(--border);overscroll-behavior:contain;background:radial-gradient(circle,#943c5517 1px,#0000 1px) 0 0/24px 24px;border-radius:17px;margin-top:12px;overflow:auto}.wb-map-canvas{min-width:1200px;position:relative}.wb-map-lines{pointer-events:none;position:absolute;inset:0}.wb-map-edge{pointer-events:stroke;cursor:pointer}.wb-map-edge line{stroke:#943c5585;stroke-width:2px;pointer-events:stroke}.wb-map-edge:hover line{stroke:var(--wine);stroke-width:3px}.wb-map-edge text{fill:var(--wine-deep);stroke:#fff;stroke-width:5px;paint-order:stroke;pointer-events:none;font-size:10px;font-weight:700}.wb-map-arrow-fill{fill:var(--wine)}.wb-map-node{background:var(--surface);border:1px solid var(--border);width:174px;height:76px;box-shadow:var(--shadow-sm);-webkit-user-select:none;user-select:none;touch-action:none;cursor:grab;z-index:2;border-radius:13px;align-items:center;padding:10px 11px 10px 31px;display:flex;position:absolute;top:0;left:0}.wb-map-node:active{cursor:grabbing;z-index:4;box-shadow:var(--shadow-md)}.wb-map-node-entry{border-color:var(--wine-soft-strong)}.wb-map-node-subitem{background:#fffdfd}.wb-map-node-geography{background:linear-gradient(145deg, #fff, var(--wine-soft))}.wb-map-node-grip{color:var(--text-muted);position:absolute;top:10px;left:8px}.wb-map-node>div{min-width:0}.wb-map-node>div>span,.wb-map-node>div>small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:8px;display:block;overflow:hidden}.wb-map-node strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin:2px 0;font-size:11px;display:block;overflow:hidden}.wb-connections-list{gap:11px;margin-top:20px;display:grid}.wb-connection-card{background:var(--surface);border:1px solid var(--border);cursor:pointer;box-shadow:var(--shadow-sm);transition:var(--transition);border-radius:14px;padding:16px}.wb-connection-card:hover{border-color:var(--wine-soft-strong);box-shadow:var(--shadow-md)}.wb-connection-card-main{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:18px;display:grid}.wb-connection-node{min-width:0}.wb-connection-node span{color:var(--wine);font-size:9px;font-weight:700;display:block}.wb-connection-node strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:13px;display:block;overflow:hidden}.wb-connection-relation{max-width:200px;color:var(--wine);align-items:center;gap:7px;display:flex}.wb-connection-relation span{text-align:center;font-size:10px;font-weight:700}.wb-connection-card>p{color:var(--text-muted);margin:12px 0 0;font-size:11px;line-height:1.5}.wb-connection-card-footer{justify-content:space-between;gap:12px;margin-top:12px;display:flex}.wb-connection-card-footer>div:first-child{flex-wrap:wrap;gap:5px;display:flex}.wb-connection-card-footer>div:first-child span{color:var(--wine);background:var(--wine-soft);border-radius:999px;padding:3px 7px;font-size:8px}.wb-connection-actions{gap:3px;display:flex}.wb-connection-actions button{width:30px;height:30px;color:var(--text-muted);background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.wb-connection-actions button:hover{color:var(--wine);background:var(--wine-soft)}.wb-connections-empty{min-height:130px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:16px;justify-content:center;align-items:center;gap:8px;margin-top:20px;padding:28px;display:flex}.wb-connections-empty-large{flex-direction:column;min-height:330px}.wb-connections-empty-large>svg{color:var(--wine)}.wb-connections-empty h3{color:var(--text);margin:9px 0 2px;font-family:Georgia,serif;font-size:23px;font-weight:500}.wb-connections-empty p{max-width:500px;margin:0 0 12px;line-height:1.5}.wb-connection-modal{background:var(--surface);border:1px solid var(--border);width:min(94vw,780px);max-height:88vh;box-shadow:var(--shadow-lg);border-radius:18px;overflow:auto}.wb-connection-modal-header{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 18px;display:flex}.wb-connection-modal-header h2{color:var(--text);margin:5px 0 3px;font-family:Georgia,serif;font-size:28px;font-weight:500}.wb-connection-modal-header p{color:var(--text-muted);margin:0;font-size:11px}.wb-connection-modal-content{background:var(--surface);padding:22px 24px 26px}.wb-connection-node-fields{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);align-items:end;gap:12px;display:grid}.wb-connection-direction-preview{height:42px;color:var(--wine);place-items:center;display:grid}.wb-connection-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:20px;display:grid}.wb-connection-modal .field{flex-direction:column;gap:6px;display:flex}.wb-connection-modal .field.is-wide{grid-column:1/-1}.wb-connection-modal label{color:var(--text);font-size:11px;font-weight:650}.wb-connection-modal input,.wb-connection-modal select,.wb-connection-modal textarea{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:10px;outline:0;padding:11px 12px;font-size:12px}.wb-connection-modal textarea{resize:vertical;min-height:115px}.wb-connection-modal small{color:var(--text-muted);font-size:9px}.wb-connection-modal-footer{border-top:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff7;justify-content:flex-end;gap:9px;padding:15px 24px 20px;display:flex;position:sticky;bottom:0}@media (width<=760px){.wb-connections-heading{flex-direction:column;align-items:stretch}.wb-connections-heading .primary-button{width:100%}.wb-connections-controls{flex-direction:column;align-items:stretch}.wb-connections-search{width:100%}.wb-view-switch{width:100%;margin-left:0}.wb-view-switch button{flex:1;justify-content:center}.wb-map-actions{flex-direction:column;align-items:stretch}.wb-connection-card-main{grid-template-columns:1fr;gap:8px}.wb-connection-relation{max-width:none}.wb-connection-node-fields{grid-template-columns:1fr}.wb-connection-direction-preview{height:28px;transform:rotate(90deg)}.wb-connection-form-grid{grid-template-columns:1fr}.wb-connection-modal .field.is-wide{grid-column:auto}.wb-connection-modal-footer{flex-direction:column-reverse}.wb-connection-modal-footer button{width:100%}}.wb-hub,.wb-category-page{width:100%;max-width:1120px;margin:0 auto;padding:44px 34px 90px}.wb-hub-header h1,.wb-category-header h1{color:var(--text);margin:6px 0 7px;font-family:Georgia,serif;font-size:clamp(36px,5vw,50px);font-weight:500;line-height:1.05}.wb-hub-header p,.wb-category-header p{max-width:680px;color:var(--text-muted);margin:0;font-size:14px;line-height:1.55}.wb-hub-tabs{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;gap:3px;width:fit-content;margin-top:28px;padding:4px;display:flex}.wb-hub-tabs button{min-width:125px;min-height:39px;color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0 17px;font-size:12px;font-weight:650}.wb-hub-tabs button.active{color:var(--wine);background:var(--surface);box-shadow:var(--shadow-sm)}.wb-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:25px;display:grid}.wb-category-card{min-height:148px;color:var(--text);background:var(--surface);border:1px solid var(--border);text-align:left;cursor:pointer;box-shadow:var(--shadow-sm);transition:var(--transition);border-radius:16px;grid-template-columns:44px minmax(0,1fr) auto;align-items:flex-start;gap:13px;padding:18px;display:grid}.wb-category-card:hover{border-color:var(--wine-soft-strong);box-shadow:var(--shadow-md);transform:translateY(-2px)}.wb-category-card-geography{background:linear-gradient(145deg, #fff 15%, var(--wine-soft) 100%);border-color:var(--wine-soft-strong)}.wb-category-card-custom{box-shadow:none;border-style:dashed}.wb-category-icon{width:44px;height:44px;color:var(--wine);background:var(--wine-soft);border-radius:12px;place-items:center;display:grid}.wb-category-copy{min-width:0}.wb-category-copy strong{color:var(--text);font-size:14px;line-height:1.25;display:block}.wb-category-copy small{color:var(--text-muted);margin-top:5px;font-size:11px;line-height:1.5;display:block}.wb-category-arrow{color:var(--wine);margin-top:11px;font-size:17px}.wb-connections{min-height:440px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;margin-top:25px;padding:42px;display:flex}.wb-connections-icon{width:56px;height:56px;color:var(--wine);background:var(--wine-soft);border-radius:15px;place-items:center;margin-bottom:14px;display:grid}.wb-connections h2{color:var(--text);margin:8px 0 6px;font-family:Georgia,serif;font-size:29px;font-weight:500}.wb-connections p{max-width:610px;margin:0;line-height:1.6}.wb-connections-note{max-width:560px;color:var(--wine);background:var(--wine-soft);border-radius:11px;margin-top:20px;padding:12px 16px;font-size:11px}.wb-back-button{color:var(--text-muted);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;margin-bottom:25px;padding:0;font-size:12px;display:inline-flex}.wb-back-button:hover{color:var(--wine)}.wb-category-header{justify-content:space-between;align-items:flex-end;gap:25px;display:flex}.wb-category-header>div{min-width:0}.wb-category-header .primary-button{flex:none}.wb-category-toolbar{justify-content:space-between;align-items:center;gap:14px;margin-top:27px;display:flex}.wb-category-search{background:var(--surface);border:1px solid var(--border);border-radius:12px;align-items:center;gap:9px;width:min(100%,520px);min-height:43px;padding:0 13px;display:flex}.wb-category-search svg{color:var(--text-muted);flex:none}.wb-category-search input{width:100%;min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0;padding:0;font-size:12px}.wb-category-search button{width:28px;height:28px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;display:grid}.wb-category-count{color:var(--text-muted);white-space:nowrap;font-size:11px}.wb-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px;display:grid}.wb-entry-card{min-height:190px;color:var(--text);background:var(--surface);border:1px solid var(--border);cursor:pointer;box-shadow:var(--shadow-sm);transition:var(--transition);border-radius:15px;padding:17px}.wb-entry-card:hover{border-color:var(--wine-soft-strong);box-shadow:var(--shadow-md);transform:translateY(-2px)}.wb-entry-card-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.wb-entry-card-icon{width:40px;height:40px;color:var(--wine);background:var(--wine-soft);border-radius:11px;place-items:center;display:grid}.wb-entry-card-actions{gap:3px;display:flex}.wb-entry-card-actions button{width:31px;height:31px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.wb-entry-card-actions button:hover{color:var(--wine);background:var(--wine-soft)}.wb-entry-category{color:var(--wine);background:var(--wine-soft);border-radius:999px;margin-top:15px;padding:4px 8px;font-size:9px;font-weight:700;display:inline-block}.wb-entry-card h3{color:var(--text);margin:9px 0 0;font-size:15px}.wb-entry-card p{color:var(--text-muted);margin:7px 0 0;font-size:11px;line-height:1.5}.wb-entry-tags{flex-wrap:wrap;gap:5px;margin-top:12px;display:flex}.wb-entry-tags span{color:var(--wine);background:var(--wine-soft);border-radius:999px;padding:4px 7px;font-size:9px}.wb-category-empty{min-height:120px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:15px;justify-content:center;align-items:center;gap:9px;margin-top:22px;padding:26px;display:flex}.wb-category-empty-large{flex-direction:column;min-height:330px}.wb-category-empty-icon{width:52px;height:52px;color:var(--wine);background:var(--wine-soft);border-radius:14px;place-items:center;display:grid}.wb-category-empty h2{color:var(--text);margin:12px 0 4px;font-family:Georgia,serif;font-size:24px;font-weight:500}.wb-category-empty p{margin:0 0 15px}.wb-entry-modal,.wb-small-modal{background:var(--surface);border:1px solid var(--border);width:min(92vw,650px);max-height:min(88vh,760px);box-shadow:var(--shadow-lg);border-radius:18px;overflow:auto}.wb-small-modal{width:min(92vw,500px)}.wb-entry-modal .modal-header,.wb-small-modal .modal-header{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:18px;padding:22px 24px 18px;display:flex}.wb-entry-modal .modal-header h2,.wb-small-modal .modal-header h2{color:var(--text);margin:5px 0 3px;font-family:Georgia,serif;font-size:27px;font-weight:500}.wb-entry-modal .modal-header p,.wb-small-modal .modal-header p{color:var(--text-muted);margin:0;font-size:11px}.wb-entry-modal-content,.wb-small-modal-content{background:var(--surface);gap:16px;padding:22px 24px;display:grid}.wb-entry-modal .field,.wb-small-modal .field{flex-direction:column;gap:7px;display:flex}.wb-entry-modal .field label,.wb-small-modal .field label{color:var(--text);font-size:11px;font-weight:650}.wb-entry-modal input,.wb-entry-modal select,.wb-entry-modal textarea,.wb-small-modal input{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:11px;outline:0;padding:11px 12px}.wb-entry-modal textarea{resize:vertical;min-height:115px}.wb-entry-modal .modal-footer,.wb-small-modal .modal-footer{background:var(--surface);border-top:1px solid var(--border);justify-content:flex-end;gap:10px;padding:16px 24px 22px;display:flex}@media (width<=1000px){.wb-hub-grid,.wb-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.wb-hub,.wb-category-page{padding:26px 18px 70px}.wb-hub-tabs{width:100%}.wb-hub-tabs button{flex:1;min-width:0}.wb-hub-grid,.wb-entry-grid{grid-template-columns:1fr}.wb-category-header{flex-direction:column;align-items:stretch}.wb-category-header .primary-button{width:100%}.wb-category-toolbar{flex-direction:column;align-items:stretch}.wb-category-search{width:100%}.wb-category-count{padding-left:2px}.wb-entry-modal .modal-footer,.wb-small-modal .modal-footer{flex-direction:column-reverse}.wb-entry-modal .modal-footer button,.wb-small-modal .modal-footer button{width:100%}}.wb-tool-picker{gap:10px;display:grid}.wb-tool-picker-heading{gap:3px;margin-bottom:2px;display:grid}.wb-tool-picker-heading strong{font-size:.92rem}.wb-tool-picker-heading span{opacity:.62;font-size:.8rem}.wb-tool-option{background:var(--surface);width:100%;color:inherit;text-align:left;cursor:pointer;border:1px solid #943c552e;border-radius:14px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;display:grid}.wb-tool-option:hover:not(:disabled){background:#943c5509;border-color:#943c556b}.wb-tool-option:disabled{cursor:default;opacity:.62}.wb-tool-option-icon{color:#943c55;background:#943c5514;border-radius:12px;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.wb-tool-option-copy{gap:3px;min-width:0;display:grid}.wb-tool-option-copy strong{font-size:.9rem}.wb-tool-option-copy small{opacity:.66;line-height:1.35}.wb-tool-option-status{white-space:nowrap;color:#943c55;font-size:.76rem;font-weight:700}.wb-custom-category-divider{opacity:.58;align-items:center;gap:10px;margin:18px 0;font-size:.76rem;display:flex}.wb-custom-category-divider:before,.wb-custom-category-divider:after{content:"";background:#943c5529;flex:1;height:1px}@media (width<=700px){.wb-tool-option{grid-template-columns:auto minmax(0,1fr)}.wb-tool-option-status{grid-column:2}}.wb-entry-macro-note{background:#943c550b;border:1px solid #943c552e;border-radius:14px;gap:7px;margin-bottom:18px;padding:14px 16px;display:grid}.wb-entry-macro-note strong{color:#943c55;font-size:.92rem}.wb-entry-macro-note p{margin:0;line-height:1.55}.wb-entry-macro-note small{opacity:.68;line-height:1.45}.events-page,.events-detail{width:100%;max-width:1120px;margin:0 auto;padding:42px 34px 90px}.events-header{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.events-header h1,.event-detail-main h1{color:var(--text);margin:6px 0;font-family:Georgia,serif;font-size:clamp(38px,5vw,50px);font-weight:500;line-height:1.05}.events-header p{max-width:680px;color:var(--text-muted);margin:0;font-size:13px;line-height:1.55}.events-header-actions,.event-detail-actions{gap:8px;display:flex}.events-toolbar{align-items:center;gap:8px;margin-top:27px;display:flex}.events-search{background:var(--surface);border:1px solid var(--border);border-radius:11px;align-items:center;gap:8px;width:min(100%,400px);min-height:42px;padding:0 12px;display:flex}.events-search input{width:100%;min-width:0;color:var(--text);font:inherit;background:0 0;border:0;outline:0;font-size:11px}.events-search button{width:27px;height:27px;color:var(--text-muted);background:0 0;border:0;place-items:center;display:grid}.events-toolbar>select{min-height:42px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:11px;padding:0 11px;font-size:10px}.events-view-toggle{background:var(--surface-soft);border:1px solid var(--border);border-radius:10px;margin-left:auto;padding:3px;display:flex}.events-view-toggle button{min-height:34px;color:var(--text-muted);font:inherit;background:0 0;border:0;border-radius:8px;align-items:center;gap:5px;padding:0 10px;font-size:9px;font-weight:650;display:inline-flex}.events-view-toggle button.active{color:var(--wine);background:var(--surface);box-shadow:var(--shadow-sm)}.events-count{color:var(--text-muted);margin-top:11px;font-size:9px}.events-database-error{color:#8f2947;background:#fff2f5;border:1px solid #efcbd5;border-radius:11px;margin-top:16px;padding:12px 14px}.events-database-error strong,.events-database-error p{margin:0;display:block}.events-database-error strong{font-size:10px}.events-database-error p{margin-top:4px;font-size:9px;line-height:1.45}.events-empty,.events-small-empty{min-height:120px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:15px;justify-content:center;align-items:center;margin-top:20px;padding:24px;display:flex}.events-empty-large{flex-direction:column;min-height:355px}.events-empty-large>div{width:54px;height:54px;color:var(--wine);background:var(--wine-soft);border-radius:15px;place-items:center;margin-bottom:12px;display:grid}.events-empty h2{color:var(--text);margin:7px 0 4px;font-family:Georgia,serif;font-size:27px;font-weight:500}.events-empty p{max-width:530px;margin:0 0 17px;font-size:11px;line-height:1.5}.events-timeline{margin-top:21px}.events-era-divider{align-items:baseline;gap:9px;margin:27px 0 13px 158px;display:flex}.events-era-divider strong{color:var(--wine);font-family:Georgia,serif;font-size:18px}.events-era-divider span{color:var(--text-muted);font-size:8px}.events-timeline-row{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:135px 28px minmax(0,1fr);gap:10px;padding:0;display:grid}.events-timeline-date{text-align:right;padding-top:19px}.events-timeline-date strong,.events-timeline-date span{display:block}.events-timeline-date strong{color:var(--text);font-size:9px}.events-timeline-date span{color:var(--text-muted);margin-top:3px;font-size:8px}.events-timeline-axis{justify-content:center;display:flex;position:relative}.events-timeline-axis span{background:var(--border);width:1px;position:absolute;inset:0 auto}.events-timeline-axis i{width:13px;height:13px;box-shadow:0 0 0 1px var(--border);z-index:1;border:3px solid #fff;border-radius:50%;margin-top:21px;position:relative}.events-timeline-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);transition:var(--transition);border-radius:14px;margin-bottom:10px;padding:15px 16px}.events-timeline-row:hover .events-timeline-card{border-color:var(--wine-soft-strong);box-shadow:var(--shadow-md);transform:translateY(-1px)}.events-timeline-card>div:first-child,.event-card-top{justify-content:space-between;gap:8px;display:flex}.events-timeline-card>div:first-child span,.event-card-top span{color:var(--wine);font-size:8px;font-weight:700}.events-timeline-card>div:first-child small,.event-card-top small{color:var(--text-muted);font-size:8px}.events-timeline-card h3{color:var(--text);margin:6px 0 0;font-size:13px}.events-timeline-card p{color:var(--text-muted);margin:6px 0 0;font-size:9px;line-height:1.5}.events-timeline-card footer,.event-card footer{color:var(--text-muted);justify-content:space-between;align-items:center;margin-top:11px;font-size:8px;display:flex}.events-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:20px;display:grid}.event-card{min-height:200px;color:inherit;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);text-align:left;cursor:pointer;transition:var(--transition);border-radius:15px;padding:16px 16px 16px 19px;position:relative;overflow:hidden}.event-card:hover{border-color:var(--wine-soft-strong);box-shadow:var(--shadow-md);transform:translateY(-2px)}.event-card>i{width:4px;position:absolute;inset:0 auto 0 0}.event-card h3{color:var(--text);margin:13px 0 0;font-family:Georgia,serif;font-size:19px;font-weight:500}.event-card-date{color:var(--text-muted);align-items:center;gap:5px;margin-top:8px;font-size:8px;display:flex}.event-card-era{width:fit-content;color:var(--wine);background:var(--wine-soft);border-radius:999px;margin-top:8px;padding:4px 7px;font-size:8px}.event-card>p{color:var(--text-muted);margin:10px 0 0;font-size:9px;line-height:1.5}.events-back{color:var(--text-muted);font:inherit;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:10px;display:inline-flex}.event-detail-header{border-bottom:1px solid var(--border);align-items:flex-end;gap:18px;margin-top:24px;padding:23px 0 25px 18px;display:flex;position:relative}.event-detail-accent{border-radius:99px;width:4px;position:absolute;top:23px;bottom:25px;left:0}.event-detail-main{flex:1;min-width:0}.event-detail-main h1{font-size:clamp(34px,5vw,46px)}.event-detail-chips{flex-wrap:wrap;gap:5px;display:flex}.event-detail-chips span{color:var(--text-muted);background:var(--surface-soft);border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-size:8px;display:inline-flex}.event-delete{color:#a2304f;background:#fff2f5;border:1px solid #efcbd5;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.event-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:24px;display:grid}.event-info-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:14px;padding:16px}.event-info-card.wide{grid-column:1/-1}.event-info-card h3{color:var(--text);margin:0;font-size:11px}.event-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:13px;display:grid}.event-fact span,.event-fact strong{display:block}.event-fact span{color:var(--text-muted);font-size:7px}.event-fact strong{color:var(--text);margin-top:3px;font-size:9px}.event-long-text,.event-detail-summary{white-space:pre-wrap;margin:11px 0 0;font-size:9px;line-height:1.65}.event-long-text{color:var(--text-muted)}.event-detail-summary{color:var(--text);font-weight:650}.event-links-section{border-top:1px solid var(--border);margin-top:35px;padding-top:26px}.event-section-heading{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.event-section-heading h2{color:var(--text);margin:5px 0 3px;font-family:Georgia,serif;font-size:24px;font-weight:500}.event-section-heading p{color:var(--text-muted);margin:0;font-size:8px}.event-link-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:15px;display:grid}.event-link-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;justify-content:space-between;gap:8px;padding:12px;display:flex}.event-link-card span,.event-link-card strong,.event-link-card small{display:block}.event-link-card span{color:var(--wine);font-size:7px;font-weight:700}.event-link-card strong{color:var(--text);margin-top:3px;font-size:10px}.event-link-card small{color:var(--text-muted);margin-top:2px;font-size:7px}.event-link-card p{color:var(--text-muted);margin:6px 0 0;font-size:8px;line-height:1.4}.event-link-card button,.event-relation-card>button{width:27px;height:27px;color:var(--text-muted);background:0 0;border:0;flex:none;place-items:center;display:grid}.event-relation-list{gap:8px;margin-top:15px;display:grid}.event-relation-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;align-items:center;gap:9px;padding:12px;display:flex}.event-relation-flow{flex:1;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;display:grid}.event-relation-flow strong{color:var(--text);font-size:9px}.event-relation-flow span{color:var(--wine);align-items:center;gap:4px;font-size:7px;font-weight:700;display:flex}.event-relation-card>p{max-width:250px;color:var(--text-muted);margin:0;font-size:8px}.event-detail-tags{color:var(--wine);flex-wrap:wrap;align-items:center;gap:5px;margin-top:22px;display:flex}.event-detail-tags span{background:var(--wine-soft);border-radius:999px;padding:4px 7px;font-size:8px}.event-editor-modal,.event-era-modal,.event-small-modal{background:var(--surface);border:1px solid var(--border);width:min(94vw,850px);max-height:90vh;box-shadow:var(--shadow-lg);border-radius:18px;overflow:auto}.event-era-modal{width:min(92vw,650px)}.event-small-modal{width:min(92vw,600px)}.event-modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:17px;padding:21px 23px 17px;display:flex}.event-modal-header h2{color:var(--text);margin:5px 0 3px;font-family:Georgia,serif;font-size:27px;font-weight:500}.event-modal-header p{color:var(--text-muted);margin:0;font-size:9px}.event-editor-content{padding:21px 23px 27px}.event-form-section+.event-form-section{border-top:1px solid var(--border);margin-top:27px;padding-top:23px}.event-form-section>h3{color:var(--text);margin:0 0 13px;font-family:Georgia,serif;font-size:18px;font-weight:500}.event-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 15px;display:grid}.event-editor-modal .field,.event-small-modal .field{flex-direction:column;gap:6px;display:flex}.event-editor-modal .field.wide{grid-column:1/-1}.event-editor-modal label,.event-small-modal label{color:var(--text);font-size:9px;font-weight:650}.event-editor-modal input,.event-editor-modal select,.event-editor-modal textarea,.event-small-modal input,.event-small-modal select,.event-small-modal textarea,.event-era-modal input{width:100%;color:var(--text);background:var(--surface);border:1px solid var(--border);font:inherit;border-radius:10px;outline:0;padding:10px 11px;font-size:10px}.event-editor-modal textarea,.event-small-modal textarea{resize:vertical;min-height:95px}.event-editor-modal small{color:var(--text-muted);font-size:7px}.event-modal-footer{border-top:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff7;justify-content:flex-end;gap:8px;padding:14px 23px 19px;display:flex;position:sticky;bottom:0}.event-era-content,.event-small-content{padding:20px 23px 24px}.event-era-create{grid-template-columns:1fr 1fr auto;gap:8px;display:grid}.event-era-list{gap:7px;margin-top:16px;display:grid}.event-era-list>div{background:var(--surface-soft);border-radius:10px;justify-content:space-between;align-items:center;gap:9px;padding:10px 11px;display:flex}.event-era-list strong,.event-era-list small{display:block}.event-era-list strong{color:var(--text);font-size:9px}.event-era-list small{color:var(--text-muted);margin-top:2px;font-size:7px}.event-era-list button{color:#a2304f;background:0 0;border:0;place-items:center;width:28px;height:28px;display:grid}.event-era-list>p{color:var(--text-muted);margin:0;font-size:9px}.event-small-content{gap:12px;display:grid}@media (width<=900px){.events-card-grid,.event-link-grid,.event-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.events-page,.events-detail{padding:26px 17px 70px}.events-header,.event-section-heading,.event-detail-header{flex-direction:column;align-items:stretch}.events-header-actions{width:100%}.events-header-actions button{flex:1}.events-toolbar{flex-direction:column;align-items:stretch}.events-search{width:100%}.events-view-toggle{width:100%;margin-left:0}.events-view-toggle button{flex:1;justify-content:center}.events-era-divider{margin-left:0}.events-timeline-row{grid-template-columns:1fr;gap:5px}.events-timeline-date{text-align:left;padding-top:7px}.events-timeline-axis{display:none}.events-card-grid,.event-detail-grid,.event-link-grid{grid-template-columns:1fr}.event-info-card.wide{grid-column:auto}.event-facts,.event-form-grid{grid-template-columns:1fr}.event-editor-modal .field.wide{grid-column:auto}.event-era-create{grid-template-columns:1fr}.event-relation-card{flex-direction:column;align-items:stretch}.event-relation-flow{grid-template-columns:1fr}.event-modal-footer{flex-direction:column-reverse}.event-modal-footer button{width:100%}}.location-connection-card{background:var(--surface);border:1px solid #eadde2;border-radius:18px;padding:21px}.location-connection-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.location-connection-heading h2{color:#47373d;margin:5px 0;font-size:1.12rem}.location-connection-heading p{color:#88777d;margin:0;font-size:.88rem;line-height:1.5}.location-connection-create{background:#fffafb;border:1px solid #eee2e6;border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px;padding:15px;display:grid}.location-connection-create .field{flex-direction:column;gap:6px;display:flex}.location-connection-create label{color:#69575e;font-size:.8rem;font-weight:650}.location-connection-create input,.location-connection-create select{box-sizing:border-box;background:var(--surface);color:#45363c;width:100%;min-height:40px;font:inherit;border:1px solid #e4d5da;border-radius:10px;padding:8px 10px}.location-connection-wide{grid-column:1/-1}.location-checkbox{align-items:center;color:#76646b!important;flex-direction:row!important;gap:8px!important;display:inline-flex!important}.location-checkbox input{width:auto;min-height:0}.location-connection-create>.secondary-button{justify-self:start}.location-connection-list,.location-reference-list{flex-direction:column;gap:8px;display:flex}.location-relation-item,.location-link-item,.location-reference-item{background:var(--surface);border:1px solid #eee3e7;border-radius:12px;align-items:flex-start;gap:11px;padding:12px 13px;display:flex}.location-relation-item>svg,.location-link-item>svg{color:#943c55;flex:none;margin-top:2px}.location-relation-item>div,.location-link-item>div,.location-reference-item>div:first-child{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.location-relation-item strong,.location-link-item strong,.location-reference-item strong{color:#4c3b41}.location-relation-item span,.location-link-item span,.location-reference-item span{color:#a0536c;font-size:.76rem;font-weight:650}.location-link-item small{color:#8d7c82}.location-relation-item p,.location-link-item p,.location-reference-item p{color:#79696f;margin:4px 0 0;font-size:.84rem}.location-relation-item>button,.location-link-item>button,.location-reference-actions button,.location-reference-actions a{color:#9f4958;cursor:pointer;background:#fff5f6;border:0;border-radius:9px;flex:none;place-items:center;width:30px;height:30px;text-decoration:none;display:grid}.location-reference-item{align-items:center}.location-reference-actions{gap:5px;display:flex}.location-reference-actions a{color:#943c55;background:#f7eef1}.location-connections-empty{color:#8d7d83;text-align:center;border:1px dashed #eadde2;border-radius:12px;padding:16px}.location-connections-error{color:#963b49;background:#fff3f4;border:1px solid #ecb9bf;border-radius:13px;padding:12px 14px}@media (width<=760px){.location-connection-create{grid-template-columns:1fr}.location-connection-wide{grid-column:auto}}.locations-page,.location-detail{flex-direction:column;gap:22px;width:100%;display:flex}.locations-header,.location-detail-header{justify-content:space-between;align-items:flex-start;gap:24px;display:flex}.locations-header h1,.location-detail-header h1{margin:6px 0 8px;font-size:clamp(2rem,4vw,3rem);line-height:1}.locations-header p,.location-detail-header p{color:#786b70;max-width:720px;margin:0;line-height:1.6}.locations-toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.locations-toolbar select,.locations-search,.locations-favorite-filter,.locations-view-toggle{min-height:42px}.locations-toolbar select{background:var(--surface);color:#473a3f;border:1px solid #eadde2;border-radius:12px;padding:0 12px}.locations-search{background:var(--surface);border:1px solid #eadde2;border-radius:12px;flex:260px;align-items:center;gap:8px;min-width:220px;padding:0 12px;display:flex}.locations-search input{background:0 0;border:0;outline:0;flex:1;min-width:0}.locations-search button{cursor:pointer;color:#8a767e;background:0 0;border:0;place-items:center;display:grid}.locations-favorite-filter{background:var(--surface);color:#6d5d63;cursor:pointer;border:1px solid #eadde2;border-radius:12px;align-items:center;gap:7px;padding:0 13px;display:inline-flex}.locations-favorite-filter.active{color:#943c55;background:#fff4f7;border-color:#c88ca0}.locations-view-toggle{background:var(--surface);border:1px solid #eadde2;border-radius:12px;padding:3px;display:flex}.locations-view-toggle button{color:#74636a;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:6px;padding:8px 10px;display:inline-flex}.locations-view-toggle button.active{color:#943c55;background:#f6e9ed}.locations-count{color:#8a7b80;font-size:.86rem}.locations-error,.locations-success{border-radius:14px;padding:13px 15px}.locations-error{color:#8c3545;background:#fff3f4;border:1px solid #eab7bd}.locations-error p{margin:4px 0 0}.locations-success{color:#7d344c;background:#fff7f9;border:1px solid #dfc6cf;flex-direction:column;gap:2px;display:flex}.locations-success span{color:#876d76;font-size:.84rem}.locations-empty{text-align:center;color:#806f76;border:1px dashed #e7d8dd;border-radius:18px;place-items:center;min-height:180px;padding:28px;display:grid}.locations-empty-large{min-height:380px}.locations-empty-large h2{color:#45363c;margin:8px 0}.locations-empty-large p{max-width:560px;margin:0 0 18px;line-height:1.55}.locations-empty-icon{color:#943c55;background:#f8eaef;border-radius:18px;place-items:center;width:54px;height:54px;margin-bottom:10px;display:grid}.locations-card-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;display:grid}.location-card{background:var(--surface);text-align:left;cursor:pointer;border:1px solid #eadde2;border-radius:18px;flex-direction:column;align-items:stretch;min-height:220px;padding:17px;transition:transform .12s,box-shadow .12s,border-color .12s;display:flex}.location-card:hover{border-color:#d8b8c3;transform:translateY(-2px);box-shadow:0 10px 28px #4d2d3914}.location-card-top{justify-content:space-between;align-items:center;margin-bottom:13px;display:flex}.location-card-icon{color:#943c55;background:#f8edf1;border-radius:12px;place-items:center;width:36px;height:36px;display:grid}.location-card-heart{color:#943c55}.location-card-type{color:#a05a71;letter-spacing:.07em;text-transform:uppercase;font-size:.72rem;font-weight:700}.location-card h3{color:#43343a;margin:5px 0 7px;font-size:1.05rem}.location-card p{color:#796970;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0 0 10px;font-size:.88rem;line-height:1.45;display:-webkit-box;overflow:hidden}.location-card small{color:#8a7b80;margin-top:auto}.location-card footer{color:#95858b;border-top:1px solid #f0e7ea;justify-content:space-between;align-items:center;margin-top:14px;padding-top:12px;font-size:.78rem;display:flex}.locations-tree{flex-direction:column;gap:5px;display:flex}.location-tree-node{background:var(--surface);text-align:left;cursor:pointer;border:1px solid #eadfe3;border-radius:13px;align-items:center;gap:10px;width:calc(100% - 2px);min-height:54px;padding:8px 12px;display:flex}.location-tree-node:hover{background:#fffafb;border-color:#d7b8c2}.location-tree-icon{color:#943c55;background:#f8edf1;border-radius:10px;flex:none;place-items:center;width:31px;height:31px;display:grid}.location-tree-copy{flex-direction:column;flex:1;min-width:0;display:flex}.location-tree-copy strong{color:#493a40;align-items:center;gap:6px;display:flex}.location-tree-copy strong svg{color:#943c55}.location-tree-copy small{color:#918187;margin-top:2px}.locations-back{color:#8e4a61;cursor:pointer;background:0 0;border:0;align-self:flex-start;align-items:center;gap:7px;padding:0;font-weight:600;display:inline-flex}.location-detail-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;display:flex}.location-favorite,.location-delete{cursor:pointer;border-radius:11px;align-items:center;gap:7px;min-height:39px;padding:0 12px;display:inline-flex}.location-favorite{background:var(--surface);color:#79676e;border:1px solid #e5d5db}.location-favorite.active{color:#943c55;background:#fff3f7;border-color:#cf9cae}.location-delete{color:#a14551;background:#fff8f8;border:1px solid #efd5d8}.location-section-card{background:var(--surface);border:1px solid #eadde2;border-radius:18px;padding:21px}.location-section-card h2{color:#46363c;margin:5px 0 18px;font-size:1.12rem}.location-form-grid,.locations-modal-body{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.location-form-grid .field,.locations-modal-body .field{flex-direction:column;gap:7px;display:flex}.location-form-grid label,.locations-modal-body label{color:#66545b;font-size:.82rem;font-weight:650}.location-form-grid input,.location-form-grid select,.location-form-grid textarea,.locations-modal-body input,.locations-modal-body select,.locations-modal-body textarea{box-sizing:border-box;background:var(--surface);color:#43363b;width:100%;font:inherit;border:1px solid #e5d7dc;border-radius:11px;outline:none;padding:10px 11px}.location-form-grid textarea,.locations-modal-body textarea{resize:vertical;min-height:105px}.location-form-grid input:focus,.location-form-grid select:focus,.location-form-grid textarea:focus,.locations-modal-body input:focus,.locations-modal-body select:focus,.locations-modal-body textarea:focus{border-color:#bd7d92;box-shadow:0 0 0 3px #943c5514}.location-field-wide{grid-column:1/-1}.location-large-textarea{min-height:170px!important}.locations-modal{background:var(--surface);border-radius:19px;width:min(720px,100vw - 30px);max-height:min(780px,100vh - 30px);overflow:auto;box-shadow:0 24px 70px #3b202a38}.locations-modal-header,.locations-modal-footer{justify-content:space-between;align-items:center;gap:15px;padding:18px 20px;display:flex}.locations-modal-header{border-bottom:1px solid #efe4e7}.locations-modal-header h2{margin:4px 0 0}.locations-modal-body{padding:20px}.locations-modal-footer{border-top:1px solid #efe4e7;justify-content:flex-end}.locations-form-error{color:#963a48;background:#fff2f3;border-radius:11px;grid-column:1/-1;padding:11px 12px}@media (width<=760px){.locations-header,.location-detail-header{flex-direction:column}.location-detail-actions{justify-content:flex-start}.location-form-grid,.locations-modal-body{grid-template-columns:1fr}.location-field-wide{grid-column:auto}.locations-toolbar>*{width:100%}.locations-view-toggle{width:auto}.locations-view-toggle button{flex:1}}.themes-page,.themes-detail{gap:26px;display:grid}.themes-page-heading,.themes-detail-heading{justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.themes-page-heading h1,.themes-detail-heading h1{margin:6px 0 8px;font-size:clamp(2.2rem,5vw,3.6rem);line-height:.98}.themes-page-heading p,.themes-detail-heading p{color:#362b2f94;max-width:650px;margin:0;line-height:1.55}.themes-toolbar{align-items:center;gap:16px;display:flex}.themes-toolbar>span{color:#362b2f85;white-space:nowrap;font-size:.84rem}.themes-search{background:var(--surface);border:1px solid #943c5529;border-radius:15px;flex:1;align-items:center;gap:10px;min-height:52px;padding:0 16px;display:flex}.themes-search svg{color:#362b2f73;flex:none}.themes-search input{width:100%;color:inherit;font:inherit;background:0 0;border:0;outline:0}.themes-grid{grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:18px;display:grid}.theme-card{background:var(--surface);cursor:pointer;border:1px solid #943c5526;border-radius:20px;flex-direction:column;min-height:210px;padding:20px;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex;box-shadow:0 5px 16px #432e3509}.theme-card:hover{border-color:#943c554d;transform:translateY(-2px);box-shadow:0 10px 24px #432e3512}.theme-card-top{justify-content:space-between;align-items:center;display:flex}.theme-card-icon{color:#943c55;background:#f9edf1;border-radius:13px;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex}.theme-card-top button{color:#362b2f73;cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.theme-card-top button:hover{color:#943c55;background:#943c5512}.theme-card h3{margin:18px 0 8px;font-size:1.08rem}.theme-card p{color:#362b2f94;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0 0 16px;font-size:.88rem;line-height:1.5;display:-webkit-box;overflow:hidden}.theme-card-tags{flex-wrap:wrap;gap:6px;margin-top:auto;display:flex}.theme-card-tags span{color:#943c55;background:#f9edf1;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:700}.themes-loading,.themes-empty{text-align:center;background:#ffffff8c;border:1px dashed #943c5538;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:330px;padding:40px;display:flex}.themes-empty h2{margin:6px 0 0}.themes-empty p{color:#362b2f94;max-width:520px;margin:0;line-height:1.55}.themes-empty-icon{color:#943c55;background:#f9edf1;border-radius:18px;justify-content:center;align-items:center;width:58px;height:58px;display:inline-flex}.themes-back{color:#362b2f8c;font:inherit;cursor:pointer;background:0 0;border:0;justify-self:start;align-items:center;gap:8px;padding:0;display:inline-flex}.themes-detail-actions{gap:10px;display:flex}.themes-save-success{color:#39754f;background:#44875d14;border-radius:12px;justify-self:start;padding:8px 12px;font-size:.82rem;font-weight:700}.themes-editor-card{background:var(--surface);border:1px solid #943c5524;border-radius:22px;gap:22px;padding:26px;display:grid;box-shadow:0 5px 18px #432e3509}.themes-section-heading h2{margin:5px 0;font-size:1.45rem}.themes-section-heading p{color:#362b2f8c;margin:0;line-height:1.5}.themes-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.themes-full-field{grid-column:1/-1}.themes-long-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.themes-long-fields textarea,.themes-form-grid textarea{resize:vertical}.themes-link-form{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;align-items:end;gap:12px;display:grid}.themes-add-link{min-height:46px}.themes-links-list{gap:9px;display:grid}.themes-link-row{background:#943c5506;border:1px solid #943c551f;border-radius:14px;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;display:flex}.themes-link-row>div{gap:3px;display:grid}.themes-link-row span{color:#362b2f7a;font-size:.72rem}.themes-link-row small{color:#943c55}.themes-link-row button{color:#362b2f7a;cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.themes-link-row button:hover{color:#943c55;background:#943c5512}.themes-empty-links,.themes-inline-loading{color:#362b2f8f;background:#943c5509;border-radius:14px;align-items:center;gap:8px;padding:14px 16px;font-size:.84rem;display:flex}.themes-modal-backdrop{z-index:9000;-webkit-backdrop-filter:blur(7px);background:#30222747;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.themes-create-modal{background:var(--surface);border:1px solid #943c5524;border-radius:26px;gap:15px;width:min(560px,100%);padding:30px;display:grid;position:relative;box-shadow:0 28px 75px #301d2433}.themes-create-modal h2{margin:0;font-size:1.8rem}.themes-create-modal>p{color:#362b2f94;margin:-5px 0 5px;line-height:1.5}.themes-create-fields{gap:16px;display:grid}.themes-modal-close{color:#362b2f80;cursor:pointer;background:0 0;border:0;border-radius:11px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex;position:absolute;top:18px;right:18px}.themes-modal-close:hover{color:#943c55;background:#943c5512}.themes-modal-actions{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}@media (width<=800px){.themes-page-heading,.themes-detail-heading{flex-direction:column;align-items:stretch}.themes-detail-actions{justify-content:flex-start}.themes-form-grid,.themes-long-fields,.themes-link-form{grid-template-columns:1fr}}@media (width<=600px){.themes-toolbar{flex-direction:column;align-items:stretch}.themes-grid{grid-template-columns:1fr}.themes-editor-card{padding:20px}.themes-modal-backdrop{padding:16px}.themes-create-modal{border-radius:22px;padding:24px 20px}.themes-modal-actions{flex-direction:column-reverse}.themes-modal-actions button{width:100%}}.themes-long-fields{grid-template-columns:1fr}.themes-long-fields .field{width:100%}.themes-long-fields textarea{box-sizing:border-box;resize:vertical;border-radius:15px;width:100%;min-height:145px;padding:15px 16px;line-height:1.55}.themes-full-field{width:100%}.themes-full-field textarea{box-sizing:border-box;resize:vertical;border-radius:15px;width:100%;min-height:125px;padding:15px 16px;line-height:1.55}.themes-create-fields .field{width:100%}.themes-create-fields input,.themes-create-fields textarea{box-sizing:border-box;width:100%}.themes-create-fields textarea{resize:vertical;border-radius:15px;min-height:125px;padding:15px 16px;line-height:1.55}.themes-long-fields{gap:22px}@media (width<=800px){.themes-long-fields{grid-template-columns:1fr}}.themes-full-field textarea,.themes-long-fields textarea,.themes-create-fields textarea{background:var(--surface);color:inherit;border:1px solid #943c552e;outline:none}.themes-full-field textarea:hover,.themes-long-fields textarea:hover,.themes-create-fields textarea:hover{border-color:#943c5547}.themes-full-field textarea:focus,.themes-long-fields textarea:focus,.themes-create-fields textarea:focus{border-color:#943c556b;box-shadow:0 0 0 3px #943c550f}.notes-sources-page{gap:24px;display:grid}.notes-sources-heading h1{margin:6px 0 8px;font-size:clamp(2.2rem,5vw,3.6rem);line-height:1}.notes-sources-heading p{color:#362b2f94;max-width:650px;margin:0;line-height:1.55}.notes-sources-tabs{background:#faf6f7;border:1px solid #943c5521;border-radius:15px;justify-self:start;gap:5px;padding:5px;display:inline-flex}.notes-sources-tabs button{color:#362b2f9e;min-height:42px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:11px;align-items:center;gap:8px;padding:0 15px;font-weight:700;display:inline-flex}.notes-sources-tabs button.active{background:var(--surface);color:#943c55;box-shadow:0 3px 12px #3c282f12}.notes-sources-tabs button span{text-align:center;background:#943c5514;border-radius:999px;min-width:22px;padding:2px 6px;font-size:.71rem}.notes-sources-toolbar{align-items:center;gap:14px;display:flex}.notes-sources-search{background:var(--surface);border:1px solid #943c552b;border-radius:15px;flex:1;align-items:center;gap:10px;min-height:52px;padding:0 16px;display:flex}.notes-sources-search svg{color:#362b2f6b;flex:none}.notes-sources-search input{width:100%;color:inherit;font:inherit;background:0 0;border:0;outline:0}.notes-sources-grid{grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:18px;display:grid}.notes-source-card{background:var(--surface);cursor:pointer;border:1px solid #943c5526;border-radius:20px;flex-direction:column;min-height:220px;padding:20px;display:flex;box-shadow:0 5px 16px #432e3509}.notes-source-card:hover{border-color:#943c554d;box-shadow:0 10px 24px #432e3512}.notes-source-card.pinned{background:linear-gradient(#fff9fb,#fff);border-color:#943c554d}.notes-source-card-top{color:#943c55;justify-content:space-between;align-items:center;display:flex}.notes-source-card-actions{gap:4px;display:flex}.notes-source-card-top button{color:#362b2f73;cursor:pointer;background:0 0;border:0;border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.notes-source-card-top button:hover{color:#943c55;background:#943c5512}.notes-source-pill{color:#943c55;background:#f9edf1;border-radius:999px;align-self:flex-start;align-items:center;gap:5px;margin-top:13px;padding:5px 9px;font-size:.72rem;font-weight:700;display:inline-flex}.notes-source-card h3{margin:15px 0 8px;font-size:1.08rem}.notes-source-card p{color:#362b2f94;white-space:pre-line;-webkit-line-clamp:4;-webkit-box-orient:vertical;margin:0 0 14px;font-size:.88rem;line-height:1.52;display:-webkit-box;overflow:hidden}.notes-source-meta{color:#362b2f80;margin-bottom:12px;font-size:.78rem;display:block}.notes-source-link{color:#943c55;align-self:flex-start;align-items:center;gap:6px;margin-bottom:14px;font-size:.8rem;font-weight:700;text-decoration:none;display:inline-flex}.notes-source-tags{flex-wrap:wrap;gap:6px;margin-top:auto;display:flex}.notes-source-tags span{color:#943c55;background:#943c5512;border-radius:999px;padding:5px 8px;font-size:.7rem;font-weight:700}.notes-sources-empty{text-align:center;background:#ffffff8c;border:1px dashed #943c5538;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:330px;padding:40px;display:flex}.notes-sources-empty p{color:#362b2f94;max-width:540px;margin:0;line-height:1.55}.notes-sources-modal-backdrop{z-index:9000;-webkit-backdrop-filter:blur(7px);background:#30222747;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.notes-sources-modal{background:var(--surface);border:1px solid #943c5524;border-radius:26px;gap:15px;width:min(650px,100%);max-height:calc(100vh - 48px);padding:30px;display:grid;position:relative;overflow-y:auto;box-shadow:0 28px 75px #301d2433}.notes-sources-source-modal{width:min(720px,100%)}.notes-sources-modal h2{margin:0;font-size:1.8rem}.notes-sources-modal-close{color:#362b2f80;cursor:pointer;background:0 0;border:0;border-radius:11px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex;position:absolute;top:18px;right:18px}.notes-sources-form{gap:17px;display:grid}.notes-sources-source-form{grid-template-columns:repeat(2,minmax(0,1fr))}.notes-sources-source-form .full{grid-column:1/-1}.notes-sources-form input,.notes-sources-form select,.notes-sources-form textarea{box-sizing:border-box;background:var(--surface);border:1px solid #943c552e;outline:none;width:100%}.notes-sources-form input:focus,.notes-sources-form select:focus,.notes-sources-form textarea:focus{border-color:#943c556b;box-shadow:0 0 0 3px #943c550f}.notes-sources-form textarea{resize:vertical;border-radius:14px;min-height:120px;padding:14px 15px;line-height:1.55}.notes-sources-note-content{min-height:290px!important}.notes-sources-modal-actions{justify-content:flex-end;gap:10px;margin-top:4px;display:flex}@media (width<=700px){.notes-sources-toolbar{flex-direction:column;align-items:stretch}.notes-sources-grid,.notes-sources-source-form{grid-template-columns:1fr}.notes-sources-source-form .full{grid-column:auto}.notes-sources-modal-backdrop{padding:16px}.notes-sources-modal{border-radius:22px;padding:24px 20px}}:is(html:has(.notes-sources-modal-backdrop),body:has(.notes-sources-modal-backdrop)),:is(.workspace-main:has(.notes-sources-modal-backdrop),.workspace-content:has(.notes-sources-modal-backdrop)){overscroll-behavior:none;overflow:hidden!important}.notes-sources-modal-backdrop{overscroll-behavior:none}.notes-sources-modal{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;overflow-y:auto}.writing-hidden-file-input{display:none}.writing-editor-more{position:relative}.writing-editor-more-button{width:35px;height:35px;color:var(--text-soft);background:var(--surface);border:1px solid var(--border);border-radius:10px;place-items:center;display:grid}.writing-editor-more-button:hover,.writing-editor-more-button.active{color:var(--wine);background:var(--wine-soft)}.writing-editor-more-menu{z-index:1750;background:var(--surface);border:1px solid var(--border);width:285px;box-shadow:var(--shadow-md);border-radius:14px;gap:3px;padding:7px;display:grid;position:absolute;top:calc(100% + 8px);right:0}.writing-editor-more-menu>button{width:100%;color:var(--text-soft);text-align:left;background:0 0;border:0;border-radius:10px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:11px 10px;display:grid}.writing-editor-more-menu>button:hover{color:var(--wine);background:var(--wine-soft)}.writing-editor-more-menu>button>div{gap:3px;display:grid}.writing-editor-more-menu strong{color:var(--text);font-size:10px}.writing-editor-more-menu small{color:var(--text-muted);font-size:8px;line-height:1.45}.writing-editor-menu-error{color:#8b283d;background:#fff3f5;border-radius:8px;margin:4px;padding:8px 9px;font-size:8px}.writing-search-panel{z-index:1700;border:1px solid var(--border);-webkit-backdrop-filter:blur(12px);background:#f8f6f7fa;border-radius:14px;gap:7px;width:calc(100vw - 20px);padding:7px 10px 9px;transition:bottom .12s;display:grid;position:fixed;left:10px;box-shadow:0 10px 36px #2d1f2429}.writing-search-top{justify-content:space-between;align-items:center;gap:12px;min-height:31px;display:flex}.writing-search-tabs{align-items:center;gap:4px;display:flex}.writing-search-tabs button{min-height:30px;color:var(--text-muted);background:0 0;border:0;border-radius:8px;padding:0 11px;font-size:9px;font-weight:650}.writing-search-tabs button.active{color:var(--wine);background:var(--wine-soft)}.writing-search-close{width:30px;height:30px;color:var(--text-soft);background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.writing-search-close:hover{color:var(--wine);background:var(--wine-soft)}.writing-search-row,.writing-replace-row{grid-template-columns:minmax(0,1fr) auto;gap:7px;display:grid}.writing-replace-row{grid-template-columns:minmax(0,1fr) auto auto}.writing-search-row>input,.writing-replace-row>input{width:100%;min-height:40px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:9px;outline:none;padding:0 11px}.writing-search-row>input:focus,.writing-replace-row>input:focus{border-color:#943c5566;box-shadow:0 0 0 3px #943c550f}.writing-find-navigation{background:var(--surface);border:1px solid var(--border);border-radius:9px;align-items:center;min-height:40px;display:flex;overflow:hidden}.writing-find-navigation>span{min-width:72px;color:var(--text-muted);text-align:center;padding:0 9px;font-size:9px}.writing-find-navigation button{width:38px;height:38px;color:var(--text-soft);background:0 0;border:0;place-items:center;display:grid}.writing-find-navigation button:hover:not(:disabled){color:var(--wine);background:var(--wine-soft)}.writing-find-navigation button:disabled{opacity:.3}.writing-search-match{background:#deaebc61;border-radius:2px}.writing-search-match-active{background:#c468839e;box-shadow:0 0 0 2px #943c5524}.writing-tool-backdrop{z-index:1700;-webkit-backdrop-filter:blur(7px);background:#2d1f244d;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.writing-small-tool-modal,.writing-correction-modal{background:var(--surface);border:1px solid var(--border);width:min(620px,100%);max-height:calc(100dvh - 40px);box-shadow:var(--shadow-lg);border-radius:18px;grid-template-rows:auto minmax(0,1fr) auto;display:grid;overflow:hidden}.writing-small-tool-modal{width:min(460px,100%)}.writing-small-tool-modal header,.writing-correction-modal header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 22px;display:flex}.writing-small-tool-modal header h2,.writing-correction-modal header h2{color:var(--text);margin:5px 0 0;font-family:Georgia,Times New Roman,serif;font-size:22px;font-weight:500}.writing-small-tool-modal header>button,.writing-correction-modal header>button{width:34px;height:34px;color:var(--text-muted);background:0 0;border:0;border-radius:9px;place-items:center;display:grid}.writing-small-tool-modal footer,.writing-correction-modal footer{border-top:1px solid var(--border);justify-content:flex-end;align-items:center;gap:9px;padding:14px 22px;display:flex}.writing-zoom-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:22px;display:grid}.writing-zoom-options button{min-height:48px;color:var(--text-soft);background:var(--surface-soft);border:1px solid var(--border);border-radius:11px;justify-content:space-between;align-items:center;padding:0 12px;font-size:11px;font-weight:650;display:flex}.writing-zoom-options button.active{color:var(--wine);background:var(--wine-soft);border-color:var(--wine-soft-strong)}.writing-correction-list{padding:10px 22px;overflow-y:auto}.writing-correction-option{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;min-height:86px;padding:15px 0;display:grid;position:relative}.writing-correction-option:last-child{border-bottom:0}.writing-correction-option>div{gap:4px;display:grid}.writing-correction-option strong{color:var(--text);font-size:11px}.writing-correction-option p{color:var(--text-soft);margin:0;font-size:9px;line-height:1.45}.writing-correction-option small{color:var(--wine);font-size:8px}.writing-correction-option input{opacity:0;width:1px;height:1px;position:absolute}.writing-toggle-visual{background:#ded6d8;border-radius:999px;width:42px;height:24px;padding:3px;display:block}.writing-toggle-visual>span{background:var(--surface);width:18px;height:18px;transition:transform var(--transition);border-radius:50%;display:block;box-shadow:0 1px 4px #00000026}.writing-correction-option input:checked+.writing-toggle-visual{background:var(--wine)}.writing-correction-option input:checked+.writing-toggle-visual>span{transform:translate(18px)}@media (width<=680px){.writing-search-panel{width:calc(100vw - 12px);padding:6px;left:6px}.writing-search-row,.writing-replace-row{grid-template-columns:minmax(0,1fr) auto}.writing-replace-row .secondary-button{display:none}.writing-find-navigation>span{min-width:62px}.writing-tool-backdrop{padding:8px}.writing-zoom-options{grid-template-columns:repeat(2,minmax(0,1fr))}}.writing-reference-trigger{width:35px;height:35px;color:var(--text-soft);background:var(--surface);border:1px solid var(--border);border-radius:10px;place-items:center;display:grid;position:relative}.writing-reference-trigger:hover{color:var(--wine);background:var(--wine-soft)}.writing-reference-trigger>span{color:#fff;background:var(--wine);border:2px solid #fcfafb;border-radius:999px;place-items:center;min-width:16px;height:16px;padding:0 4px;font-size:7px;font-weight:700;display:grid;position:absolute;top:-6px;right:-6px}.writing-reference-backdrop{z-index:1800;background:#281e2238;justify-content:flex-end;display:flex;position:fixed;inset:0}.writing-reference-panel{border-left:1px solid var(--border);background:#fcfafb;grid-template-rows:auto minmax(0,1fr);width:min(440px,88vw);height:100dvh;display:grid;box-shadow:-12px 0 40px #281e2224}.writing-reference-header{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:74px;padding:14px 15px;display:flex}.writing-reference-header>div{align-items:center;gap:8px;min-width:0;display:flex}.writing-reference-header h2{color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-family:Georgia,Times New Roman,serif;font-size:19px;font-weight:500;overflow:hidden}.writing-reference-header button{width:34px;height:34px;color:var(--text-soft);background:0 0;border:0;border-radius:9px;flex:none;place-items:center;display:grid}.writing-reference-header button:hover{color:var(--wine);background:var(--wine-soft)}.writing-reference-body{-webkit-overflow-scrolling:touch;min-height:0;padding:14px;overflow-y:auto}.writing-reference-group{margin-bottom:18px}.writing-reference-group h3{color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;margin:0 0 7px;font-size:9px;font-weight:750}.writing-reference-group>div{gap:7px;display:grid}.writing-reference-group button{min-height:54px;color:var(--text);background:var(--surface);border:1px solid var(--border);text-align:left;border-radius:11px;gap:3px;padding:10px 12px;display:grid}.writing-reference-group button:hover{background:var(--wine-soft);border-color:#943c5540}.writing-reference-group strong{font-size:10px}.writing-reference-group small{color:var(--text-muted);font-size:8px}.writing-reference-empty,.writing-reference-loading{min-height:280px;color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex}.writing-reference-empty strong{color:var(--text);font-size:12px}.writing-reference-empty p{max-width:260px;margin:0;font-size:9px;line-height:1.5}.writing-reference-loading{font-size:10px}.writing-reference-detail{gap:12px;display:grid}.writing-reference-image{object-fit:cover;border:1px solid var(--border);border-radius:13px;width:150px;max-height:190px}.writing-reference-meta{width:fit-content;color:var(--wine);background:var(--wine-soft);border-radius:999px;padding:6px 9px;font-size:8px;font-weight:650}.writing-reference-field{background:var(--surface);border:1px solid var(--border);border-radius:11px;padding:11px 12px}.writing-reference-field strong{color:var(--text);margin-bottom:5px;font-size:10px;display:block}.writing-reference-field p{color:var(--text-soft);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:9px;line-height:1.55}.writing-status-picker{width:fit-content;position:relative}.writing-status-current{min-height:38px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:10px;align-items:center;gap:8px;padding:0 11px;display:inline-flex}.writing-status-picker.compact .writing-status-current{background:0 0;border:0;border-radius:999px;justify-content:center;width:34px;height:34px;min-height:34px;padding:0}.writing-status-picker.compact .writing-status-current:hover{background:var(--surface-soft)}.writing-status-label{font-size:10px;font-weight:650}.writing-status-chevron{color:var(--text-muted);transition:transform var(--transition)}.writing-status-chevron.open{transform:rotate(180deg)}.writing-status-dot{background:0 0;border:3px solid;border-radius:50%;flex:none;width:13px;height:13px;display:block}.writing-status-picker.compact .writing-status-dot{border-width:4px;width:18px;height:18px}.writing-status-dot.status-todo{color:#b8b3b5}.writing-status-dot.status-first_draft{color:#943c55}.writing-status-dot.status-revised_draft{color:#e3a51d}.writing-status-dot.status-final_draft{color:#4d9a63}.writing-status-dot.status-done{color:#6085bd}.writing-status-menu{z-index:3000;background:var(--surface);border:1px solid var(--border);width:205px;box-shadow:var(--shadow-md);border-radius:13px;gap:2px;padding:7px;display:grid;position:absolute;top:calc(100% + 7px);left:0}.writing-status-menu>button{min-height:39px;color:var(--text-soft);text-align:left;background:0 0;border:0;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 9px;font-size:9px;display:grid}.writing-status-menu>button:hover,.writing-status-menu>button.active{color:var(--text);background:var(--wine-soft)}.writing-status-error{color:#8b283d;background:#fff3f5;border-radius:8px;margin-top:4px;padding:7px 8px;font-size:8px}.writing-section{gap:24px;display:grid}.writing-heading{justify-content:space-between;align-items:flex-end;gap:28px;display:flex}.writing-heading>div:first-child{max-width:620px}.writing-heading h1,.writing-mode-heading h1{color:var(--text);letter-spacing:-.04em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(31px,4vw,44px);font-weight:500;line-height:1.06}.writing-heading p,.writing-mode-heading p{color:var(--text-soft);margin:13px 0 0;font-size:13px;line-height:1.65}.writing-heading-actions{align-items:flex-end;gap:10px;display:flex}.writing-mode-select{gap:5px;display:grid}.writing-mode-select>span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;font-size:9px;font-weight:700}.writing-mode-select select{min-height:44px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:0 34px 0 13px}.writing-create-split{display:flex;position:relative}.writing-create-main{border-radius:12px 0 0 12px!important}.writing-create-more{width:42px;border-left:1px solid #ffffff40!important;border-radius:0 12px 12px 0!important;justify-content:center!important;padding:0!important}.writing-create-more.is-open{background:var(--wine-dark);border-color:var(--wine-dark);transform:translateY(0)}@media (hover:none){.writing-create-more:not(.is-open):hover{background:var(--wine);border-color:var(--wine);transform:none;box-shadow:0 6px 16px #943c552b}}.writing-create-menu{z-index:50;background:var(--surface);border:1px solid var(--border);width:220px;box-shadow:var(--shadow-md);border-radius:14px;gap:2px;padding:7px;display:grid;position:absolute;top:calc(100% + 8px);right:0}.writing-create-menu>span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;padding:8px 9px 5px;font-size:9px;font-weight:750}.writing-create-menu button{color:var(--text);text-align:left;background:0 0;border:0;border-radius:9px;padding:10px 11px;font-size:11px}.writing-create-menu button:hover{color:var(--wine);background:var(--wine-soft)}.writing-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;padding-bottom:17px;display:flex}.writing-search{width:min(420px,100%);min-height:44px;color:var(--text-muted);background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;align-items:center;gap:10px;padding:0 14px;display:flex}.writing-search input{width:100%;min-width:0;color:var(--text);background:0 0;border:0}.writing-count{color:var(--text-muted);font-size:10px}.writing-unit-list{gap:11px;display:grid}.writing-unit-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);transition:border-color var(--transition), box-shadow var(--transition), transform var(--transition);border-radius:16px;grid-template-columns:minmax(0,1fr) auto;display:grid;overflow:hidden}.writing-unit-card:hover{box-shadow:var(--shadow-md);border-color:#943c553d;transform:translateY(-1px)}.writing-unit-open{min-width:0;color:var(--text);text-align:left;background:0 0;border:0;padding:18px 20px;display:block}.writing-unit-card-top{justify-content:space-between;align-items:center;gap:14px;margin-bottom:9px;display:flex}.writing-unit-kind,.writing-editor-kind{width:fit-content;color:var(--wine);background:var(--wine-soft);border-radius:999px;padding:5px 8px;font-size:9px;font-weight:750}.writing-unit-date{color:var(--text-muted);font-size:9px}.writing-unit-open h3{color:var(--text);margin:0;font-family:Georgia,Times New Roman,serif;font-size:18px;font-weight:600;line-height:1.25}.writing-unit-open p{color:var(--text-soft);margin:8px 0 0;font-size:11px;line-height:1.55}.writing-unit-badges{flex-wrap:wrap;gap:7px;margin-top:12px;display:flex}.writing-unit-badges span{max-width:220px;color:var(--wine);background:var(--wine-soft);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-size:9px;display:inline-flex;overflow:hidden}.writing-unit-badges .connection{color:var(--text-soft);background:var(--surface-muted)}.writing-unit-meta{color:var(--text-muted);gap:14px;margin-top:13px;font-size:9px;display:flex}.writing-unit-delete{width:48px;color:var(--text-muted);border:0;border-left:1px solid var(--border);background:0 0;place-items:center;display:grid}.writing-unit-delete:hover,.writing-editor-delete:hover{color:#a83448;background:#fff5f6}.writing-empty,.writing-loading,.writing-load-error{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:410px;padding:40px;display:flex}.writing-empty-small{min-height:260px}.writing-empty-icon{width:58px;height:58px;color:var(--wine);background:var(--wine-soft);border-radius:18px;place-items:center;margin-bottom:18px;display:grid}.writing-empty h2,.writing-load-error strong{color:var(--text);margin:0;font-family:Georgia,Times New Roman,serif;font-size:22px}.writing-empty p,.writing-load-error p{max-width:470px;color:var(--text-soft);margin:9px 0 20px;font-size:11px;line-height:1.6}.writing-loading{color:var(--text-muted);gap:10px;font-size:11px}.writing-inline-error{color:#8b283d;background:#fff3f5;border:1px solid #f1cfd6;border-radius:11px;padding:11px 13px;font-size:10px;line-height:1.5}.writing-mode-chooser{flex-direction:column;justify-content:center;min-height:560px;display:flex}.writing-mode-heading{text-align:center;max-width:620px;margin:0 auto}.writing-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:min(740px,100%);margin:34px auto 0;display:grid}.writing-mode-card{min-height:190px;color:var(--text);background:var(--surface);border:1px solid var(--border);text-align:left;box-shadow:var(--shadow-sm);border-radius:20px;flex-direction:column;align-items:flex-start;padding:24px;display:flex}.writing-mode-card:hover{box-shadow:var(--shadow-md);border-color:#943c554d}.writing-mode-icon{width:45px;height:45px;color:var(--wine);background:var(--wine-soft);border-radius:14px;place-items:center;margin-bottom:25px;display:grid}.writing-mode-card strong{font-size:15px}.writing-mode-card span{color:var(--text-soft);margin-top:7px;font-size:11px;line-height:1.6}:is(html:has(.writing-editor-overlay),body:has(.writing-editor-overlay)){overflow:hidden}.writing-editor-overlay{z-index:1200;background:#fcfafb;position:fixed;inset:0;overflow:hidden}.writing-editor-shell{grid-template-rows:auto auto auto auto minmax(0,1fr);gap:10px;width:100%;height:100dvh;padding:14px 20px 18px;display:grid}.writing-editor-topbar{justify-content:space-between;align-items:center;gap:16px;min-height:38px;display:flex}.writing-editor-left,.writing-editor-actions{align-items:center;gap:9px;min-width:0;display:flex}.writing-editor-back{min-height:34px;color:var(--text-soft);background:0 0;border:0;border-radius:9px;align-items:center;gap:7px;padding:0 9px;font-size:10px;display:inline-flex}.writing-editor-back:hover,.writing-editor-secondary:hover{color:var(--wine);background:var(--wine-soft)}.writing-editor-secondary,.writing-editor-delete{min-height:35px;color:var(--text-soft);background:var(--surface);border:1px solid var(--border);border-radius:10px;justify-content:center;align-items:center;gap:7px;display:inline-flex}.writing-editor-secondary{padding:0 11px;font-size:10px}.writing-editor-delete{width:35px;padding:0}.writing-save-state{color:var(--text-muted);align-items:center;gap:6px;font-size:9px;display:inline-flex}.writing-save-state.saved{color:#54705d}.writing-save-state.error{color:#a83448}.writing-editor-title-row{padding:0 2px}.writing-editor-title-row h1{color:var(--text);letter-spacing:-.035em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(25px,3vw,34px);font-weight:500;line-height:1.08;overflow:hidden}.writing-stats{min-height:36px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;align-items:center;gap:14px;padding:0 12px;font-size:9px;display:flex}.writing-format-toolbar{background:var(--surface);border:1px solid var(--border);min-height:45px;box-shadow:var(--shadow-sm);scrollbar-width:none;border-radius:11px;align-items:center;gap:2px;padding:4px 6px;display:flex;overflow-x:auto}.writing-format-toolbar::-webkit-scrollbar{display:none}.writing-toolbar-button{width:34px;height:34px;color:var(--text-soft);background:0 0;border:0;border-radius:8px;flex:none;place-items:center;display:grid}.writing-toolbar-button:hover,.writing-toolbar-button.active{color:var(--wine);background:var(--wine-soft)}.writing-toolbar-divider{background:var(--border);flex:none;width:1px;height:19px;margin:0 4px}.writing-editor-paper{background:var(--surface);border:1px solid var(--border);min-height:0;box-shadow:var(--shadow-sm);-webkit-overflow-scrolling:touch;border-radius:15px;padding:24px clamp(24px,7vw,90px) 80px;overflow-y:auto}.writing-editor-surface{color:#352d30;outline:none;min-height:calc(100dvh - 250px);font-family:Georgia,Times New Roman,serif;font-size:17px;line-height:1.78}.writing-editor-surface p{margin:0 0 1em}.writing-editor-surface h2{margin:1.5em 0 .6em;font-size:1.55em}.writing-editor-surface h3{margin:1.35em 0 .55em;font-size:1.25em}.writing-editor-surface ul,.writing-editor-surface ol{padding-left:1.6em}.writing-editor-surface blockquote{color:var(--text-soft);border-left:3px solid var(--wine-soft-strong);margin:1.1em 0;padding-left:16px}.writing-editor-surface p.is-editor-empty:first-child:before{float:left;color:#b9adb1;pointer-events:none;content:attr(data-placeholder);height:0}body:has(.writing-editor-overlay) .modal-backdrop{z-index:1400}.writing-metadata-backdrop{z-index:1400}.writing-metadata-modal{background:var(--surface);border:1px solid var(--border);width:min(900px,100vw - 32px);max-height:calc(100dvh - 32px);box-shadow:var(--shadow-lg);border-radius:20px;grid-template-rows:auto minmax(0,1fr) auto;display:grid;overflow:hidden}.writing-metadata-body{-webkit-overflow-scrolling:touch;gap:18px;padding:0 24px 24px;display:grid;overflow-y:auto}.writing-metadata-block{gap:7px;display:grid}.writing-metadata-block label{color:var(--text);font-size:11px;font-weight:650}.writing-metadata-block input,.writing-metadata-block textarea{width:100%;color:var(--text);background:var(--surface-soft);border:1px solid var(--border);resize:vertical;border-radius:12px;outline:none;padding:12px 13px}.writing-metadata-block input:focus,.writing-metadata-block textarea:focus{border-color:#943c556b;box-shadow:0 0 0 3px #943c5512}.writing-metadata-block small{color:var(--text-muted);font-size:9px}.writing-connections-heading{gap:5px;padding-top:4px;display:grid}.writing-connections-heading>div{color:var(--wine);align-items:center;gap:7px;display:flex}.writing-connections-heading strong{color:var(--text);font-size:12px}.writing-connections-heading>span{color:var(--text-muted);font-size:9px}.writing-link-group{background:var(--surface-soft);border:1px solid var(--border);border-radius:14px;min-width:0;padding:14px}.writing-link-group-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.writing-link-group-heading strong{font-size:11px}.writing-link-group-heading span{min-width:20px;height:20px;color:var(--wine);background:var(--wine-soft);border-radius:999px;place-items:center;font-size:8px;font-weight:700;display:grid}.writing-link-chip-list{flex-wrap:wrap;gap:7px;display:flex}.writing-link-chip{max-width:100%;color:var(--text-soft);background:var(--surface);border:1px solid var(--border);text-align:left;border-radius:10px;flex-direction:column;align-items:flex-start;gap:2px;padding:7px 9px;display:inline-flex}@media (width<=900px){.writing-heading{flex-direction:column;align-items:flex-start}.writing-heading-actions{justify-content:space-between;width:100%}.writing-editor-shell{padding:12px 14px 14px}.writing-editor-paper{padding:20px 28px 70px}}@media (width<=680px){.writing-mode-grid{grid-template-columns:1fr}.writing-heading-actions{flex-direction:column;align-items:stretch}.writing-mode-select,.writing-mode-select select,.writing-create-split{width:100%}.writing-create-main{flex:1}.writing-toolbar{flex-direction:column;align-items:stretch}.writing-search{width:100%}.writing-links-grid{grid-template-columns:1fr}.writing-editor-actions{gap:5px}.writing-editor-secondary{padding:0 8px}.writing-editor-paper{padding:18px 18px 60px}.writing-editor-surface{font-size:16px}.writing-metadata-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.writing-metadata-body{padding:0 16px 18px}}.writing-connections-panel{background:var(--surface);border:1px solid var(--border);transition:border-color var(--transition), box-shadow var(--transition);border-radius:16px;overflow:hidden}.writing-connections-panel.open{box-shadow:var(--shadow-sm);border-color:#943c5533}.writing-connections-toggle{width:100%;min-height:72px;color:var(--text);background:var(--surface);text-align:left;border:0;justify-content:space-between;align-items:center;gap:18px;padding:14px 16px;display:flex}.writing-connections-toggle:hover{background:var(--surface-soft)}.writing-connections-toggle-main{align-items:center;gap:11px;min-width:0;display:flex}.writing-connections-icon{width:38px;height:38px;color:var(--wine);background:var(--wine-soft);border-radius:12px;flex:none;place-items:center;display:grid}.writing-connections-toggle-main>div{gap:4px;min-width:0;display:grid}.writing-connections-toggle-main strong{font-size:12px}.writing-connections-toggle-main small{color:var(--text-muted);font-size:9px;line-height:1.45}.writing-connections-toggle-side{flex:none;align-items:center;gap:10px;display:flex}.writing-connections-count{color:var(--wine);background:var(--wine-soft);border-radius:999px;padding:5px 8px;font-size:8px;font-weight:700}.writing-connections-chevron,.writing-link-group-chevron{color:var(--text-muted);transition:transform var(--transition), color var(--transition)}.writing-connections-chevron.open,.writing-link-group-chevron.open{color:var(--wine);transform:rotate(180deg)}.writing-connections-content{border-top:1px solid var(--border);padding:0 16px 16px}.writing-connections-help{color:var(--text-muted);margin:13px 0 12px;font-size:9px;line-height:1.55}.writing-links-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.writing-link-group{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;min-width:0;padding:0;overflow:hidden}.writing-link-group.open{background:var(--surface);border-color:#943c5538;grid-column:1/-1}.writing-link-group-toggle{width:100%;min-height:56px;color:var(--text);text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.writing-link-group-toggle:hover{background:#943c5509}.writing-link-group-toggle>div:first-child{gap:3px;min-width:0;display:grid}.writing-link-group-toggle strong{font-size:10px}.writing-link-group-toggle small{color:var(--text-muted);font-size:8px}.writing-link-group-toggle-side{flex:none;align-items:center;gap:8px;display:flex}.writing-link-group-toggle-side>span{min-width:21px;height:21px;color:var(--wine);background:var(--wine-soft);border-radius:999px;place-items:center;padding:0 6px;font-size:8px;font-weight:750;display:grid}.writing-link-group-content{border-top:1px solid var(--border);padding:0 12px 12px}.writing-link-chip-list{-webkit-overflow-scrolling:touch;flex-wrap:wrap;gap:7px;max-height:190px;padding-top:11px;display:flex;overflow-y:auto}.writing-link-chip{max-width:min(220px,100%);color:var(--text-soft);background:var(--surface);border:1px solid var(--border);text-align:left;transition:background var(--transition), border-color var(--transition), color var(--transition);border-radius:10px;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 10px;display:inline-flex}.writing-link-chip:hover{border-color:#943c5540}.writing-link-chip.active{color:var(--wine);background:var(--wine-soft);border-color:var(--wine-soft-strong)}.writing-link-chip span{text-overflow:ellipsis;white-space:nowrap;max-width:195px;font-size:9px;font-weight:650;overflow:hidden}.writing-link-chip small{max-width:195px;color:inherit;opacity:.7;text-overflow:ellipsis;white-space:nowrap;font-size:7px;overflow:hidden}.writing-link-empty{min-height:48px;color:var(--text-muted);align-items:center;gap:7px;font-size:9px;display:flex}@media (width<=680px){.writing-links-grid{grid-template-columns:1fr}.writing-link-group.open{grid-column:auto}.writing-connections-toggle{align-items:flex-start}.writing-connections-toggle-side{padding-top:3px}.writing-connections-count{display:none}}.writing-editor-surface{font-size:max(16px, calc(17px * var(--writing-editor-zoom,1)))}.writing-unit-card{display:block}.writing-detail-page{gap:18px;display:grid}.writing-detail-topbar{justify-content:space-between;align-items:center;gap:18px;display:flex}.writing-detail-back{min-height:38px;color:var(--text-soft);background:0 0;border:0;border-radius:9px;align-items:center;gap:7px;padding:0 8px;font-size:10px;display:inline-flex}.writing-detail-back:hover{color:var(--wine);background:var(--wine-soft)}.writing-detail-actions{align-items:center;gap:8px;display:flex}.writing-detail-delete{width:38px;height:38px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);border-radius:10px;place-items:center;display:grid}.writing-detail-delete:hover{color:#a83448;background:#fff5f6}.writing-detail-heading{gap:9px;display:grid}.writing-detail-heading h1{color:var(--text);letter-spacing:-.035em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(30px,4vw,42px);font-weight:500;line-height:1.08}.writing-detail-heading p{max-width:720px;color:var(--text-soft);margin:0;font-size:11px;line-height:1.6}.writing-detail-info{background:var(--surface-soft);border:1px solid var(--border);border-radius:14px;gap:14px;padding:15px;display:grid}.writing-detail-info>div{gap:7px;display:grid}.writing-detail-info strong{color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;font-size:9px}.writing-detail-chips{flex-wrap:wrap;gap:7px;display:flex}.writing-detail-chips span{color:var(--wine);background:var(--wine-soft);border-radius:999px;align-items:center;gap:5px;padding:6px 9px;font-size:9px;display:inline-flex}.writing-detail-chips.connections span{color:var(--text-soft);background:var(--surface);border:1px solid var(--border)}.writing-detail-stats{min-height:38px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);border-radius:10px;flex-wrap:wrap;align-items:center;gap:14px;padding:0 12px;font-size:9px;display:flex}.writing-detail-text-card{cursor:text;background:var(--surface);border:1px solid var(--border);min-height:380px;box-shadow:var(--shadow-sm);border-radius:16px;outline:none;padding:16px clamp(20px,5vw,62px) 42px;overflow:hidden}.writing-detail-text-card:hover{box-shadow:var(--shadow-md);border-color:#943c5540}.writing-detail-text-heading{color:var(--wine);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;padding-bottom:12px;display:flex}.writing-detail-text-heading>div{gap:2px;display:grid}.writing-detail-text-heading strong{color:var(--text);font-size:11px}.writing-detail-text-heading span{color:var(--text-muted);font-size:8px}.writing-detail-reader{color:#352d30;pointer-events:none;max-height:650px;font-family:Georgia,Times New Roman,serif;font-size:16px;line-height:1.75;overflow:hidden}.writing-detail-reader img,.writing-editor-surface img{object-fit:contain;border-radius:10px;width:auto;max-width:100%;max-height:70vh;margin:18px auto;display:block}.writing-editor-left{flex:1;overflow:hidden}.writing-editor-back-icon{width:36px;height:36px;color:var(--text-soft);background:0 0;border:0;border-radius:9px;flex:none;place-items:center;display:grid}.writing-editor-back-icon:hover{color:var(--wine);background:var(--wine-soft)}.writing-editor-document-title{color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(18px,2.2vw,25px);font-weight:500;line-height:1.1;overflow:hidden}.writing-editor-message-slot:empty{display:none}@media (width<=680px){.writing-detail-topbar{align-items:flex-start}.writing-detail-actions .secondary-button{padding:0 10px}.writing-detail-text-card{padding:14px 18px 34px}.writing-editor-document-title{font-size:17px}.writing-save-state{font-size:8px}}.writing-unit-card{cursor:pointer}.writing-unit-card:active{transform:translateY(0)}@media (hover:none){.writing-unit-card:hover{transform:none}}.writing-unit-card{cursor:pointer;position:relative;overflow:visible}.writing-unit-open{cursor:pointer;width:100%}.writing-unit-card-footer{justify-content:flex-start;align-items:center;min-height:42px;padding:0 14px 10px;display:flex}.writing-detail-overlay{z-index:1150;background:#fcfafb;position:fixed;inset:0;overflow:hidden}.writing-detail-shell{grid-template-rows:auto minmax(0,1fr);width:100%;height:100dvh;display:grid}.writing-detail-full-header{border-bottom:1px solid var(--border);background:#fffffff5;grid-template-columns:minmax(40px,1fr) minmax(0,2fr) minmax(40px,1fr);align-items:center;gap:12px;min-height:70px;padding:11px 20px;display:grid}.writing-detail-full-back,.writing-detail-more{width:38px;height:38px;color:var(--text-soft);background:0 0;border:0;border-radius:10px;place-items:center;display:grid}.writing-detail-full-back:hover,.writing-detail-more:hover,.writing-detail-more.active{color:var(--wine);background:var(--wine-soft)}.writing-detail-header-title{text-align:center;justify-items:center;gap:2px;min-width:0;display:grid}.writing-detail-header-title h1{max-width:100%;color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(18px,2.4vw,26px);font-weight:500;line-height:1.1;overflow:hidden}.writing-detail-header-title span{color:var(--text-muted);font-size:8px}.writing-detail-menu-wrap{justify-self:end;width:fit-content;position:relative}.writing-detail-menu{z-index:3000;background:var(--surface);border:1px solid var(--border);width:170px;box-shadow:var(--shadow-md);border-radius:12px;padding:6px;position:absolute;top:calc(100% + 6px);right:0}.writing-detail-menu button{color:#9d3347;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;width:100%;min-height:39px;padding:0 10px;font-size:9px;display:flex}.writing-detail-menu button:hover{background:#fff3f5}.writing-detail-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;align-content:start;gap:14px;min-height:0;padding:18px clamp(16px,4vw,44px) 40px;display:grid;overflow-y:auto}.writing-detail-panel{background:var(--surface);border:1px solid var(--border);width:min(920px,100%);box-shadow:var(--shadow-sm);border-radius:16px;margin:0 auto;padding:18px}.writing-detail-panel-heading{justify-content:space-between;align-items:center;gap:16px;min-height:38px;margin-bottom:15px;display:flex}.writing-detail-panel-heading>div{gap:2px;display:grid}.writing-detail-panel-heading strong{color:var(--text);font-size:11px}.writing-detail-panel-heading span{color:var(--text-muted);font-size:8px}.writing-detail-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.writing-detail-field{align-content:start;gap:7px;min-width:0;display:grid}.writing-detail-field-wide{grid-column:1/-1}.writing-detail-field>span{color:var(--text-soft);font-size:9px;font-weight:650}.writing-detail-field input,.writing-detail-field textarea{width:100%;color:var(--text);background:var(--surface-soft);border:1px solid var(--border);resize:vertical;border-radius:11px;outline:none;padding:11px 12px}.writing-detail-field input{min-height:43px}.writing-detail-field input:focus,.writing-detail-field textarea:focus{border-color:#943c5566;box-shadow:0 0 0 3px #943c550f}.writing-detail-linked-chips{flex-wrap:wrap;gap:7px;display:flex}.writing-detail-linked-chips span{max-width:240px;color:var(--wine);background:var(--wine-soft);text-overflow:ellipsis;white-space:nowrap;border:1px solid #943c551a;border-radius:999px;align-items:center;gap:5px;padding:7px 10px;font-size:9px;display:inline-flex;overflow:hidden}.writing-detail-empty-links{color:var(--text-muted);margin:0;font-size:9px}.writing-detail-connections-editor{border-top:1px solid var(--border);margin-top:14px;padding-top:14px}.writing-detail-text-panel{padding-bottom:18px}.writing-detail-stat-line{color:var(--text-muted);background:var(--surface-soft);border-radius:9px;flex-wrap:wrap;gap:13px;margin-bottom:12px;padding:9px 11px;font-size:8px;display:flex}.writing-detail-reader-shell{cursor:text;border:1px solid var(--border);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fdfcfc;border-radius:13px;height:min(56vh,680px);min-height:300px;padding:22px clamp(18px,5vw,56px) 50px;overflow-y:auto}.writing-detail-reader{color:#352d30;pointer-events:none;min-height:100%;font-family:Georgia,Times New Roman,serif;font-size:16px;line-height:1.75}.writing-detail-reader p{margin:0 0 1em}.writing-detail-reader img{object-fit:contain;border-radius:10px;width:auto;max-width:100%;max-height:65vh;margin:18px auto;display:block}.writing-detail-no-text,.writing-detail-preview-loading{min-height:230px;color:var(--text-muted);text-align:center;place-items:center;font-size:10px;display:grid}.writing-metadata-body,.writing-detail-scroll,.writing-detail-reader-shell,.writing-editor-paper{overscroll-behavior:contain}@media (width<=680px){.writing-detail-full-header{min-height:62px;padding:8px 11px}.writing-detail-scroll{padding:10px 8px 24px}.writing-detail-panel{border-radius:14px;padding:14px}.writing-detail-form{grid-template-columns:1fr}.writing-detail-field-wide{grid-column:auto}.writing-detail-reader-shell{height:min(58vh,640px);padding:18px 16px 42px}}.writing-status-menu{z-index:5000}.writing-unit-card:has(.writing-status-menu){z-index:200}.writing-detail-reader,.writing-detail-reader .tiptap,.writing-detail-reader.ProseMirror{height:auto!important;max-height:none!important;overflow:visible!important}.writing-detail-reader-shell{touch-action:pan-y;cursor:pointer;position:relative;overflow-x:hidden;overflow-y:auto!important}.writing-detail-reader-shell:focus-visible{outline-offset:2px;outline:2px solid #943c5540}.writing-detail-open-editor{min-height:36px;color:var(--wine);background:var(--wine-soft);border:0;border-radius:9px;align-items:center;gap:7px;padding:0 10px;font-size:9px;font-weight:650;display:inline-flex}.writing-detail-open-editor:hover{background:var(--wine-soft-strong)}.writing-detail-reader-shell .editor-content,.writing-detail-reader-shell .ProseMirror{min-height:min-content;overflow:visible!important}@media (width>=681px){.writing-detail-reader-shell{height:min(68vh,820px)}}@media (width<=680px){.writing-detail-open-editor span{display:none}.writing-detail-open-editor{justify-content:center;width:36px;height:36px;padding:0}.writing-detail-reader-shell{height:min(64vh,720px)}}.writing-unit-open{padding:13px 18px 7px}.writing-unit-card-top{margin-bottom:6px}.writing-unit-kind{padding:4px 7px}.writing-unit-open h3{font-size:17px;line-height:1.2}.writing-unit-open p{margin-top:5px;line-height:1.4}.writing-unit-badges{gap:6px;margin-top:8px}.writing-unit-badges span{padding:4px 7px}.writing-unit-meta{margin-top:8px}.writing-unit-card-footer{min-height:34px;padding:0 12px 6px}.organization-section{align-content:start;gap:20px;width:100%;display:grid}.organization-heading{justify-content:space-between;align-items:flex-end;gap:24px;width:100%;display:flex}.organization-heading>div:first-child{flex:auto;min-width:0;max-width:650px}.organization-heading h1{color:var(--text);font-family:Georgia,Times New Roman,serif;font-size:var(--workspace-page-title-size,36px);letter-spacing:-.035em;margin:0;font-weight:500;line-height:1.06}.organization-heading p{max-width:620px;color:var(--text-soft);font-size:var(--workspace-page-subtitle-size,12px);margin:10px 0 0;line-height:1.55}.organization-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.organization-tabs{background:var(--surface-soft);border:1px solid var(--border);border-radius:12px;align-items:center;gap:3px;width:fit-content;padding:4px;display:inline-flex}.organization-tabs button{min-height:38px;color:var(--text-soft);background:0 0;border:0;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:0 14px;font-size:11px;font-weight:650;display:inline-flex}.organization-tabs button.active{color:var(--wine);background:var(--surface);box-shadow:var(--shadow-sm)}.organization-summary{min-height:38px;color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:18px;padding:0 2px;font-size:10px;display:flex}.organization-summary strong{color:var(--text-soft);font-weight:700}.organization-structure-panel,.organization-preview{width:100%}.organization-tree{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);border-radius:16px;gap:7px;padding:10px;display:grid}.organization-tree-item{min-width:0;margin-left:calc(min(var(--organization-depth), 5) * 18px);position:relative}.organization-section-row,.organization-unit-row{border:1px solid var(--border);border-radius:12px;align-items:center;gap:10px;width:100%;min-height:58px;padding:9px 10px;display:flex;position:relative}.organization-section-row{background:var(--surface-soft)}.organization-unit-row{background:var(--surface)}.organization-section-row:hover,.organization-unit-row:hover{border-color:#943c5538}.organization-collapse-button,.organization-node-more,.organization-modal-close{width:36px;height:36px;color:var(--text-soft);background:0 0;border:0;border-radius:9px;flex:none;place-items:center;padding:0;display:grid}.organization-collapse-button:hover,.organization-node-more:hover,.organization-node-more.active,.organization-modal-close:hover{color:var(--wine);background:var(--wine-soft)}.organization-section-main,.organization-unit-main{flex:auto;gap:2px;min-width:0;display:grid}.organization-section-kind,.organization-unit-main>span{color:var(--wine);text-transform:uppercase;letter-spacing:.08em;font-size:8px;font-weight:720}.organization-section-main strong,.organization-unit-main strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:680;line-height:1.3;overflow:hidden}.organization-section-main small,.organization-unit-main small{color:var(--text-muted);font-size:9px}.organization-unit-icon{width:34px;height:34px;color:var(--wine);background:var(--wine-soft);border-radius:9px;flex:none;place-items:center;display:grid}.organization-children{gap:7px;margin-top:7px;display:grid}.organization-node-menu-wrap{flex:none;position:relative}.organization-node-menu{z-index:4000;background:var(--surface);border:1px solid var(--border);width:190px;box-shadow:var(--shadow-md);border-radius:12px;gap:2px;padding:6px;display:grid;position:absolute;top:calc(100% + 6px);right:0}.organization-node-menu button{width:100%;min-height:38px;color:var(--text-soft);text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;padding:0 10px;font-size:10px;display:flex}.organization-node-menu button:hover{color:var(--wine);background:var(--wine-soft)}.organization-node-menu button.danger{color:#9d3347}.organization-node-menu button:disabled{opacity:.38}.organization-menu-separator{background:var(--border);height:1px;margin:4px 2px}.organization-unorganized-strip{width:100%;min-height:58px;color:var(--text-soft);background:var(--surface);border:1px dashed #943c5542;border-radius:13px;justify-content:space-between;align-items:center;gap:14px;margin-top:12px;padding:10px 14px;display:flex}.organization-unorganized-strip>div{text-align:left;gap:2px;display:grid}.organization-unorganized-strip strong{font-size:11px}.organization-unorganized-strip span{color:var(--text-muted);font-size:9px}.organization-unorganized-strip svg{color:var(--wine)}.organization-empty{min-height:280px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:16px;align-content:center;place-items:center;gap:10px;padding:30px;display:grid}.organization-empty>div,.organization-empty>svg{color:var(--wine)}.organization-empty h2{color:var(--text);margin:2px 0 0;font-family:Georgia,Times New Roman,serif;font-size:22px;font-weight:500}.organization-empty p{max-width:430px;margin:0;font-size:10px;line-height:1.6}.organization-empty-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.organization-preview-paper{background:var(--surface);border:1px solid var(--border);width:min(860px,100%);box-shadow:var(--shadow-sm);border-radius:16px;margin:0 auto;padding:clamp(28px,6vw,64px)}.organization-preview-section{margin:0 0 28px}.organization-preview-heading{margin:0 0 20px}.organization-preview-heading span,.organization-preview-unit header span{color:var(--wine);letter-spacing:.12em;text-transform:uppercase;margin-bottom:5px;font-family:Inter,sans-serif;font-size:8px;font-weight:750;display:block}.organization-preview-heading h2{color:var(--text);margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(22px,3vw,31px);font-weight:500;line-height:1.15}.organization-preview-heading.depth-1 h2{font-size:clamp(20px,2.7vw,27px)}.organization-preview-heading.depth-2 h2,.organization-preview-heading.depth-3 h2{font-size:clamp(18px,2.4vw,23px)}.organization-preview-unit{margin:0 0 34px}.organization-preview-unit header{margin-bottom:16px}.organization-preview-unit h3{color:var(--text);margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(18px,2.3vw,24px);font-weight:500;line-height:1.2}.organization-preview-text{color:#352d30;white-space:pre-wrap;font-family:Georgia,Times New Roman,serif;font-size:15px;line-height:1.8}.organization-preview-empty-text{color:var(--text-muted);margin:0;font-size:10px;font-style:italic}.organization-modal-backdrop{z-index:5000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#20181b47;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.organization-modal{background:var(--surface);border:1px solid var(--border);width:min(520px,100%);max-height:min(760px,100dvh - 40px);box-shadow:var(--shadow-md);border-radius:18px;grid-template-rows:auto minmax(0,1fr) auto;display:grid;overflow:hidden}.organization-units-modal{width:min(620px,100%)}.organization-modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:16px;padding:18px 18px 14px;display:flex}.organization-modal-header>div{min-width:0}.organization-modal-header h2{color:var(--text);margin:0;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:500}.organization-modal-header p{max-width:440px;color:var(--text-muted);margin:7px 0 0;font-size:10px;line-height:1.5}.organization-modal-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;align-content:start;gap:14px;min-height:0;padding:18px;display:grid;overflow-y:auto}.organization-modal-body label{gap:7px;display:grid}.organization-modal-body label>span{color:var(--text-soft);font-size:10px;font-weight:650}.organization-modal-body input,.organization-modal-body select{width:100%;min-height:43px;color:var(--text);background:var(--surface-soft);border:1px solid var(--border);border-radius:11px;outline:none;padding:0 12px}.organization-modal-body input:focus,.organization-modal-body select:focus{border-color:#943c5561;box-shadow:0 0 0 3px #943c550f}.organization-modal-footer{border-top:1px solid var(--border);justify-content:flex-end;align-items:center;gap:8px;min-height:64px;padding:12px 18px;display:flex}.organization-modal-footer>div{align-items:center;gap:8px;display:flex}.organization-selection-count{color:var(--text-muted);margin-right:auto;font-size:9px}.organization-unit-search{min-height:42px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);border-radius:11px;align-items:center;gap:9px;padding:0 12px;display:flex}.organization-unit-search input{min-height:38px;box-shadow:none;background:0 0;border:0;padding:0}.organization-unit-picker{gap:7px;display:grid}.organization-unit-option{width:100%;min-height:60px;color:var(--text);background:var(--surface);border:1px solid var(--border);text-align:left;border-radius:11px;align-items:center;gap:11px;padding:9px 11px;display:flex}.organization-unit-option.active{background:var(--wine-soft);border-color:#943c5566}.organization-unit-check{color:#fff;background:var(--surface);border:1px solid var(--border);border-radius:7px;flex:none;place-items:center;width:24px;height:24px;font-size:13px;font-weight:800;display:grid}.organization-unit-option.active .organization-unit-check{background:var(--wine);border-color:var(--wine)}.organization-unit-option>div{gap:2px;min-width:0;display:grid}.organization-unit-option small{color:var(--wine);text-transform:uppercase;font-size:8px;font-weight:700}.organization-unit-option strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.organization-unit-option div>span{color:var(--text-muted);font-size:9px}.organization-modal-empty{min-height:130px;color:var(--text-muted);text-align:center;place-items:center;font-size:10px;display:grid}.organization-inline-error,.organization-load-error{color:#943c55;background:#fff3f5;border:1px solid #943c5524;border-radius:10px;padding:10px 12px;font-size:10px}.organization-load-error{text-align:center;align-content:center;place-items:center;gap:10px;min-height:240px;display:grid}.organization-load-error p{max-width:520px;margin:0}.organization-loading{min-height:260px;color:var(--text-muted);justify-content:center;align-items:center;gap:9px;font-size:11px;display:flex}@media (width<=820px){.organization-heading{flex-direction:column;align-items:stretch;gap:16px}.organization-heading-actions{justify-content:flex-start}.organization-tree-item{margin-left:calc(min(var(--organization-depth), 3) * 12px)}}@media (width<=680px){.organization-heading-actions{width:100%}.organization-heading-actions button{flex:auto}.organization-tabs{width:100%}.organization-tabs button{flex:50%}.organization-tree{padding:7px}.organization-section-row,.organization-unit-row{min-height:54px;padding:8px 7px}.organization-tree-item{margin-left:calc(min(var(--organization-depth), 2) * 8px)}.organization-preview-paper{padding:24px 18px}.organization-modal-backdrop{padding:8px}.organization-modal{border-radius:15px;max-height:calc(100dvh - 16px)}.organization-modal-footer{flex-direction:column;align-items:stretch}.organization-modal-footer>div{width:100%}.organization-modal-footer>div button{flex:50%}.organization-selection-count{margin-right:0}}.organization-preview-overlay{z-index:4800;color:#242024;background:#f7f8fc;grid-template-rows:auto minmax(0,1fr);display:grid;position:fixed;inset:0}.organization-preview-full-header{min-height:66px;padding:max(12px, env(safe-area-inset-top)) 18px 8px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f7f8fcf5;align-items:center;display:flex}.organization-preview-back{color:#29262a;background:0 0;border:0;border-radius:12px;place-items:center;width:42px;height:42px;padding:0;display:grid}.organization-preview-back:hover{background:#0000000b}.organization-preview-full-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-height:0;padding:clamp(60px, 10vh, 118px) clamp(28px, 6vw, 70px) max(110px, env(safe-area-inset-bottom));overflow-y:auto}.organization-preview-manuscript{width:min(920px,100%);margin:0 auto;font-family:Georgia,Times New Roman,serif}.organization-preview-manuscript .organization-preview-section{margin:0 0 clamp(54px,7vh,88px)}.organization-preview-manuscript .organization-preview-section>h2{color:#171517;letter-spacing:-.025em;text-align:center;max-width:820px;margin:0 auto clamp(42px,6vh,66px);font-family:Georgia,Times New Roman,serif;font-size:clamp(29px,4vw,38px);font-weight:500;line-height:1.2}.organization-preview-manuscript .organization-preview-section.depth-1>h2{font-size:clamp(27px,3.7vw,35px)}.organization-preview-manuscript .organization-preview-section.depth-2>h2,.organization-preview-manuscript .organization-preview-section.depth-3>h2{font-size:clamp(24px,3.3vw,31px)}.organization-preview-manuscript .organization-preview-section-content>.organization-preview-section:last-child,.organization-preview-manuscript .organization-preview-section-content>.organization-preview-unit:last-child{margin-bottom:0}.organization-preview-manuscript .organization-preview-unit{width:100%;margin:0}.organization-preview-manuscript .organization-preview-text{color:#242024;letter-spacing:-.006em;white-space:pre-wrap;font-family:Georgia,Times New Roman,serif;font-size:clamp(17px,2.15vw,20px);font-weight:400;line-height:1.62}.organization-preview-manuscript .organization-preview-scene+.organization-preview-scene{margin-top:1.15em}.organization-preview-manuscript .organization-preview-document{margin-bottom:2.2em}.organization-preview-manuscript .organization-preview-document>h3{color:#171517;text-align:center;max-width:820px;margin:0 auto 40px;font-family:Georgia,Times New Roman,serif;font-size:clamp(25px,3.5vw,34px);font-weight:500;line-height:1.2}.organization-preview-full-empty{width:min(520px,100%);min-height:55vh;color:var(--text-muted);text-align:center;align-content:center;place-items:center;gap:10px;margin:0 auto;display:grid}.organization-preview-full-empty svg{color:var(--wine)}.organization-preview-full-empty h2{color:var(--text);margin:0;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:500}.organization-preview-full-empty p{max-width:400px;margin:0;font-size:11px;line-height:1.6}@media (width<=760px){.organization-preview-full-header{min-height:60px;padding-left:10px;padding-right:10px}.organization-preview-full-scroll{padding:clamp(46px,8vh,78px) 20px 90px}.organization-preview-manuscript .organization-preview-section>h2{margin-bottom:38px}.organization-preview-manuscript .organization-preview-text{font-size:clamp(16px,4vw,18px);line-height:1.62}}.digital-professional-shell{z-index:1200;color:#342d31;-webkit-user-select:none;user-select:none;background:#f0eef0;grid-template-rows:54px minmax(0,1fr) 28px;font-family:Inter,system-ui,sans-serif;display:grid;position:fixed;inset:0}.digital-professional-shell input,.digital-professional-shell textarea,.digital-professional-shell select{-webkit-user-select:text;user-select:text}.digital-professional-topbar{background:var(--surface);border-bottom:1px solid #ddd9dc;grid-template-columns:minmax(190px,1fr) auto minmax(260px,1fr);align-items:center;gap:10px;min-width:0;padding:0 12px;display:grid}.digital-professional-top-left,.digital-professional-top-actions,.digital-professional-top-center{align-items:center;gap:7px;min-width:0;display:flex}.digital-professional-top-actions{justify-content:flex-end}.digital-professional-top-center{justify-content:center}.digital-professional-icon-button,.digital-professional-top-actions button,.digital-professional-device-switch button,.digital-professional-mobile-close,.digital-professional-drawer-button{color:#665e62;background:var(--surface);border:1px solid #ded9dc;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:32px;padding:0 9px;font-size:10px;font-weight:650;display:inline-flex}.digital-professional-icon-button{width:34px;padding:0}.digital-professional-top-actions button.primary{color:#fff;background:#943c55;border-color:#943c55}.digital-professional-identity{gap:1px;min-width:0;display:grid}.digital-professional-identity strong{color:#453c41;font-size:11px}.digital-professional-identity span{color:#9a9196;white-space:nowrap;text-overflow:ellipsis;max-width:190px;font-size:8px;overflow:hidden}.digital-professional-theme-select,.digital-professional-tone-select{color:#786f74;background:#f8f6f7;border:1px solid #ded9dc;border-radius:8px;align-items:center;gap:5px;min-height:32px;padding:0 7px;display:flex}.digital-professional-theme-select select,.digital-professional-tone-select select{color:#5c5458;background:0 0;border:0;outline:0;max-width:120px;padding:0;font-size:9px}.digital-professional-device-switch{background:#f0edef;border-radius:8px;gap:1px;padding:2px;display:flex}.digital-professional-device-switch button{background:0 0;border:0;width:30px;min-height:28px;padding:0}.digital-professional-device-switch button.active{color:#943c55;background:var(--surface);box-shadow:0 1px 4px #30262b14}.digital-professional-save{color:#8e858a;align-items:center;gap:4px;font-size:8px;display:inline-flex}.digital-professional-save.error{color:#a44151}.digital-professional-preflight{position:relative}.digital-professional-preflight>span{background:#58a56e;border-radius:999px;width:7px;height:7px}.digital-professional-preflight.warning>span{background:#d49d41}.digital-professional-preflight.error>span{background:#c95765}.digital-professional-workspace{grid-template-columns:240px minmax(0,1fr) 300px;min-height:0;display:grid}.digital-professional-book-panel,.digital-professional-inspector{background:var(--surface);grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;display:grid}.digital-professional-book-panel{border-right:1px solid #ddd9dc}.digital-professional-inspector{border-left:1px solid #ddd9dc;grid-template-rows:auto auto minmax(0,1fr)}.digital-professional-panel-heading{border-bottom:1px solid #eeeaec;justify-content:space-between;align-items:center;gap:8px;min-height:55px;padding:10px 13px;display:flex}.digital-professional-panel-heading div{gap:2px;display:grid}.digital-professional-panel-heading span{color:#a1979c;letter-spacing:.12em;text-transform:uppercase;font-size:7px;font-weight:700}.digital-professional-panel-heading h2{color:#443c40;margin:0;font-family:Georgia,serif;font-size:17px;font-weight:500}.digital-professional-book-scroll,.digital-professional-inspector-scroll{min-height:0;overflow:auto}.digital-professional-book-scroll{padding:9px}.digital-professional-book-group{border-bottom:1px solid #eeeaec;margin-bottom:12px;padding-bottom:12px}.digital-professional-book-group>header{justify-content:space-between;align-items:center;gap:6px;min-height:30px;padding:0 5px;display:flex}.digital-professional-book-group>header strong{color:#756b70;letter-spacing:.08em;text-transform:uppercase;font-size:8px;font-weight:750}.digital-professional-book-group>header span{color:#a0979c;margin-left:5px;font-size:8px}.digital-professional-book-group>header div:last-child{gap:3px;display:flex}.digital-professional-book-group>header button{color:#8a4960;background:#faf5f7;border:1px solid #ead8de;border-radius:6px;min-height:25px;padding:0 6px;font-size:7px;font-weight:700}.digital-professional-matter-row{border-radius:6px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;min-height:29px;padding:0 6px;display:grid}.digital-professional-matter-row.active{background:#faf3f5}.digital-professional-matter-row input{accent-color:#943c55;width:13px;height:13px}.digital-professional-matter-row button{color:#5e565a;text-align:left;white-space:nowrap;text-overflow:ellipsis;background:0 0;border:0;min-width:0;padding:5px 0;font-size:9px;overflow:hidden}.digital-professional-tree-row{color:#5b5357;text-align:left;background:0 0;border:0;border-radius:6px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;width:100%;min-height:30px;padding-right:7px;font-size:8px;display:grid}.digital-professional-tree-row span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.digital-professional-tree-row.active{color:#863a52;background:#faf1f4}.digital-professional-tree-row.disabled{opacity:.48}.digital-professional-search{color:#aaa0a5;background:#f8f6f7;border:1px solid #e6e1e4;border-radius:7px;align-items:center;gap:6px;min-height:31px;margin:4px 3px 7px;padding:0 8px;display:flex}.digital-professional-search input{background:0 0;border:0;outline:0;width:100%;padding:0;font-size:8px}.digital-professional-material-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;min-height:30px;padding:3px 5px;display:grid}.digital-professional-material-row>span{color:#70676c;white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:5px;min-width:0;font-size:8px;display:flex;overflow:hidden}.digital-professional-material-row button{color:#8c4158;background:#fbf5f7;border:1px solid #ead8de;border-radius:6px;place-items:center;width:24px;height:24px;padding:0;display:grid}.digital-professional-preview-panel{background:#dedcdf;grid-template-rows:48px minmax(0,1fr);min-width:0;min-height:0;display:grid}.digital-professional-previewbar{background:#f8f7f8;border-bottom:1px solid #d5d0d3;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:0 14px;display:flex}.digital-professional-previewbar>div:first-child{gap:1px;display:grid}.digital-professional-previewbar strong{color:#554c51;font-size:9px}.digital-professional-previewbar span{color:#968c91;font-size:7px}.digital-professional-previewbar>div:last-child{gap:12px;display:flex}.digital-professional-preview-stage{justify-content:center;align-items:flex-start;min-height:0;padding:28px;display:flex;overflow:auto}.digital-professional-reader{color:#292529;width:min(100%,640px);min-height:840px;font-family:var(--pd-body-font);font-size:var(--pd-body-size);line-height:var(--pd-line-height);text-align:var(--pd-text-align);-webkit-hyphens:auto;hyphens:auto;background:#fffefd;padding:68px 66px 90px;box-shadow:0 10px 32px #2f272b21}.device-phone .digital-professional-reader{width:390px;min-height:700px;padding:44px 30px 60px}.device-tablet .digital-professional-reader{width:720px;min-height:960px}.device-pdf .digital-professional-reader{outline:1px solid #4941451f;width:690px;min-height:975px}.tone-sepia .digital-professional-reader{color:#443a32;background:#f2ead9}.tone-dark .digital-professional-reader{color:#e8e2e5;background:#252225}.tone-eink .digital-professional-reader{filter:grayscale()contrast(.82);color:#333;background:#efefec}.digital-professional-front-page,.digital-professional-back-page{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:520px;margin-bottom:80px;display:flex}.digital-professional-front-page.cover{padding:0}.digital-professional-front-page.cover img{object-fit:contain;width:100%;max-height:720px}.digital-professional-front-page.cover>div{color:#a0959b;border:1px dashed #d9d1d5;place-items:center;gap:8px;width:100%;min-height:500px;display:grid}.digital-professional-front-page.title h1,.digital-professional-front-page.toc h1,.digital-professional-back-page h1{font-family:var(--pd-heading-font);margin:0 0 18px;font-size:34px;font-weight:500}.digital-professional-front-page.title h2{font-family:var(--pd-heading-font);margin:0 0 28px;font-size:20px;font-weight:400}.digital-professional-front-page.compact{text-align:left;justify-content:flex-end;align-items:flex-start;min-height:240px}.digital-professional-front-page.toc{text-align:left;justify-content:flex-start;align-items:stretch}.digital-professional-front-page.toc ol{margin:0;padding:0;list-style:none}.digital-professional-front-page.toc button{width:100%;color:inherit;text-align:left;font-family:inherit;font-size:inherit;background:0 0;border:0;padding:8px 0}.digital-professional-section{margin:0 0 2em}.digital-professional-section>header{text-align:var(--pd-title-align);border-radius:4px;margin:0 0 1.5em}.digital-professional-section>header.selected{outline-offset:7px;outline:1px solid #943c5547}.digital-professional-section>header span{color:#a0959b;letter-spacing:.14em;text-transform:uppercase;margin-bottom:7px;font-family:Inter,sans-serif;font-size:8px;font-weight:700;display:block}.digital-professional-section>header h2{font-family:var(--pd-heading-font);font-size:var(--pd-title-size);margin:0;font-weight:500;line-height:1.18}.digital-professional-ornament{margin-top:16px;font-size:14px}.digital-professional-unit{border-radius:3px;margin:0 0 .15em}.digital-professional-unit.selected{outline-offset:6px;outline:1px solid #943c553d}.digital-professional-unit h3{font-family:var(--pd-heading-font);font-size:calc(var(--pd-title-size) * .82);text-align:var(--pd-title-align);margin:0 0 1.2em;font-weight:500}.digital-professional-unit p{margin:0 0 var(--pd-paragraph-gap);text-indent:var(--pd-indent)}.digital-professional-unit.quote{padding:0 8%;font-style:italic}.digital-professional-unit.quote p,.digital-professional-unit.poem p{text-indent:0}.digital-professional-unit.poem p{white-space:pre-wrap}.digital-professional-scene-break{min-height:var(--pd-scene-space);text-align:center;place-items:center;display:grid}.digital-professional-image-block{max-width:100%;margin-top:1.5em;margin-bottom:1.5em}.digital-professional-image-block.left{margin-left:0;margin-right:auto}.digital-professional-image-block.center{margin-left:auto;margin-right:auto}.digital-professional-image-block.right{margin-left:auto;margin-right:0}.digital-professional-image-block.selected{outline-offset:6px;outline:1px solid #943c5559}.digital-professional-image-block img{width:100%;max-width:100%;height:auto;display:block}.digital-professional-inspector-tabs{border-bottom:1px solid #eeeaec;grid-template-columns:repeat(3,1fr);gap:3px;padding:7px;display:grid}.digital-professional-inspector-tabs button{color:#81787d;background:0 0;border:0;border-radius:7px;min-height:30px;font-size:8px;font-weight:700}.digital-professional-inspector-tabs button.active{color:#873a52;background:#faf1f4}.digital-professional-inspector-scroll{align-content:start;gap:13px;padding:14px;display:grid}.digital-professional-inspector-heading{gap:4px;display:grid}.digital-professional-inspector-heading>span{color:#a0979c;letter-spacing:.12em;text-transform:uppercase;font-size:7px;font-weight:700}.digital-professional-inspector-heading h3{color:#493f44;margin:0;font-family:Georgia,serif;font-size:18px;font-weight:500}.digital-professional-inspector-heading p,.digital-professional-inspector-empty p{color:#92888d;margin:0;font-size:8px;line-height:1.5}.digital-professional-field{gap:5px;display:grid}.digital-professional-field>span,.digital-professional-range span{color:#777075;font-size:8px;font-weight:650}.digital-professional-field input,.digital-professional-field select,.digital-professional-field textarea,.digital-professional-textarea{color:#4c4448;background:var(--surface);width:100%;min-height:34px;font:inherit;border:1px solid #ddd8db;border-radius:7px;outline:0;padding:7px 9px;font-size:9px}.digital-professional-field textarea,.digital-professional-textarea{resize:vertical}.digital-professional-range{gap:7px;display:grid}.digital-professional-range>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.digital-professional-range strong{color:#8e455b;font-size:8px}.digital-professional-range input{accent-color:#943c55;width:100%}.digital-professional-toggle{background:#f9f7f8;border:1px solid #ebe6e8;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;min-height:46px;padding:9px;display:flex}.digital-professional-toggle>div{gap:2px;display:grid}.digital-professional-toggle strong{color:#5a5055;font-size:8px}.digital-professional-toggle span{color:#968d92;font-size:7px;line-height:1.4}.digital-professional-toggle input{accent-color:#943c55}.digital-professional-secondary-action,.digital-professional-local-actions button,.digital-professional-upload{color:#744657;background:#fbf5f7;border:1px solid #ead8de;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:34px;padding:0 9px;font-size:8px;font-weight:700;display:inline-flex}.digital-professional-local-actions{grid-template-columns:repeat(3,1fr);gap:5px;display:grid}.digital-professional-local-actions button.danger{color:#a34b59;background:#fff6f7;border-color:#efd8dc}.digital-professional-upload input{display:none}.digital-professional-cover-preview{background:#f5f2f3;border:1px solid #e5dfe2;border-radius:8px;place-items:center;min-height:185px;padding:8px;display:grid}.digital-professional-cover-preview img{object-fit:contain;max-width:100%;max-height:220px}.digital-professional-cover-preview>div{color:#999095;place-items:center;gap:7px;font-size:8px;display:grid}.digital-professional-inspector-empty{color:#9d9398;text-align:center;align-content:center;place-items:center;gap:7px;min-height:190px;display:grid}.digital-professional-inspector-empty strong{color:#665d62;font-size:9px}.digital-professional-divider{background:#ebe6e8;height:1px}.digital-professional-inline-error{color:#a44151;background:#fff3f5;border:1px solid #f0d6db;border-radius:7px;padding:8px;font-size:8px}.digital-professional-statusbar{color:#857c81;background:#fbfafb;border-top:1px solid #ddd9dc;justify-content:flex-end;align-items:center;gap:14px;padding:0 12px;font-size:7px;display:flex}.digital-professional-statusbar .ok{color:#48865b}.digital-professional-statusbar .warning{color:#9a712c}.digital-professional-statusbar .error{color:#a74352}.digital-professional-loading,.digital-professional-error{color:#756b70;background:#f7f5f6;justify-content:center;align-items:center;gap:8px;font-size:10px;display:flex;position:absolute;inset:0}.digital-professional-error{flex-direction:column}.digital-professional-error p{text-align:center;max-width:500px;margin:0}.digital-professional-modal-backdrop{z-index:1500;background:#27202457;place-items:center;padding:34px;display:grid;position:fixed;inset:0}.digital-professional-modal{background:var(--surface);border:1px solid #fff9;border-radius:15px;grid-template-rows:auto minmax(0,1fr);width:min(760px,94vw);max-height:min(760px,92vh);display:grid;overflow:hidden;box-shadow:0 22px 65px #221b1f3d}.digital-professional-modal.compact-modal{width:min(590px,94vw)}.digital-professional-modal>header{border-bottom:1px solid #ebe6e8;justify-content:space-between;align-items:center;min-height:65px;padding:11px 15px;display:flex}.digital-professional-modal>header div{gap:2px;display:grid}.digital-professional-modal>header span{color:#a1989d;letter-spacing:.1em;text-transform:uppercase;font-size:7px;font-weight:700}.digital-professional-modal>header h2{margin:0;font-family:Georgia,serif;font-size:20px;font-weight:500}.digital-professional-modal>header button{color:#71686d;background:var(--surface);border:1px solid #e2dcdf;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.digital-professional-modal-scroll{min-height:0;padding:16px;overflow:auto}.digital-professional-metadata-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.digital-professional-field.span-two{grid-column:1/-1}.digital-professional-preflight-list{gap:7px;display:grid}.digital-professional-preflight-list article{border:1px solid #e6e1e3;border-radius:9px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;min-height:51px;padding:9px 11px;display:grid}.digital-professional-preflight-list article.ok{color:#4d865d;background:#f5fbf6}.digital-professional-preflight-list article.warning{color:#9b742e;background:#fffbf2}.digital-professional-preflight-list article.error{color:#a34453;background:#fff5f6}.digital-professional-preflight-list article div{gap:2px;display:grid}.digital-professional-preflight-list strong{font-size:8px}.digital-professional-preflight-list span{font-size:7px;line-height:1.4}.digital-professional-warning-dot{border:2px solid;border-radius:999px;width:9px;height:9px;display:block}.digital-professional-export-placeholder{color:#8c8287;text-align:center;align-content:center;place-items:center;gap:10px;min-height:270px;display:grid}.digital-professional-export-placeholder strong{color:#51474c;font-size:11px}.digital-professional-export-placeholder p{max-width:420px;margin:0;font-size:8px;line-height:1.6}.digital-professional-export-placeholder div{gap:7px;display:flex}.digital-professional-export-placeholder div span{color:#8b4158;background:#faf2f5;border:1px solid #ead7dd;border-radius:999px;padding:6px 10px;font-size:8px;font-weight:700}.digital-professional-drawer-button,.digital-professional-mobile-close,.digital-professional-drawer-backdrop{display:none}@media (orientation:portrait) and (width<=1100px){.digital-professional-shell{grid-template-rows:54px minmax(0,1fr) 28px}.digital-professional-topbar{grid-template-columns:minmax(0,1fr) auto;overflow-x:auto}.digital-professional-top-center{order:3;grid-column:1/-1;display:none}.digital-professional-identity span{max-width:120px}.digital-professional-top-actions>button:not(.primary):not(.inspector){display:none}.digital-professional-drawer-button{display:inline-flex}.digital-professional-workspace{display:block;position:relative;overflow:hidden}.digital-professional-preview-panel{width:100%;height:100%}.digital-professional-book-panel,.digital-professional-inspector{z-index:80;width:min(320px,82vw);transition:transform .18s;position:absolute;top:0;bottom:0;box-shadow:0 0 34px #261f2326}.digital-professional-book-panel{left:0;transform:translate(-105%)}.digital-professional-inspector{right:0;transform:translate(105%)}.digital-professional-book-panel.drawer-open,.digital-professional-inspector.drawer-open{transform:translate(0)}.digital-professional-mobile-close{display:grid}.digital-professional-drawer-backdrop{z-index:70;background:#2a222624;border:0;padding:0;display:block;position:fixed;inset:54px 0 28px}.digital-professional-preview-stage{padding:22px 14px}.digital-professional-previewbar>div:last-child span:nth-child(n+2){display:none}.digital-professional-statusbar{justify-content:center;gap:8px;overflow:hidden}.digital-professional-statusbar span:nth-child(2),.digital-professional-statusbar span:nth-child(3){display:none}}@media (width<=700px){.digital-professional-reader{padding:42px 28px 60px}.digital-professional-metadata-grid{grid-template-columns:1fr}.digital-professional-field.span-two{grid-column:auto}}.digital-professional-panel-toggle{display:inline-flex!important}.digital-professional-panel-toggle.active{color:#863a52;background:#faf2f5;border-color:#ead5dc}.digital-professional-production-actions{border-left:1px solid #e8e3e6;align-items:center;gap:5px;padding-left:7px;display:flex}.digital-professional-production-actions button{color:#665e62;background:var(--surface);border:1px solid #ded9dc;border-radius:8px;justify-content:center;align-items:center;gap:5px;min-height:32px;padding:0 9px;font-size:10px;font-weight:650;display:inline-flex}.digital-professional-production-actions button.primary{color:#fff;background:#943c55;border-color:#943c55}.digital-professional-tree-line{grid-template-columns:20px minmax(0,1fr);align-items:center;gap:1px;min-width:0;display:grid}.digital-professional-tree-collapse{color:#8e858a;background:0 0;border:0;border-radius:5px;place-items:center;width:20px;height:26px;padding:0;display:grid}.digital-professional-tree-collapse:hover{background:#f6f2f4}.digital-professional-tree-collapse-spacer{width:20px;height:20px}.digital-professional-tree-line .digital-professional-tree-row{min-width:0}.digital-professional-preview-panel{grid-template-rows:58px minmax(0,1fr)}.digital-professional-previewbar{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 12px;display:grid}.digital-professional-preview-title{gap:1px;min-width:92px;display:grid}.digital-professional-preview-controls{justify-content:center;align-items:center;gap:6px;min-width:0;display:flex}.digital-professional-preview-stats{justify-content:flex-end;align-items:center;gap:10px;display:flex}.digital-professional-jump-select,.digital-professional-preview-theme{color:#7d7479;background:var(--surface);border:1px solid #ded9dc;border-radius:7px;align-items:center;gap:5px;min-height:30px;padding:0 7px;display:flex}.digital-professional-jump-select>span{color:#968c91;text-transform:uppercase;font-size:7px;font-weight:700}.digital-professional-jump-select select,.digital-professional-preview-theme select{color:#595155;background:0 0;border:0;outline:0;max-width:150px;padding:0;font-size:8px}.digital-professional-preview-theme{display:none}.digital-professional-front-page.cover.empty{min-height:390px;margin-bottom:58px}.digital-professional-front-page.cover.empty>div{min-height:340px}.digital-professional-front-page.cover.empty>div span{color:#aaa0a5;font-size:8px}.digital-professional-preview-stage.hyphenation-off .digital-professional-reader{-webkit-hyphens:none;hyphens:none}.digital-professional-preview-stage.hyphenation-on .digital-professional-reader{-webkit-hyphens:auto;hyphens:auto}.digital-professional-unit.drop-cap p.first:first-letter{float:left;color:inherit;font-family:var(--pd-heading-font);margin:.03em .09em 0 0;font-weight:500;line-height:.78}.digital-professional-unit.drop-cap-2 p.first:first-letter{font-size:3.1em}.digital-professional-unit.drop-cap-3 p.first:first-letter{font-size:4.35em}.digital-professional-unit.drop-cap-4 p.first:first-letter{font-size:5.45em}@media (width>=1101px),(orientation:landscape){.digital-professional-workspace.book-hidden{grid-template-columns:0 minmax(0,1fr) 300px}.digital-professional-workspace.inspector-hidden{grid-template-columns:240px minmax(0,1fr) 0}.digital-professional-workspace.book-hidden.inspector-hidden{grid-template-columns:0 minmax(0,1fr) 0}.digital-professional-workspace.book-hidden .digital-professional-book-panel,.digital-professional-workspace.inspector-hidden .digital-professional-inspector{display:none}}@media (orientation:portrait) and (width<=1100px){.digital-professional-production-actions{gap:3px;padding-left:4px}.digital-professional-production-actions button{width:34px;min-width:34px;padding:0;font-size:0}.digital-professional-production-actions .digital-professional-preflight>span{display:none}.digital-professional-preview-panel{grid-template-rows:84px minmax(0,1fr)}.digital-professional-previewbar{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:6px 10px}.digital-professional-preview-title{min-width:0}.digital-professional-preview-controls{grid-column:1/-1;justify-content:flex-start;padding-bottom:2px;overflow:auto hidden}.digital-professional-preview-stats{min-width:0}.digital-professional-preview-stats span:nth-child(n+2){display:none}.digital-professional-preview-theme{flex:none;display:flex}.digital-professional-jump-select,.digital-professional-device-switch,.digital-professional-tone-select{flex:none}.digital-professional-jump-select select{max-width:130px}.digital-professional-front-page.cover.empty{min-height:330px}.digital-professional-front-page.cover.empty>div{min-height:290px}}@media (width<=700px){.digital-professional-production-actions button{width:31px;min-width:31px;height:31px}.digital-professional-previewbar{padding-left:7px;padding-right:7px}}.digital-professional-cover-diagnostics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.digital-professional-cover-diagnostics>div{background:#f8f6f7;border:1px solid #e7e1e4;border-radius:8px;align-content:center;gap:2px;min-height:48px;padding:8px;display:grid}.digital-professional-cover-diagnostics span{color:#9b9196;text-transform:uppercase;font-size:7px;font-weight:650}.digital-professional-cover-diagnostics strong{color:#554c50;font-size:9px}.digital-professional-inline-warning{color:#926820;background:#fff9ed;border:1px solid #ecdcb9;border-radius:7px;padding:9px;font-size:8px;line-height:1.45}.digital-professional-field small{color:#9c9297;font-size:7px}.digital-professional-metadata-section{background:#f9f7f8;border:1px solid #e7e2e5;border-radius:9px;gap:9px;padding:11px;display:grid}.digital-professional-metadata-section>header{justify-content:space-between;align-items:center;gap:10px;display:flex}.digital-professional-metadata-section>header>div{gap:2px;display:grid}.digital-professional-metadata-section>header strong{color:#594f54;font-size:9px}.digital-professional-metadata-section>header span,.digital-professional-metadata-section>p{color:#9b9297;margin:0;font-size:7px}.digital-professional-metadata-section>header button{color:#874057;background:var(--surface);border:1px solid #e6d4da;border-radius:7px;align-items:center;gap:4px;min-height:29px;padding:0 8px;font-size:8px;font-weight:700;display:inline-flex}.digital-professional-contributor-list{gap:6px;display:grid}.digital-professional-contributor-list>div{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr) 32px;gap:6px;display:grid}.digital-professional-contributor-list input{color:#4c4448;background:var(--surface);min-width:0;min-height:34px;font:inherit;border:1px solid #ddd8db;border-radius:7px;outline:0;padding:7px 9px;font-size:9px}.digital-professional-contributor-list button{color:#a34c5a;background:var(--surface);border:1px solid #ead9dd;border-radius:7px;place-items:center;width:32px;height:34px;padding:0;display:grid}.digital-professional-metadata-toggle{display:block}.digital-professional-preflight-list article{grid-template-columns:18px minmax(0,1fr) auto}.digital-professional-preflight-list article>button{color:currentColor;background:#ffffff9e;border:1px solid;border-radius:6px;min-height:29px;padding:0 8px;font-size:7px;font-weight:700}.digital-professional-export-panel{color:#8b8186;text-align:center;align-content:center;place-items:center;gap:12px;min-height:330px;display:grid}.digital-professional-export-panel>strong{color:#4f454a;font-size:12px}.digital-professional-export-panel>p{max-width:440px;margin:0;font-size:8px;line-height:1.6}.digital-professional-export-panel>small{color:#a49a9f;max-width:440px;font-size:7px;line-height:1.5}.digital-professional-export-readiness{text-align:left;background:#f5faf6;border:1px solid #d9eadc;border-radius:9px;grid-template-columns:10px minmax(0,1fr);align-items:center;gap:9px;width:min(430px,100%);padding:10px 12px;display:grid}.digital-professional-export-readiness.warning{background:#fffbf2;border-color:#eddcb7}.digital-professional-export-readiness.error{background:#fff5f6;border-color:#efd5da}.digital-professional-export-readiness>span{background:#56a06a;border-radius:999px;width:9px;height:9px}.digital-professional-export-readiness.warning>span{background:#d29a3d}.digital-professional-export-readiness.error>span{background:#c95463}.digital-professional-export-readiness>div{gap:2px;display:grid}.digital-professional-export-readiness strong{color:#51484c;font-size:8px}.digital-professional-export-readiness span{color:#93898e;font-size:7px}.digital-professional-export-actions{justify-content:center;align-items:center;gap:7px;display:flex}.digital-professional-export-actions button{color:#6d6267;background:var(--surface);border:1px solid #ddd7da;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:0 14px;font-size:8px;font-weight:700;display:inline-flex}.digital-professional-export-actions button.primary{color:#fff;background:#943c55;border-color:#943c55}.digital-professional-export-actions button:disabled{cursor:not-allowed;opacity:.48}.digital-professional-export-success{color:#4c865c;background:#f3faf4;border:1px solid #d8eadc;border-radius:7px;align-items:center;gap:5px;padding:7px 10px;font-size:8px;font-weight:700;display:inline-flex}@media (orientation:portrait) and (width<=1100px){.digital-professional-cover-diagnostics{grid-template-columns:1fr 1fr}.digital-professional-contributor-list>div{grid-template-columns:minmax(0,1fr) minmax(0,.75fr) 31px}.digital-professional-export-panel{min-height:280px}}@media (width<=620px){.digital-professional-contributor-list>div{grid-template-columns:1fr 1fr}.digital-professional-contributor-list>div button{grid-column:1/-1;width:100%}.digital-professional-export-actions{grid-template-columns:1fr;width:100%;display:grid}.digital-professional-export-actions button{width:100%}}.digital-professional-cover-requirements{color:#746a6f;background:#faf7f8;border:1px solid #e8dde1;border-radius:9px;gap:8px;padding:10px;display:grid}.digital-professional-cover-requirements>strong{color:#554a4f;font-size:9px}.digital-professional-cover-requirements>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.digital-professional-cover-requirements span{background:var(--surface);border:1px solid #ebe4e7;border-radius:7px;align-content:center;gap:2px;min-height:43px;padding:7px 8px;font-size:8px;display:grid}.digital-professional-cover-requirements b{color:#9a6979;text-transform:uppercase;font-size:7px;font-weight:700}.digital-professional-cover-requirements p{color:#999095;margin:0;font-size:7px;line-height:1.45}.digital-professional-tag-field{gap:6px;display:grid}.digital-professional-tag-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.digital-professional-tag-heading>span{color:#777075;font-size:8px;font-weight:650}.digital-professional-tag-heading small{color:#9c9297;font-size:7px}.digital-professional-tag-input{background:var(--surface);border:1px solid #ddd8db;border-radius:8px;flex-wrap:wrap;align-items:center;gap:5px;min-height:42px;padding:5px;display:flex}.digital-professional-tag-input:focus-within{border-color:#943c5580;box-shadow:0 0 0 2px #943c5512}.digital-professional-tag-input input{color:#4e464a;min-width:120px;height:29px;font:inherit;background:0 0;border:0;outline:0;flex:120px;padding:0 5px;font-size:9px}.digital-professional-tag-chip{color:#803e53;background:#faf0f3;border:1px solid #ead4db;border-radius:999px;align-items:center;gap:4px;max-width:100%;min-height:28px;padding:0 5px 0 8px;font-size:8px;line-height:1.2;display:inline-flex}.digital-professional-tag-chip button{color:#946172;background:0 0;border:0;border-radius:999px;flex:none;place-items:center;width:20px;height:20px;padding:0;display:grid}.digital-professional-tag-help{color:#a0979c;font-size:7px;line-height:1.4}@media (orientation:portrait) and (width<=1100px){.digital-professional-cover-requirements>div{grid-template-columns:1fr 1fr}}.digital-professional-image-diagnostics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.digital-professional-image-diagnostics>div:not(.loading):not(.error){background:#f8f6f7;border:1px solid #e7e1e4;border-radius:8px;align-content:center;gap:2px;min-height:48px;padding:8px;display:grid}.digital-professional-image-diagnostics span{color:#9a9095;text-transform:uppercase;font-size:7px;font-weight:700}.digital-professional-image-diagnostics strong{color:#554b50;font-size:8px}.digital-professional-image-diagnostics .loading,.digital-professional-image-diagnostics .error{color:#8e858a;background:#f8f6f7;border:1px solid #e7e1e4;border-radius:8px;grid-column:1/-1;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:8px;font-size:8px;display:flex}.digital-professional-image-diagnostics .error{color:#9d4a58;background:#fff5f6;border-color:#efd5da}.digital-professional-image-note{color:#81767b;background:#faf7f8;border:1px solid #e8e1e4;border-radius:7px;padding:8px 9px;font-size:7px;line-height:1.45}.digital-professional-front-page.title .series,.digital-professional-front-page.title .publisher{color:#80767b;margin:5px 0;font-size:.76em}.digital-professional-front-page.title .author{margin:20px 0;font-size:.95em}.digital-professional-copyright-copy{gap:8px;width:100%;display:grid}.digital-professional-copyright-copy p{text-indent:0;margin:0}.digital-professional-metadata-group-title{border-bottom:1px solid #ebe6e8;gap:2px;margin-top:4px;padding:9px 0 6px;display:grid}.digital-professional-metadata-group-title strong{color:#5a4f54;font-family:Georgia,serif;font-size:13px;font-weight:500}.digital-professional-metadata-group-title span{color:#9a9095;font-size:7px}.digital-professional-statusbar{white-space:nowrap}@media (orientation:portrait) and (width<=1100px){.digital-professional-image-diagnostics{grid-template-columns:1fr 1fr}}.digital-professional-scene-break-picker{background:#faf8f9;border:1px solid #e9e3e6;border-radius:10px;gap:12px;padding:11px;display:grid}.digital-professional-scene-break-heading div{gap:2px;display:grid}.digital-professional-scene-break-heading strong{color:#574d52;font-size:9px}.digital-professional-scene-break-heading span{color:#9a9095;font-size:7px}.digital-professional-scene-break-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.digital-professional-scene-break-options button{color:#766c71;background:var(--surface);border:1px solid #e1dade;border-radius:8px;align-content:center;place-items:center;gap:5px;min-height:58px;padding:8px;display:grid}.digital-professional-scene-break-options button.active{color:#8e3f57;background:#fbf1f4;border-color:#dfbcc7;box-shadow:0 0 0 1px #943c5514}.digital-professional-scene-break-options button>span{place-items:center;min-height:18px;font-family:Georgia,serif;font-size:13px;line-height:1;display:grid}.digital-professional-scene-break-options button>strong{font-size:7px;font-weight:700}.digital-professional-scene-number-picker{gap:6px;display:grid}.digital-professional-scene-number-picker>span{color:#777075;font-size:8px;font-weight:650}.digital-professional-scene-number-picker>div{grid-template-columns:repeat(3,1fr);gap:4px;display:grid}.digital-professional-scene-number-picker button{color:#756b70;background:var(--surface);border:1px solid #ddd7da;border-radius:7px;min-height:32px;font-family:Georgia,serif;font-size:10px}.digital-professional-scene-number-picker button.active{color:#fff;background:#943c55;border-color:#943c55}.digital-professional-scene-break-demo{color:#5c5358;background:var(--surface);border:1px solid #e5dfe2;border-radius:8px;padding:12px;font-family:Georgia,serif;font-size:9px;line-height:1.55;overflow:hidden}.digital-professional-scene-break-demo p{text-indent:0;margin:0}.digital-professional-scene-break-demo>div{color:#7e6570;letter-spacing:.06em;text-align:center;place-items:center;padding:.7em 0;font-size:10px;font-weight:600;display:grid}@media (orientation:portrait) and (width<=1100px){.digital-professional-scene-break-options{grid-template-columns:repeat(3,minmax(0,1fr))}}.professional-layout-overlay{z-index:6300;color:#292529;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#eceaec;grid-template-rows:62px minmax(0,1fr);display:grid;position:fixed;inset:0;overflow:hidden}.professional-layout-topbar{min-width:0;padding:max(8px, env(safe-area-inset-top)) 14px 8px;background:#fffffffa;border-bottom:1px solid #dcd8db;grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr);align-items:center;gap:14px;display:grid}.professional-top-left{align-items:center;gap:10px;min-width:0;display:flex}.professional-back{color:#514a4e;background:0 0;border:0;border-radius:10px;place-items:center;width:38px;height:38px;padding:0;display:grid}.professional-back:hover{color:var(--wine);background:var(--wine-soft)}.professional-identity{gap:1px;min-width:0;display:grid}.professional-identity strong{font-size:11px}.professional-identity span{color:#8c8388;text-overflow:ellipsis;white-space:nowrap;max-width:250px;font-size:8px;overflow:hidden}.professional-mode-pill{color:var(--wine);background:var(--wine-soft);border:1px solid #943c5521;border-radius:999px;padding:6px 12px;font-size:9px;font-weight:700}.professional-save-state{color:#898085;justify-content:flex-end;justify-self:end;align-items:center;gap:5px;min-width:80px;font-size:8px;display:flex}.professional-layout-body{grid-template-columns:280px minmax(0,1fr) 288px;min-width:0;min-height:0;display:grid}.professional-left-panel,.professional-properties{background:#fff;min-width:0;min-height:0;overflow:hidden}.professional-left-panel{border-right:1px solid #dad6d9;grid-template-rows:auto minmax(0,1fr);display:grid}.professional-properties{border-left:1px solid #dad6d9}.professional-left-tabs{background:#f8f6f7;border-bottom:1px solid #e2dee1;grid-template-columns:1fr 1fr;gap:5px;padding:10px;display:grid}.professional-left-tabs button,.professional-material-tabs button{color:#776f73;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:36px;font-size:8px;font-weight:650;display:flex}.professional-left-tabs button.active,.professional-material-tabs button.active{color:var(--wine);background:#fff;box-shadow:0 1px 4px #2f232814}.professional-left-scroll,.professional-properties-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;height:100%;padding:19px 15px 60px;overflow-y:auto}.professional-panel-heading{margin-bottom:18px}.professional-panel-heading>span{color:var(--wine);letter-spacing:.11em;text-transform:uppercase;margin-bottom:4px;font-size:7px;font-weight:750;display:block}.professional-panel-heading h2{margin:0;font-family:Georgia,serif;font-size:23px;font-weight:500}.professional-panel-heading p{color:#8b8287;margin:7px 0 0;font-size:8px;line-height:1.5}.professional-material-tabs{background:#f3f0f2;border:1px solid #e1dcdf;border-radius:9px;grid-template-columns:1fr 1fr;gap:3px;margin-bottom:11px;padding:3px;display:grid}.professional-search{color:#938a8f;background:#f8f6f7;border:1px solid #e1dcdf;border-radius:9px;align-items:center;gap:7px;min-height:39px;margin-bottom:12px;padding:0 10px;display:flex}.professional-search input{color:#40393d;-webkit-user-select:text;user-select:text;background:0 0;border:0;outline:0;width:100%;min-width:0;font-size:9px}.professional-unit-list,.professional-asset-list,.professional-page-list{gap:8px;display:grid}.professional-unit-card{background:#fff;border:1px solid #e3dfe1;border-radius:10px;gap:5px;padding:11px;display:grid}.professional-unit-card>span{color:var(--wine);text-transform:uppercase;font-size:7px;font-weight:700}.professional-unit-card>strong{font-size:10px;line-height:1.3}.professional-unit-card>small{color:#968d92;font-size:7px}.professional-unit-card button{min-height:30px;color:var(--wine);background:#fff8fa;border:1px solid #943c5529;border-radius:7px;justify-content:center;align-items:center;gap:5px;margin-top:3px;font-size:8px;font-weight:650;display:flex}.professional-upload-asset{color:#fff;background:var(--wine);border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:40px;margin-bottom:12px;font-size:8px;font-weight:700;display:flex;position:relative;overflow:hidden}.professional-upload-asset input{opacity:0;position:absolute;inset:0}.professional-asset-card{border:1px solid #e2dde0;border-radius:9px;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px;display:grid}.professional-asset-card>div{color:#a1989d;background:#f4f1f3;border-radius:6px;place-items:center;width:56px;height:56px;display:grid;overflow:hidden}.professional-asset-card img{object-fit:cover;width:100%;height:100%}.professional-asset-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.professional-asset-card button{min-height:29px;color:var(--wine);background:#fff7fa;border:1px solid #943c5529;border-radius:7px;padding:0 8px;font-size:7px}.professional-empty-small{color:#999095;text-align:center;background:#f8f6f7;border:1px dashed #ddd7da;border-radius:10px;align-content:center;place-items:center;gap:7px;min-height:130px;font-size:8px;display:grid}.professional-select,.professional-field{gap:6px;display:grid}.professional-select>span,.professional-field>span,.professional-geometry-grid span{color:#625a5e;font-size:8px;font-weight:650}.professional-select select,.professional-field input,.professional-field select,.professional-field textarea,.professional-geometry-grid input{color:#363035;-webkit-user-select:text;user-select:text;background:#f8f6f7;border:1px solid #dfdade;border-radius:8px;outline:0;width:100%;min-height:38px;padding:0 9px;font-family:inherit;font-size:9px}.professional-field textarea{resize:vertical;min-height:120px;padding:9px;line-height:1.45}.professional-new-page{color:#fff;background:var(--wine);border:0;border-radius:9px;justify-content:center;align-items:center;gap:6px;width:100%;min-height:39px;margin:9px 0 14px;font-size:8px;font-weight:700;display:flex}.professional-page-card{background:#fff;border:1px solid #e2dde0;border-radius:10px;overflow:hidden}.professional-page-card.active{border-color:#943c557a;box-shadow:0 0 0 2px #943c5512}.professional-page-open{color:#3f383c;text-align:left;background:0 0;border:0;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:9px;display:grid}.professional-page-mini{background:#fffefd;border:1px solid #d9d3d6;width:44px;height:62px;position:relative;overflow:hidden;box-shadow:0 2px 5px #3024290f}.professional-page-mini i{border:1px solid #b5adb1;display:block;position:absolute}.professional-page-mini i.image{background:#e6e2e4}.professional-page-open strong{text-overflow:ellipsis;white-space:nowrap;font-size:9px;display:block;overflow:hidden}.professional-page-open span{color:#998f94;font-size:7px}.professional-page-actions{border-top:1px solid #f0edef;justify-content:flex-end;gap:3px;padding:5px 7px 7px;display:flex}.professional-page-actions button{color:#81777c;background:0 0;border:0;border-radius:6px;place-items:center;width:27px;height:27px;padding:0;display:grid}.professional-page-actions button:hover{color:var(--wine);background:var(--wine-soft)}.professional-canvas-area{background:#e9e7e9;grid-template-rows:52px minmax(0,1fr);min-width:0;min-height:0;display:grid}.professional-canvas-toolbar{background:#f8f7f8;border-bottom:1px solid #dcd8da;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:0 14px;display:flex}.professional-toolbar-left{align-items:center;gap:7px;min-width:0;display:flex}.professional-toolbar-left label{align-items:center;gap:6px;display:flex}.professional-toolbar-left label>span{color:#81787d;font-size:7px}.professional-toolbar-left select{color:#554d51;background:#fff;border:1px solid #dcd7da;border-radius:7px;min-height:31px;padding:0 8px;font-size:8px}.professional-toolbar-left>button{color:#655d61;background:#fff;border:1px solid #ddd8db;border-radius:7px;align-items:center;gap:5px;min-height:31px;padding:0 9px;font-size:8px;display:flex}.professional-zoom{background:#efedef;border:1px solid #d9d5d7;border-radius:8px;grid-template-columns:29px 42px 29px;align-items:center;padding:3px;display:grid}.professional-zoom button{color:#756c71;background:0 0;border:0;border-radius:6px;place-items:center;width:29px;height:28px;padding:0;display:grid}.professional-zoom span{color:#685f64;text-align:center;font-size:8px}.professional-stage-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-width:0;min-height:0;padding:36px;overflow:auto}.professional-page-scale-shell{margin:0 auto;position:relative}.professional-page-canvas{transform-origin:0 0;background:#fffefd;position:absolute;top:0;left:0;overflow:hidden;box-shadow:0 8px 28px #2e222726}.professional-frame{box-sizing:border-box;touch-action:none;border:1px solid #50464b3d;position:absolute;overflow:hidden}.professional-frame:hover{border-color:#943c5580}.professional-frame.selected{border:2px solid var(--wine);overflow:visible;box-shadow:0 0 0 1px #ffffffbf}.professional-frame-text{box-sizing:border-box;white-space:pre-wrap;width:100%;height:100%;padding:5px;overflow:hidden}.professional-frame.image{background:#f3f0f2}.professional-frame.image img{object-fit:cover;width:100%;height:100%;display:block}.professional-frame-image-empty{color:#999095;align-content:center;place-items:center;gap:5px;width:100%;height:100%;font-family:Inter,sans-serif;font-size:9px;display:grid}.professional-frame-move{color:#fff;background:var(--wine);border-radius:50%;place-items:center;width:22px;height:22px;display:grid;position:absolute;top:-12px;left:-12px}.professional-frame-resize{border:3px solid var(--wine);touch-action:none;background:#fff;border-radius:50%;width:16px;height:16px;padding:0;position:absolute;bottom:-9px;right:-9px}.professional-properties-scroll{padding-left:17px;padding-right:17px}.professional-property-stack{gap:16px;display:grid}.professional-geometry-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.professional-geometry-grid label{gap:5px;display:grid}.professional-align-buttons{background:#f3f0f2;border:1px solid #e0dbde;border-radius:8px;grid-template-columns:repeat(4,1fr);gap:3px;padding:3px;display:grid}.professional-align-buttons button{color:#766d72;background:0 0;border:0;border-radius:6px;place-items:center;min-height:34px;display:grid}.professional-align-buttons button.active{color:var(--wine);background:#fff}.professional-delete-frame{color:#99475d;background:#fff7f9;border:1px solid #943c552e;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:38px;font-size:8px;display:flex}.professional-page-info-card{background:#f8f6f7;border:1px solid #e3dee1;border-radius:9px;align-content:center;gap:3px;min-height:62px;padding:11px;display:grid}.professional-page-info-card strong{font-size:10px}.professional-page-info-card span{color:#948b90;font-size:8px}.professional-property-action{min-height:38px;color:var(--wine);background:#fff;border:1px solid #943c5533;border-radius:8px;justify-content:center;align-items:center;gap:6px;font-size:8px;display:flex}.professional-inline-error,.professional-layout-error{color:#9f4056}.professional-layout-loading,.professional-layout-error{place-self:center;place-items:center;gap:9px;display:grid}.professional-layout-error{text-align:center;max-width:420px;padding:25px}@media (width<=1050px){.professional-layout-body{grid-template-columns:235px minmax(0,1fr) 245px}}@media (width<=820px){.professional-layout-body{grid-template-columns:220px minmax(540px,1fr) 230px;overflow-x:auto}.professional-stage-scroll{padding:24px}}.professional-portrait-inspector-toggle{display:none!important}.professional-portrait-backdrop{display:none}@media (orientation:portrait) and (width<=1100px){.professional-layout-body{grid-template-columns:220px minmax(0,1fr);position:relative;overflow:hidden}.professional-left-panel{grid-column:1;min-width:0}.professional-canvas-area{grid-column:2;width:100%;min-width:0}.professional-stage-scroll{padding:24px 16px;overflow:auto}.professional-page-scale-shell{margin:0 auto}.professional-properties{z-index:70;border-left:1px solid #dad6d9;grid-column:auto;width:min(310px,82vw);transition:transform .18s;position:absolute;top:0;bottom:0;right:0;transform:translate(105%);box-shadow:-14px 0 34px #30242921}.professional-properties.portrait-open{transform:translate(0)}.professional-portrait-backdrop{z-index:60;pointer-events:none;opacity:0;background:#31272c1f;border:0;padding:0;transition:opacity .18s;display:block;position:absolute;inset:0}.professional-portrait-backdrop.show{pointer-events:auto;opacity:1}.professional-toolbar-left .professional-portrait-inspector-toggle{display:flex!important}.professional-canvas-toolbar{gap:8px;padding:0 10px}.professional-toolbar-left{gap:5px}.professional-toolbar-left label>span{display:none}.professional-toolbar-left select{max-width:155px}.professional-toolbar-left>button{padding:0 7px}.professional-layout-body{overflow-x:hidden}}@media (orientation:portrait) and (width<=780px){.professional-layout-body{grid-template-columns:190px minmax(0,1fr)}.professional-left-scroll{padding-left:11px;padding-right:11px}.professional-canvas-toolbar{min-width:0}.professional-toolbar-left select{max-width:128px}.professional-toolbar-left>button{font-size:0}.professional-toolbar-left>button svg{margin:0}}.professional-toolbar-right{justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.professional-view-tools{background:#efedef;border:1px solid #d9d5d7;border-radius:8px;align-items:center;gap:2px;padding:3px;display:flex}.professional-view-tools button{color:#756d71;background:0 0;border:0;border-radius:6px;place-items:center;width:30px;height:28px;padding:0;display:grid}.professional-view-tools button.active{color:var(--wine);background:#fff;box-shadow:0 1px 3px #2a1f2414}.professional-stage-scroll{background:#dedcdf}.professional-page-ruler-wrap{margin:0 auto;position:relative}.professional-ruler-corner{z-index:40;color:#8c8388;background:#f1eff0;border-bottom:1px solid #cbc6c9;border-right:1px solid #cbc6c9;place-items:center;width:24px;height:24px;font-size:6px;display:grid;position:absolute;top:0;left:0}.professional-ruler{z-index:39;color:#756d71;touch-action:none;cursor:crosshair;background:#f1eff0;position:absolute;overflow:hidden}.professional-ruler.horizontal{background-image:repeating-linear-gradient(90deg,#0000 0 9px,#48404452 9px 10px);border-bottom:1px solid #cbc6c9;width:calc(100% - 24px);height:24px;top:0;left:24px}.professional-ruler.vertical{background-image:repeating-linear-gradient(#0000 0 9px,#48404452 9px 10px);border-right:1px solid #cbc6c9;width:24px;height:calc(100% - 24px);top:24px;left:0}.professional-ruler span{color:#746c70;font-size:6px;line-height:1;position:absolute}.professional-ruler.horizontal span{top:3px;transform:translate(2px)}.professional-ruler.vertical span{writing-mode:vertical-rl;left:3px;transform:translateY(2px)}.professional-ruler span.major{font-weight:650}.professional-page-ruler-wrap .professional-page-scale-shell{margin:0;position:absolute}.professional-page-canvas{outline:1px solid #40373b2e}.professional-guide,.professional-smart-guide{z-index:9000;pointer-events:none;position:absolute}.professional-guide.vertical,.professional-smart-guide.vertical{width:0;top:0;bottom:0}.professional-guide.horizontal,.professional-smart-guide.horizontal{height:0;left:0;right:0}.professional-guide{border-style:solid;border-color:#21a6d2}.professional-guide.vertical{border-left-width:1px}.professional-guide.horizontal{border-top-width:1px}.professional-guide.draft{opacity:.95;border-width:2px;border-color:#087fab}.professional-smart-guide{border-style:solid;border-color:#dc3998}.professional-smart-guide.vertical{border-left-width:1px}.professional-smart-guide.horizontal{border-top-width:1px}.professional-frame{border-color:#415bb580}.professional-frame.selected{border-color:#3f60c2;box-shadow:0 0 0 1px #fffc}.professional-frame-move{background:#3f60c2}.professional-frame-resize{border-color:#3f60c2}.professional-guide-manager{background:#f8f6f7;border:1px solid #e1dcdf;border-radius:9px;gap:9px;padding:11px;display:grid}.professional-guide-manager>header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.professional-guide-manager>header>div:first-child{gap:2px;display:grid}.professional-guide-manager strong{color:#50484c;font-size:9px}.professional-guide-manager header span{color:#92898e;font-size:7px;line-height:1.4}.professional-guide-manager header>div:last-child{gap:3px;display:flex}.professional-guide-manager header button{min-width:30px;height:27px;color:var(--wine);background:#fff;border:1px solid #943c552e;border-radius:6px;padding:0 6px;font-size:7px;font-weight:700}.professional-guide-manager>p{color:#999095;margin:0;font-size:8px}.professional-guide-list{gap:4px;display:grid}.professional-guide-list>div{grid-template-columns:20px minmax(0,1fr) auto 28px;align-items:center;gap:4px;min-height:31px;display:grid}.professional-guide-list span{color:#177fa7;background:#e8f8fe;border-radius:4px;place-items:center;width:20px;height:20px;font-size:7px;font-weight:750;display:grid}.professional-guide-list input{color:#4e474b;-webkit-user-select:text;user-select:text;background:#fff;border:1px solid #ddd8db;border-radius:6px;width:100%;min-height:28px;padding:0 7px;font-size:8px}.professional-guide-list small{color:#938a8f;font-size:7px}.professional-guide-list button{color:#8b606b;background:0 0;border:0;border-radius:6px;place-items:center;width:28px;height:28px;padding:0;display:grid}@media (orientation:portrait) and (width<=1100px){.professional-canvas-toolbar{min-width:0;overflow:auto hidden}.professional-toolbar-left,.professional-toolbar-right{flex:none}.professional-toolbar-left select{max-width:142px}}.physical-mode-switch{background:#f5f1f3;border:1px solid #e5dde1;border-radius:9px;align-items:center;gap:2px;padding:3px;display:inline-flex}.physical-mode-switch button{color:#776d72;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:29px;padding:0 9px;font-size:8px;font-weight:700;display:inline-flex}.physical-mode-switch button.active{color:#fff;background:#943c55;box-shadow:0 1px 4px #502d3929}.physical-left-tabs button:first-child.active{color:#8d4058}.physical-print-toolbar{background:#fffffff7;min-width:0;padding:7px 9px}.physical-toolbar-scroll{scrollbar-width:thin;align-items:center;gap:7px;width:100%;display:flex;overflow:auto hidden}.physical-toolbar-group{border-right:1px solid #e9e3e6;flex:none;align-items:center;gap:4px;min-height:36px;padding-right:7px;display:inline-flex}.physical-toolbar-group:last-child{border-right:0;padding-right:0}.physical-toolbar-group button{color:#6f666b;white-space:nowrap;background:#fff;border:1px solid #dfd9dc;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-height:31px;padding:0 8px;font-size:8px;font-weight:650;display:inline-flex}.physical-toolbar-group button.active{color:#8a3e56;background:#faf0f3;border-color:#e2c7d0}.physical-toolbar-group button:disabled{cursor:not-allowed;opacity:.46}.physical-toolbar-group label{color:#92888d;text-transform:uppercase;gap:2px;min-width:105px;font-size:6px;font-weight:700;display:grid}.physical-toolbar-group select{color:#5d5458;text-transform:none;background:#fff;border:1px solid #ddd7da;border-radius:6px;outline:0;max-width:150px;min-height:29px;padding:0 7px;font-size:8px}.physical-toolbar-group.production{margin-left:auto}.physical-preflight-button.ok{color:#4e7f5b!important;border-color:#cfe2d4!important}.physical-preflight-button.warning{color:#976c25!important;border-color:#e7d5a9!important}.physical-preflight-button.error{color:#a24755!important;border-color:#e8c6cd!important}.physical-export-print{color:#fff!important;background:#943c55!important;border-color:#943c55!important}.physical-preflight-panel{z-index:20;background:#fff;border-bottom:1px solid #e8e1e4;gap:9px;max-height:245px;padding:11px 13px;display:grid;overflow-y:auto;box-shadow:0 8px 18px #3e2d350f}.physical-preflight-panel>header{justify-content:space-between;align-items:center;gap:12px;display:flex}.physical-preflight-panel>header>div{gap:1px;display:grid}.physical-preflight-panel>header span{color:#9b9095;text-transform:uppercase;font-size:7px}.physical-preflight-panel>header strong{color:#51484c;font-size:11px}.physical-preflight-panel>header button{color:#766b70;background:#fff;border:1px solid #dfd9dc;border-radius:6px;min-height:28px;padding:0 8px;font-size:7px}.physical-preflight-list{gap:5px;display:grid}.physical-preflight-list article{border:1px solid #e7e1e4;border-radius:8px;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:48px;padding:8px 9px;display:grid}.physical-preflight-list article.warning{color:#936b27;background:#fffaf1;border-color:#eadbb9}.physical-preflight-list article.error{color:#9f4554;background:#fff5f6;border-color:#eccfd5}.physical-preflight-list article>div{gap:2px;display:grid}.physical-preflight-list article strong{color:#51484c;font-size:8px}.physical-preflight-list article span{color:#877d82;font-size:7px;line-height:1.45}.physical-preflight-ready{color:#588664;text-align:center;align-content:center;place-items:center;gap:4px;min-height:72px;display:grid}.physical-preflight-ready strong{font-size:9px}.physical-preflight-ready span{color:#958b90;font-size:7px}.physical-stage-scroll{background:radial-gradient(circle,#ffffff38,#0000 55%),#e7e5e6}.physical-stage-view{justify-content:center;align-items:flex-start;gap:26px;min-width:max-content;margin:0 auto;padding:38px;display:flex}.physical-stage-view.spread{gap:7px}.physical-facing-page{cursor:pointer;background:0 0;border:0;border-radius:0;flex:none;padding:0;position:relative;overflow:visible}.physical-facing-page:disabled{opacity:1;cursor:default}.physical-facing-page-inner{transform-origin:0 0;background:#fffefd;position:absolute;top:0;left:0;overflow:visible;box-shadow:0 8px 24px #372a3121}.physical-facing-page-number{color:#aaa1a5;font-family:Arial,sans-serif;font-size:8px;position:absolute;bottom:7px;right:10px}.physical-facing-page-inner.even .physical-facing-page-number{left:10px;right:auto}.physical-facing-blank{color:#b5acb0;background:#f8f5f6;border:1px dashed #dfd8dc;place-items:center;font-size:9px;display:grid;position:absolute;inset:0}.physical-passive-frame{pointer-events:none!important;border-color:#0000!important}.physical-print-page{overflow:visible!important}.physical-trim-outline,.physical-safe-area,.physical-bleed-outline,.physical-gutter-danger{pointer-events:none;position:absolute}.physical-trim-outline{z-index:4;border:1px solid #3e7e9d85;inset:0}.physical-safe-area{z-index:3;border:1px dashed #41829fa8}.physical-bleed-outline{top:calc(var(--physical-bleed-size) * -1);bottom:calc(var(--physical-bleed-size) * -1);z-index:5;border:1px dashed #bc4957c2}.physical-bleed-outline.odd{left:0;right:calc(var(--physical-bleed-size) * -1)}.physical-bleed-outline.even{left:calc(var(--physical-bleed-size) * -1);right:0}.physical-gutter-danger{color:#77495b7a;z-index:2;background:repeating-linear-gradient(45deg,#943c5505,#943c5505 7px,#943c550e 7px 14px);justify-content:center;align-items:center;display:flex;top:0;bottom:0;overflow:hidden}.physical-gutter-danger.odd{border-right:1px dashed #943c5552;left:0}.physical-gutter-danger.even{border-left:1px dashed #943c5552;right:0}.physical-gutter-danger span{writing-mode:vertical-rl;letter-spacing:.08em;text-transform:uppercase;font-size:7px;font-weight:700}.physical-document-settings{background:#faf8f9;border:1px solid #e8e1e4;border-radius:10px;gap:11px;padding:11px;display:grid}.physical-document-settings>header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.physical-document-settings>header>div{gap:2px;display:grid}.physical-document-settings>header>div span{color:#a0969b;text-transform:uppercase;font-size:6px;font-weight:700}.physical-document-settings>header strong{color:#554b50;font-size:10px}.physical-document-settings>header>span{color:#968c91;text-align:right;font-size:7px}.physical-document-grid,.physical-margin-grid{grid-template-columns:1fr 1fr;gap:7px;display:grid}.physical-toggle-row{background:#fff;border:1px solid #e5dfe2;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:50px;padding:8px 9px;display:flex}.physical-toggle-row>div{gap:2px;display:grid}.physical-toggle-row strong{color:#5b5156;font-size:8px}.physical-toggle-row span{color:#958b90;font-size:7px;line-height:1.35}.physical-toggle-row input{accent-color:#943c55;flex:none;width:16px;height:16px}.physical-margin-grid>label{gap:4px;display:grid}.physical-margin-grid>label>span{color:#82787d;font-size:7px;font-weight:650}.physical-measure-input{background:#fff;border:1px solid #ddd7da;border-radius:7px;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:34px;display:grid;overflow:hidden}.physical-measure-input input{color:#5a5155;background:0 0;border:0;outline:0;width:100%;min-width:0;height:32px;padding:0 7px;font-size:8px}.physical-measure-input input:disabled{color:#8b8086;background:#f4f1f2}.physical-measure-input>span{color:#978d92;padding:0 7px;font-size:7px}.physical-auto-margin-note{color:#765e68;background:#f8eef2;border:1px solid #ead5dc;border-radius:7px;gap:2px;padding:8px 9px;display:grid}.physical-auto-margin-note strong{font-size:8px}.physical-auto-margin-note span{font-size:7px}.physical-page-settings-divider{color:#958b90;letter-spacing:.07em;text-transform:uppercase;border-top:1px solid #ebe5e8;padding-top:6px;font-size:7px;font-weight:700}@media (orientation:landscape) and (width>=1101px){.professional-layout-body{grid-template-columns:minmax(230px,260px) minmax(0,1fr) minmax(255px,285px)}}@media (orientation:portrait) and (width<=1100px){.physical-mode-switch button{width:34px;min-width:34px;padding:0;font-size:0}.physical-toolbar-scroll{gap:5px}.physical-toolbar-group{gap:3px;padding-right:5px}.physical-toolbar-group button{min-width:32px}.physical-toolbar-group.global label{min-width:100px}.physical-toolbar-group.global label>span{display:none}.physical-toolbar-group.global select{max-width:120px}.physical-export-print{display:none!important}.physical-stage-view{justify-content:flex-start;padding:30px 20px}.physical-preflight-panel{max-height:220px}}@media (width<=650px){.physical-document-grid,.physical-margin-grid{grid-template-columns:1fr}}.professional-layout-body,.professional-canvas-area{min-width:0}.professional-properties{background:#fff;border-left:1px solid #e2dcdf;min-width:0;overflow:hidden}.professional-properties-scroll{width:100%;min-width:0;height:100%;overflow:hidden auto}.physical-fixed-inspector-toggle{z-index:62;color:#744858;background:#fffffff7;border:1px solid #dfcbd2;border-radius:8px;justify-content:center;align-items:center;gap:5px;min-height:35px;padding:0 10px;font-size:8px;font-weight:700;display:none;position:fixed;top:154px;right:12px;box-shadow:0 5px 16px #412b341f}.physical-fixed-inspector-toggle.active{color:#fff;background:#943c55;border-color:#943c55}@media (width>=1181px){.professional-layout-body{grid-template-columns:minmax(225px,260px) minmax(0,1fr) minmax(250px,285px)!important}.professional-properties{visibility:visible!important;opacity:1!important;width:auto!important;max-width:none!important;display:block!important;position:relative!important;inset:auto!important;transform:none!important}.professional-portrait-backdrop,.physical-fixed-inspector-toggle{display:none!important}}@media (orientation:landscape) and (width>=850px) and (width<=1180px){.professional-layout-body{grid-template-columns:220px minmax(0,1fr) 245px!important}.professional-left-panel{min-width:0}.professional-properties{z-index:2;visibility:visible!important;opacity:1!important;width:auto!important;max-width:none!important;height:auto!important;display:block!important;position:relative!important;inset:auto!important;transform:none!important}.professional-portrait-backdrop,.physical-fixed-inspector-toggle{display:none!important}.professional-stage-scroll{min-width:0}}@media (orientation:portrait) and (width<=1180px){.professional-layout-body{grid-template-columns:230px minmax(0,1fr)!important}.physical-fixed-inspector-toggle{display:inline-flex}.professional-properties{transition:transform .18s;box-shadow:-12px 0 35px #30222929;z-index:70!important;visibility:visible!important;opacity:1!important;width:min(330px,88vw)!important;max-width:none!important;height:100dvh!important;display:block!important;position:fixed!important;inset:0 0 0 auto!important;transform:translate(102%)!important}.professional-properties.portrait-open{transform:translate(0)!important}.professional-portrait-backdrop{z-index:65;background:#261c2133;border:0;padding:0;display:none;position:fixed;inset:0}.professional-portrait-backdrop.show{display:block}}@media (orientation:portrait) and (width<=820px){.professional-layout-body{grid-template-columns:minmax(0,1fr)!important}.professional-left-panel{display:none}.physical-fixed-inspector-toggle{top:150px;right:8px}}@media (orientation:portrait) and (width<=1180px){.professional-layout-body{grid-template-columns:220px minmax(0,1fr)!important}.professional-left-panel{background:#fff;visibility:visible!important;opacity:1!important;z-index:2!important;width:auto!important;min-width:0!important;height:auto!important;display:grid!important;position:relative!important;inset:auto!important;transform:none!important}.professional-left-tabs{display:grid!important}.professional-left-scroll{min-width:0;overflow:hidden auto}.professional-canvas-area{width:auto;min-width:0}}@media (orientation:portrait) and (width<=820px){.professional-layout-body{grid-template-columns:205px minmax(0,1fr)!important}.professional-left-panel{visibility:visible!important;opacity:1!important;display:grid!important;position:relative!important;transform:none!important}.physical-fixed-inspector-toggle{right:8px}}.physical-mode-switch{display:none!important}.physical-top-panel-actions{justify-content:center;align-items:center;gap:4px;min-width:0;display:inline-flex}.physical-top-panel-actions button{color:#776d72;background:#fff;border:1px solid #e3dcdf;border-radius:8px;justify-content:center;align-items:center;gap:5px;min-height:32px;padding:0 10px;font-size:8px;font-weight:700;display:inline-flex}.physical-top-panel-actions button.active{color:#fff;background:#943c55;border-color:#943c55;box-shadow:0 2px 6px #5b2e3d26}.professional-layout-body{grid-template-columns:minmax(0,1fr)!important;position:relative!important}.professional-canvas-area{width:100%;min-width:0;grid-column:1!important}.professional-left-panel.physical-left-drawer{background:#fff;border-right:1px solid #ded8db;transition:transform .18s;box-shadow:12px 0 35px #36272e24;z-index:80!important;visibility:visible!important;opacity:1!important;width:min(285px,84vw)!important;height:auto!important;display:grid!important;position:fixed!important;inset:72px auto 0 0!important;transform:translate(-102%)!important}.physical-left-drawer .professional-left-tabs{display:none!important}.physical-left-drawer .professional-left-scroll{height:100%;min-height:0;padding-top:7px;overflow:hidden auto}.professional-properties.physical-inspector-drawer{background:#fff;border-right:1px solid #ded8db;transition:transform .18s;overflow:hidden;box-shadow:12px 0 35px #36272e24;z-index:80!important;visibility:visible!important;opacity:1!important;border-left:0!important;width:min(305px,86vw)!important;max-width:none!important;height:auto!important;display:block!important;position:fixed!important;inset:72px auto 0 0!important;transform:translate(-102%)!important}.physical-inspector-drawer .professional-properties-scroll{height:100%;min-height:0;overflow:hidden auto}.professional-portrait-backdrop.physical-workspace-backdrop{background:#271d221f;border:0;padding:0;z-index:75!important;display:none!important;position:fixed!important;inset:72px 0 0!important}.professional-portrait-backdrop.physical-workspace-backdrop.show{display:block!important}.physical-fixed-inspector-toggle{display:none!important}@media (width>=1181px){.professional-layout-body{grid-template-columns:minmax(0,1fr)!important}.professional-left-panel.physical-left-drawer,.professional-properties.physical-inspector-drawer{position:fixed!important;inset:72px auto 0 0!important;transform:translate(-102%)!important}.professional-left-panel.physical-left-drawer.open,.professional-properties.physical-inspector-drawer.portrait-open{transform:translate(0)!important}}@media (orientation:landscape) and (width>=850px) and (width<=1180px){.professional-layout-body{grid-template-columns:minmax(0,1fr)!important}.professional-left-panel.physical-left-drawer,.professional-properties.physical-inspector-drawer{position:fixed!important;inset:72px auto 0 0!important;transform:translate(-102%)!important}.professional-left-panel.physical-left-drawer.open,.professional-properties.physical-inspector-drawer.portrait-open{transform:translate(0)!important}}@media (orientation:portrait) and (width<=1180px){.professional-layout-body{grid-template-columns:minmax(0,1fr)!important}.professional-left-panel.physical-left-drawer,.professional-properties.physical-inspector-drawer{position:fixed!important;inset:72px auto 0 0!important;transform:translate(-102%)!important}.professional-left-panel.physical-left-drawer.open,.professional-properties.physical-inspector-drawer.portrait-open{transform:translate(0)!important}}@media (width>=651px){.physical-top-panel-actions button span{display:inline!important}}@media (width<=650px){.physical-top-panel-actions button{width:36px;min-width:36px;padding:0}.physical-top-panel-actions button span{display:none}}.physical-stage-view.spread{justify-content:center!important;gap:3px!important}.physical-stage-view.spread>.professional-page-ruler-wrap,.physical-stage-view.spread>.physical-facing-page{flex:none!important;margin-left:0!important;margin-right:0!important}.physical-stage-view.spread>.professional-page-ruler-wrap:has(.physical-print-page.odd){margin-left:-18px!important}@media (orientation:portrait){.physical-stage-view.spread{gap:1px!important}}@media (orientation:landscape){.physical-stage-view.spread{gap:2px!important}}.professional-properties.physical-inspector-drawer{background:#fff;transition:transform .18s;overflow:hidden;box-shadow:-12px 0 35px #36272e24;z-index:80!important;visibility:visible!important;opacity:1!important;border-left:1px solid #ded8db!important;border-right:0!important;width:min(305px,86vw)!important;max-width:none!important;height:auto!important;display:block!important;position:fixed!important;inset:72px 0 0 auto!important;transform:translate(102%)!important}.professional-properties.physical-inspector-drawer.portrait-open{transform:translate(0)!important}.professional-left-panel.physical-left-drawer{box-shadow:12px 0 35px #36272e24;left:0!important;right:auto!important;transform:translate(-102%)!important}.professional-left-panel.physical-left-drawer.open{transform:translate(0)!important}.professional-portrait-backdrop.physical-workspace-backdrop,.professional-portrait-backdrop.physical-workspace-backdrop.show{pointer-events:none!important;background:0 0!important;display:none!important}@media (width>=1181px){.professional-properties.physical-inspector-drawer{left:auto!important;right:0!important;transform:translate(102%)!important}.professional-properties.physical-inspector-drawer.portrait-open{transform:translate(0)!important}}@media (orientation:landscape) and (width>=850px) and (width<=1180px){.professional-properties.physical-inspector-drawer{left:auto!important;right:0!important;transform:translate(102%)!important}.professional-properties.physical-inspector-drawer.portrait-open{transform:translate(0)!important}}@media (orientation:portrait) and (width<=1180px){.professional-properties.physical-inspector-drawer{width:min(305px,86vw)!important;left:auto!important;right:0!important;transform:translate(102%)!important}.professional-properties.physical-inspector-drawer.portrait-open{transform:translate(0)!important}}.physical-indesign-shell{color:#e8e8e8;background:#4d4d50;grid-template-rows:52px 31px minmax(0,1fr)!important}.physical-indesign-shell .professional-layout-topbar{color:#ededed;background:#3f3f42;border-bottom:1px solid #252527;min-height:52px}.physical-indesign-shell .professional-identity strong{color:#f0f0f0}.physical-indesign-shell .professional-identity span,.physical-indesign-shell .professional-save-state{color:#aaa}.physical-indesign-shell .professional-back{color:#eee;background:#49494c;border-color:#5a5a5d}.physical-indesign-shell .physical-top-panel-actions button{color:#ddd;background:#4b4b4e;border-color:#606063;border-radius:4px}.physical-indesign-shell .physical-top-panel-actions button:hover{background:#58585b}.physical-indesign-shell .physical-top-panel-actions button.active{color:#fff;background:#943c55;border-color:#b45b75}.physical-indesign-menubar{z-index:110;color:#e8e8e8;background:#353538;border-bottom:1px solid #242426;justify-content:space-between;align-items:center;gap:12px;min-width:0;height:31px;padding:0 9px;display:flex;position:relative}.physical-indesign-menu-items{scrollbar-width:none;align-items:center;min-width:0;display:flex;overflow-x:auto}.physical-indesign-menu-items::-webkit-scrollbar{display:none}.physical-menu-wrap{flex:none;position:relative}.physical-menu-wrap>button{color:#e2e2e2;background:0 0;border:0;border-radius:0;height:30px;padding:0 9px;font-size:10px;font-weight:500}.physical-menu-wrap>button:hover,.physical-menu-wrap>button.active{color:#fff;background:#505053}.physical-dropdown-menu{z-index:150;background:#f4f4f4;border:1px solid #aaa;min-width:225px;padding:5px;display:grid;position:absolute;top:30px;left:0;box-shadow:0 8px 22px #0000004d}.physical-dropdown-menu button{color:#242424;text-align:left;background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:12px;min-height:30px;padding:0 9px;font-size:10px;display:flex}.physical-dropdown-menu button:hover:not(:disabled){color:#fff;background:#943c55}.physical-dropdown-menu button:disabled{color:#999}.physical-dropdown-menu button.danger{color:#9e3f4d}.physical-dropdown-menu small{color:#aaa;font-size:7px}.physical-dropdown-menu button:hover:not(:disabled) small{color:#fffc}.physical-menu-separator{background:#d3d3d3;height:1px;margin:4px 5px}.physical-menu-info{color:#333;gap:4px;width:250px;padding:9px;display:grid}.physical-menu-info strong{font-size:10px}.physical-menu-info span{color:#666;font-size:9px;line-height:1.45}.physical-indesign-menubar-right{color:#a8a8a8;flex:none;align-items:center;gap:10px;font-size:8px;display:inline-flex}.physical-indesign-shell .professional-layout-body{background:#555558;min-height:0;position:relative;overflow:hidden}.physical-indesign-shell .professional-canvas-area{box-sizing:border-box;padding-left:43px}.physical-tool-rail{z-index:65;background:#3e3e41;border-right:1px solid #29292b;flex-direction:column;align-items:center;gap:3px;width:43px;padding:6px 4px;display:flex;position:absolute;top:0;bottom:0;left:0;box-shadow:2px 0 4px #0000001f}.physical-tool-rail button{color:#e0e0e0;background:0 0;border:1px solid #0000;border-radius:3px;place-items:center;width:34px;height:34px;padding:0;display:grid;position:relative}.physical-tool-rail button:hover{background:#555558;border-color:#68686b}.physical-tool-rail button.active{color:#fff;background:#943c55;border-color:#b45a75}.physical-tool-rail button>span:not(.physical-hand-symbol){z-index:200;color:#fff;background:#252527;border:1px solid #626265;border-radius:3px;width:max-content;padding:5px 7px;font-size:8px;display:none;position:absolute;top:50%;left:42px;transform:translateY(-50%)}.physical-tool-rail button:hover>span:not(.physical-hand-symbol){display:block}.physical-hand-symbol{font-size:16px}.physical-tool-separator{background:#626265;width:28px;height:1px;margin:3px 0}.physical-indesign-shell .physical-print-toolbar{color:#e9e9e9;background:#48484b;border-bottom:1px solid #2d2d2f;min-height:48px;padding:4px 7px}.physical-indesign-shell .physical-toolbar-scroll{align-items:center}.physical-tool-context{border-right:1px solid #666669;flex:none;align-items:center;gap:8px;min-height:38px;padding:0 9px 0 5px;display:inline-flex}.physical-tool-context-label{gap:1px;min-width:65px;display:grid}.physical-tool-context-label span{color:#a6a6a8;text-transform:uppercase;font-size:6px}.physical-tool-context-label strong{color:#f1f1f1;font-size:9px}.physical-tool-hint{color:#bdbdbf;white-space:nowrap;text-overflow:ellipsis;max-width:190px;font-size:8px;overflow:hidden}.physical-transform-controls{align-items:center;gap:4px;display:inline-flex}.physical-transform-controls label{color:#bcbcbf;background:#3b3b3e;border:1px solid #68686b;border-radius:3px;grid-template-columns:17px 1fr;align-items:center;min-width:58px;height:28px;display:grid;overflow:hidden}.physical-transform-controls label span{place-items:center;font-size:7px;display:grid}.physical-transform-controls input{color:#f3f3f3;background:#505053;border:0;outline:0;width:100%;min-width:0;height:26px;padding:0 4px;font-size:8px}.physical-context-primary,.physical-context-zoom button{color:#eee;background:#565659;border:1px solid #707073;border-radius:3px;align-items:center;gap:5px;min-height:29px;padding:0 8px;font-size:8px;display:inline-flex}.physical-context-primary:hover,.physical-context-zoom button:hover:not(:disabled){background:#646467}.physical-context-zoom{align-items:center;gap:5px;display:inline-flex}.physical-context-zoom strong{color:#f3f3f3;text-align:center;min-width:38px;font-size:8px}.physical-indesign-shell .physical-toolbar-group{border-color:#646467}.physical-indesign-shell .physical-toolbar-group button{color:#e2e2e2;background:#505053;border-color:#67676a;border-radius:3px}.physical-indesign-shell .physical-toolbar-group button.active{color:#fff;background:#943c55;border-color:#b55b75}.physical-indesign-shell .physical-toolbar-group select{color:#eee;background:#505053;border-color:#69696c;border-radius:3px}.physical-indesign-shell .physical-stage-scroll,.physical-indesign-shell .professional-stage-scroll{background:#5a5a5d!important}.physical-indesign-shell .physical-stage-view{background:0 0}.physical-indesign-shell .professional-left-panel.physical-left-drawer,.physical-indesign-shell .professional-properties.physical-inspector-drawer{color:#e8e8e8;background:#444447!important;border-color:#29292b!important}.physical-indesign-shell .professional-left-panel.physical-left-drawer{left:43px!important}.physical-indesign-shell .professional-panel-heading span,.physical-indesign-shell .professional-property-heading span{color:#b2b2b4}.physical-indesign-shell .professional-panel-heading h2,.physical-indesign-shell .professional-property-heading h2,.physical-indesign-shell .professional-properties h2{color:#f2f2f2}.physical-indesign-shell .professional-panel-heading p,.physical-indesign-shell .professional-property-heading p,.physical-indesign-shell .professional-properties p{color:#bdbdbf}.physical-indesign-shell .professional-select select,.physical-indesign-shell .professional-field input,.physical-indesign-shell .professional-field select,.physical-indesign-shell .professional-field textarea,.physical-indesign-shell .professional-search,.physical-indesign-shell .professional-search input{color:#f0f0f0;background:#505053;border-color:#69696c}.physical-indesign-shell .professional-page-card,.physical-indesign-shell .professional-unit-card,.physical-indesign-shell .professional-asset-card,.physical-indesign-shell .physical-document-settings,.physical-indesign-shell .physical-toggle-row{color:#ededed;background:#4d4d50;border-color:#666669}.physical-indesign-shell .professional-page-card.active{border-color:#c26782;box-shadow:0 0 0 1px #943c5573}.physical-indesign-shell .professional-page-card strong,.physical-indesign-shell .professional-unit-card strong,.physical-indesign-shell .professional-asset-card strong{color:#f2f2f2}.physical-indesign-shell .professional-page-card small,.physical-indesign-shell .professional-unit-card small{color:#aaa}.physical-indesign-shell .professional-new-page{border-radius:3px}.physical-indesign-shell .professional-ruler,.physical-indesign-shell .professional-ruler-corner{color:#d2d2d2;background:#3f3f42;border-color:#252527}.physical-indesign-shell .professional-ruler-tick{border-color:#77777a}@media (orientation:portrait) and (width<=1180px){.physical-indesign-shell{grid-template-rows:52px 31px minmax(0,1fr)!important}.physical-indesign-shell .professional-canvas-area{padding-left:0}.physical-tool-rail{border:1px solid #29292b;border-radius:7px;flex-direction:row;width:auto;height:44px;padding:4px;position:fixed;inset:auto auto 12px 50%;transform:translate(-50%);box-shadow:0 8px 24px #00000038}.physical-tool-rail button{width:34px;height:34px}.physical-tool-rail button>span:not(.physical-hand-symbol){display:none!important}.physical-tool-separator{width:1px;height:27px;margin:0 2px}.physical-indesign-shell .professional-left-panel.physical-left-drawer{left:0!important}.physical-indesign-menubar{padding:0 4px}.physical-menu-wrap>button{padding:0 7px;font-size:9px}.physical-indesign-menubar-right{display:none}.physical-tool-context{min-width:max-content}}@media (width<=650px){.physical-menu-wrap>button{padding:0 6px;font-size:8px}.physical-indesign-shell .professional-layout-topbar{padding-left:5px;padding-right:5px}}.physical-indesign-shell .professional-layout-body{position:relative!important}.physical-indesign-shell .physical-tool-rail{z-index:100!important;visibility:visible!important;opacity:1!important;position:absolute!important;top:48px!important;bottom:0!important;left:0!important;transform:none!important}.physical-indesign-shell .professional-left-panel.physical-left-drawer{z-index:90!important;height:auto!important;position:absolute!important;inset:48px auto 0 43px!important;transform:translate(calc(-100% - 44px))!important}.physical-indesign-shell .professional-left-panel.physical-left-drawer.open{transform:translate(0)!important}.physical-indesign-shell .professional-properties.physical-inspector-drawer{z-index:90!important;height:auto!important;position:absolute!important;inset:48px 0 0 auto!important;transform:translate(102%)!important}.physical-indesign-shell .professional-properties.physical-inspector-drawer.portrait-open{transform:translate(0)!important}.physical-indesign-shell .physical-print-toolbar{z-index:105!important;position:relative!important}.physical-indesign-shell .professional-canvas-area{z-index:1;position:relative}@media (orientation:landscape) and (width>=850px){.physical-indesign-shell .physical-tool-rail{flex-direction:column!important;display:flex!important;top:48px!important;bottom:0!important}.physical-indesign-shell .professional-left-panel.physical-left-drawer,.physical-indesign-shell .professional-properties.physical-inspector-drawer{top:48px!important;bottom:0!important}.physical-indesign-shell .professional-left-panel.physical-left-drawer{left:43px!important;right:auto!important}.physical-indesign-shell .professional-left-panel.physical-left-drawer:not(.open){transform:translate(calc(-100% - 44px))!important}.physical-indesign-shell .professional-left-panel.physical-left-drawer.open{transform:translate(0)!important}.physical-indesign-shell .professional-properties.physical-inspector-drawer{left:auto!important;right:0!important}}@media (orientation:portrait) and (width<=1180px){.physical-indesign-shell .physical-tool-rail{position:fixed!important;inset:auto auto 12px 50%!important;transform:translate(-50%)!important}.physical-indesign-shell .professional-left-panel.physical-left-drawer,.physical-indesign-shell .professional-properties.physical-inspector-drawer{position:absolute!important;top:48px!important;bottom:0!important}.physical-indesign-shell .professional-left-panel.physical-left-drawer{left:0!important}.physical-indesign-shell .professional-left-panel.physical-left-drawer:not(.open){transform:translate(-102%)!important}.physical-indesign-shell .professional-left-panel.physical-left-drawer.open{transform:translate(0)!important}}.physical-master-manager,.physical-page-master-settings{color:#ededed;background:#48484b;border:1px solid #666669;border-radius:4px;gap:9px;margin:0 0 12px;padding:10px;display:grid}.physical-master-manager>header,.physical-page-master-settings>header{justify-content:space-between;align-items:center;gap:8px;display:flex}.physical-master-manager>header span,.physical-page-master-settings>header span{color:#aaa;text-transform:uppercase;font-size:7px;display:block}.physical-master-manager>header strong,.physical-page-master-settings>header strong{color:#f1f1f1;font-size:10px}.physical-master-manager>header button{color:#eee;background:#555558;border:1px solid #707073;border-radius:3px;align-items:center;gap:4px;min-height:27px;padding:0 7px;font-size:8px;display:inline-flex}.physical-master-none{color:#eee;text-align:left;background:#414144;border:1px solid #626265;border-radius:3px;gap:2px;min-height:43px;padding:7px 8px;display:grid}.physical-master-none span{font-size:9px;font-weight:700}.physical-master-none small{color:#aaa;font-size:7px}.physical-master-list{gap:5px;display:grid}.physical-master-list>button{color:#eee;text-align:left;background:#4f4f52;border:1px solid #646467;border-radius:3px;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:8px;min-height:54px;padding:6px;display:grid}.physical-master-list>button.active{background:#573e47;border-color:#b05a73}.physical-master-thumb{grid-template-columns:1fr 1fr;gap:2px;height:40px;display:grid}.physical-master-thumb span{color:#555;background:#f7f7f5;border:1px solid #bcbcbc;place-items:start;padding:3px;font-size:7px;font-weight:700;display:grid}.physical-master-list strong{color:#f2f2f2;font-size:9px;display:block}.physical-master-list small{color:#aaa;font-size:7px}.physical-master-editor{border-top:1px solid #67676a;gap:8px;padding-top:9px;display:grid}.physical-master-editor-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.physical-master-editor-title strong{color:#f1f1f1;font-size:9px}.physical-master-editor-title>div{gap:3px;display:inline-flex}.physical-master-editor-title button{color:#ddd;background:#555558;border:1px solid #6c6c6f;border-radius:3px;place-items:center;width:27px;height:27px;display:grid}.physical-master-name-grid,.physical-master-margin-grid{grid-template-columns:1fr 1fr;gap:6px;display:grid}.physical-master-name-grid label,.physical-master-margin-grid label,.physical-numbering-editor label{gap:3px;min-width:0;display:grid}.physical-master-name-grid label>span,.physical-master-margin-grid label>span,.physical-numbering-editor label>span{color:#aaa;font-size:7px}.physical-master-name-grid input,.physical-master-name-grid select,.physical-master-margin-grid input,.physical-numbering-editor input,.physical-numbering-editor select{color:#eee;background:#555558;border:1px solid #707073;border-radius:3px;outline:0;width:100%;min-width:0;min-height:29px;padding:0 6px;font-size:8px}.physical-master-subtitle{color:#c5c5c7;letter-spacing:.06em;text-transform:uppercase;padding-top:3px;font-size:7px;font-weight:700}.physical-master-toggle{background:#414144;border:1px solid #616164;border-radius:3px;justify-content:space-between;align-items:center;gap:8px;min-height:47px;padding:7px;display:flex}.physical-master-toggle>div{gap:2px;display:grid}.physical-master-toggle strong{color:#eee;font-size:8px}.physical-master-toggle span{color:#aaa;font-size:7px}.physical-master-toggle input{accent-color:#943c55;width:15px;height:15px}.physical-master-actions{grid-template-columns:1fr 1fr;gap:5px;display:grid}.physical-master-actions button,.physical-create-section,.physical-section-delete{color:#eee;background:#565659;border:1px solid #707073;border-radius:3px;min-height:30px;padding:0 7px;font-size:8px}.physical-master-actions button:first-child{color:#fff;background:#943c55;border-color:#b75d77}.physical-numbering-editor{gap:7px;display:grid}.physical-section-delete{color:#f0bac4;border-color:#86515d}.physical-book-pages-divider{color:#bbb;letter-spacing:.08em;text-transform:uppercase;border-top:1px solid #666669;margin:10px 0 8px;padding-top:9px;font-size:7px;font-weight:700}.physical-master-columns{z-index:3;pointer-events:none;display:grid;position:absolute}.physical-master-columns span{border-left:1px dashed #ba577561;border-right:1px dashed #ba577561}.physical-master-folio{z-index:12;pointer-events:none;text-align:center;min-width:22px;line-height:1;position:absolute}.physical-master-folio.outer_bottom{bottom:3.2%}.physical-master-folio.outer_bottom.odd{right:5%}.physical-master-folio.outer_bottom.even{left:5%}.physical-master-folio.center_bottom{bottom:3.2%;left:50%;transform:translate(-50%)}.physical-master-folio.outer_top{top:3.2%}.physical-master-folio.outer_top.odd{right:5%}.physical-master-folio.outer_top.even{left:5%}.physical-master-none.active{color:#fff;background:#573e47;border-color:#b05a73;box-shadow:0 0 0 1px #b05a7333}.physical-master-none.active small{color:#d8c3ca}.physical-master-none.active,.physical-master-list>button.active{box-shadow:none;background:#4f4f52;border-color:#646467}.physical-master-none.applied,.physical-master-list>button.applied{color:#fff;background:#573e47;border-color:#b05a73;box-shadow:0 0 0 1px #b05a7333}.physical-master-none.applied small{color:#d8c3ca}.physical-master-list>button.editing:not(.applied){border-color:#858589;box-shadow:inset 3px 0 #8f8f93}.physical-master-list>button.editing:not(.applied):after{content:"Editando";color:#aaa;text-transform:uppercase;justify-self:end;font-size:6px}.physical-text-context-controls{align-items:center;gap:5px;min-width:max-content;display:flex}.physical-text-toolbar-field{color:#b9b9bc;background:#4b4b4e;border:1px solid #666669;border-radius:3px;grid-template-rows:8px 17px;height:31px;padding:2px 5px;display:grid}.physical-text-toolbar-field>span{text-transform:uppercase;font-size:6px;line-height:1}.physical-text-toolbar-field select,.physical-text-toolbar-field input{color:#f1f1f1;background:0 0;border:0;outline:0;min-width:0;height:17px;padding:0;font-size:8px}.physical-text-toolbar-field.style{width:120px}.physical-text-toolbar-field.font{width:100px}.physical-text-toolbar-field.number{width:60px}.physical-text-toolbar-align{background:#48484b;border:1px solid #666669;border-radius:3px;grid-template-columns:repeat(4,28px);gap:2px;padding:2px;display:inline-grid}.physical-text-toolbar-align button{color:#ccc;background:0 0;border:0;border-radius:2px;place-items:center;width:28px;height:27px;display:grid}.physical-text-toolbar-align button.active{color:#fff;background:#943c55}.physical-indesign-shell .professional-frame-text{box-sizing:border-box;white-space:pre-wrap;overflow-wrap:break-word;width:100%;height:100%;overflow:hidden}.physical-typography-section,.physical-style-manager{color:#ededed;background:#48484b;border:1px solid #666669;border-radius:4px;gap:9px;padding:10px;display:grid}.physical-typography-section>header,.physical-style-manager>header{justify-content:space-between;align-items:center;gap:8px;display:flex}.physical-typography-section>header>div,.physical-style-manager>header>div{gap:2px;display:grid}.physical-typography-section>header span,.physical-style-manager>header span{color:#a9a9ac;letter-spacing:.08em;text-transform:uppercase;font-size:6px}.physical-typography-section>header strong,.physical-style-manager>header strong{color:#f1f1f1;font-size:9px}.physical-typography-section>header button,.physical-style-manager>header button{color:#eee;background:#565659;border:1px solid #707073;border-radius:3px;align-items:center;gap:4px;min-height:27px;padding:0 7px;font-size:7px;display:inline-flex}.physical-typography-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.physical-typography-grid label{gap:3px;min-width:0;display:grid}.physical-typography-grid label>span{color:#aaa;font-size:7px}.physical-typography-grid input,.physical-typography-grid select{color:#eee;background:#555558;border:1px solid #707073;border-radius:3px;outline:0;width:100%;min-width:0;height:30px;padding:0 6px;font-size:8px}.physical-color-input{padding:3px!important}.physical-style-linked-note,.physical-style-local-note{border-radius:3px;gap:2px;padding:7px;display:grid}.physical-style-linked-note{color:#ead8de;background:#573e47;border:1px solid #865568}.physical-style-local-note{color:#bbb;background:#414144;border:1px solid #606063;font-size:7px}.physical-style-linked-note strong{font-size:8px}.physical-style-linked-note span{color:#cfb9c0;font-size:7px}.physical-style-list{gap:4px;display:grid}.physical-style-list>button{color:#e7e7e8;text-align:left;background:#505053;border:1px solid #666669;border-radius:3px;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:5px;min-height:34px;padding:0 7px;display:grid}.physical-style-list>button.active{background:#573e47;border-color:#b05a73}.physical-style-list>button>span{color:#d49aae;font-size:13px}.physical-style-list>button strong{text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.physical-style-list>button small{color:#d9bcc5;text-transform:uppercase;font-size:6px}.physical-style-editor{border-top:1px solid #666669;gap:8px;padding-top:8px;display:grid}.physical-style-editor-head{grid-template-columns:minmax(0,1fr) 28px 28px;gap:4px;display:grid}.physical-style-editor-head input{color:#eee;background:#555558;border:1px solid #707073;border-radius:3px;outline:0;min-width:0;height:29px;padding:0 7px;font-size:8px}.physical-style-editor-head button{color:#ddd;background:#555558;border:1px solid #707073;border-radius:3px;place-items:center;width:28px;height:29px;display:grid}.physical-style-actions{display:grid}.physical-style-actions button{color:#fff;background:#943c55;border:1px solid #b65b76;border-radius:3px;min-height:31px;font-size:8px}.physical-indesign-shell .professional-properties .professional-align-buttons{background:#414144;border-color:#606063}.physical-indesign-shell .professional-properties .professional-align-buttons button{color:#bbb}.physical-indesign-shell .professional-properties .professional-align-buttons button.active{color:#fff;background:#943c55}@media (orientation:portrait) and (width<=1180px){.physical-text-context-controls{min-width:max-content}.physical-text-toolbar-field.style{width:110px}.physical-text-toolbar-field.font{width:88px}}.physical-indesign-shell .professional-frame-text{box-sizing:border-box;width:100%;min-width:0;height:100%;min-height:0;overflow:hidden}.physical-text-overset-port{z-index:9300;color:#fff;pointer-events:none;background:#d64251;border:1px solid #fff;border-radius:2px;place-items:center;width:14px;height:14px;font-family:Arial,sans-serif;font-size:11px;font-weight:700;line-height:1;display:grid;position:absolute;bottom:1px;right:1px}.physical-overset-warning{color:#f7e4e7;background:#5b343b;border:1px solid #a85865;border-radius:4px;grid-template-columns:24px minmax(0,1fr);gap:8px;padding:9px;display:grid}.physical-overset-warning-icon{color:#fff;background:#d64251;border-radius:3px;place-items:center;width:22px;height:22px;font-size:15px;font-weight:700;display:grid}.physical-overset-warning-copy{gap:2px;min-width:0;display:grid}.physical-overset-warning-copy strong{color:#fff;font-size:8px}.physical-overset-warning-copy span{color:#e7c2c8;font-size:7px;line-height:1.4}.physical-overset-warning button{color:#fff;background:#86434e;border:1px solid #aa5b68;border-radius:3px;grid-column:1/-1;min-height:29px;font-size:7px}@media (orientation:portrait) and (width<=1180px){.physical-text-overset-port{width:16px;height:16px;font-size:12px}}.physical-text-overset-port.interactive{pointer-events:auto;cursor:pointer;touch-action:manipulation;width:22px;height:22px;font-size:14px;transition:transform .12s,background .12s;bottom:-4px;right:-4px}.physical-text-overset-port.interactive:hover{background:#ec4558}.physical-text-overset-port.interactive:active{transform:scale(.92)}.physical-overset-actions{grid-column:1/-1;gap:6px;display:grid}.physical-overset-warning .physical-overset-actions button{grid-column:auto;width:100%}.physical-overset-warning .physical-overset-actions button.primary{background:#a43f50;border-color:#c95b6d}.physical-indesign-shell .professional-smart-guide{z-index:9400;opacity:.95;pointer-events:none;filter:drop-shadow(0 0 1px #ef3ca773);border-color:#ef3ca7!important}.physical-indesign-shell .professional-smart-guide.vertical{border-left-width:1px}.physical-indesign-shell .professional-smart-guide.horizontal{border-top-width:1px}.physical-text-overset-port,.physical-text-overset-port.interactive{bottom:26px;right:-11px}.physical-text-overset-port.interactive{width:21px;height:21px}@media (orientation:portrait) and (width<=1180px){.physical-text-overset-port,.physical-text-overset-port.interactive{bottom:30px;right:-12px}}.physical-text-flow-port{z-index:9350;color:#f3f3f4;pointer-events:none;background:#55555a;border:1px solid #ef3ca7;border-radius:3px;place-items:center;width:17px;height:17px;font-family:Arial,sans-serif;font-size:10px;font-weight:700;line-height:1;display:grid;position:absolute;box-shadow:0 1px 3px #00000042}.physical-text-flow-port.input{top:22px;left:-10px}.physical-text-flow-port.output{top:22px;right:-10px}.physical-text-flow-panel{color:#ededed;background:#48484b;border:1px solid #666669;border-radius:4px;gap:8px;padding:9px;display:grid}.physical-text-flow-panel>header{justify-content:space-between;align-items:center;gap:8px;display:flex}.physical-text-flow-panel>header>div{min-width:0}.physical-text-flow-panel>header span{color:#aaa;font-size:7px;display:block}.physical-text-flow-panel>header strong{color:#f1f1f1;margin-top:2px;font-size:10px;display:block}.physical-text-flow-badge{color:#bbb;background:#38383b;border:1px solid #5d5d61;border-radius:999px;flex:none;padding:3px 6px;font-size:7px}.physical-text-flow-badge.linked{color:#ffd7ea;background:#60374f;border-color:#a74b7e}.physical-text-flow-status{color:#c8c8ca;margin:0;font-size:7px;line-height:1.45}.physical-text-unlink-button{color:#ddd;background:#3d3d40;border:1px solid #626266;border-radius:3px;min-height:29px;font-size:7px}.physical-text-unlink-button:active{transform:translateY(1px)}@media (orientation:portrait) and (width<=1180px){.physical-text-flow-port{width:19px;height:19px;font-size:11px}.physical-text-flow-port.input{top:24px;left:-11px}.physical-text-flow-port.output{top:24px;right:-11px}}.physical-overset-warning{color:#ededee;background:#414145;border:1px solid #626267;border-left:3px solid #d64251}.physical-overset-warning-copy strong{color:#f4f4f5}.physical-overset-warning-copy span{color:#c6c6c9}.physical-overset-actions button,.physical-overset-warning .physical-overset-actions button{color:#dddddf;background:#4b4b50;border-color:#68686e}.physical-overset-actions button.primary,.physical-overset-warning .physical-overset-actions button.primary{color:#fff;background:#943c55;border-color:#ad5870}.physical-overset-actions button:first-child{color:#e4e4e6;background:#4d4d52;border-color:#707076}.physical-overset-actions button:nth-child(2){color:#fff;background:#943c55;border-color:#b55d76;font-weight:600}.physical-overset-actions button:nth-child(3){color:#d1d1d4;background:#3c3c40;border-color:#5c5c61}.physical-material-quick-actions{justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px;display:flex}.physical-material-quick-actions>button{color:#f1e8eb;background:#573c45;border:1px solid #79505d;border-radius:4px;align-items:center;gap:5px;min-height:30px;padding:0 9px;font-size:7px;display:inline-flex}.physical-material-quick-actions>span{color:#9f9fa3;font-size:7px}.physical-material-tree{gap:5px;display:grid}.physical-material-row{padding:8px 8px 8px calc(8px + var(--material-depth) * 12px);background:#49494d;border:1px solid #5e5e63;border-radius:5px;gap:7px;display:grid;position:relative}.physical-material-row.chapter{background:#4d4549;border-color:#73505b}.physical-material-row.scene{background:#464649}.physical-material-row.placed:after{content:"";background:#bc7187;border-radius:50%;width:5px;height:5px;position:absolute;top:8px;right:8px}.physical-material-row-main{grid-template-columns:19px minmax(0,1fr);align-items:start;gap:5px;min-width:0;display:grid}.physical-material-disclosure{color:#c4c4c7;background:0 0;border:0;place-items:center;width:19px;height:19px;padding:0;font-size:14px;line-height:1;display:grid}.physical-material-disclosure:disabled{opacity:.35}.physical-material-row-copy{min-width:0}.physical-material-row-copy>span{color:#bc7187;letter-spacing:.08em;text-transform:uppercase;margin-bottom:2px;font-size:6px;font-weight:700;display:block}.physical-material-row-copy>strong{color:#f0f0f1;text-overflow:ellipsis;white-space:nowrap;font-size:9px;display:block;overflow:hidden}.physical-material-row-copy>small{color:#a9a9ad;margin-top:3px;font-size:6.5px;line-height:1.35;display:block}.physical-material-row-actions{flex-wrap:wrap;gap:5px;padding-left:24px;display:flex}.physical-material-row-actions button,.physical-material-loose-unit button,.physical-source-image-grid article>button{color:#e9e9eb;background:#3e3e42;border:1px solid #626267;border-radius:4px;justify-content:center;align-items:center;gap:4px;min-height:28px;padding:0 8px;font-size:6.5px;display:inline-flex}.physical-material-row-actions button.primary{color:#fff;background:#943c55;border-color:#ad5870}.physical-material-row-actions button.secondary{color:#d7c5cb;background:#473a3f;border-color:#675058}.physical-material-empty{color:#aaaab0;text-align:center;background:#424246;border:1px dashed #606066;border-radius:5px;padding:18px 10px;font-size:7px;line-height:1.4}.physical-material-unorganized{border-top:1px solid #5c5c60;gap:6px;margin-top:13px;padding-top:10px;display:grid}.physical-material-unorganized>header>span,.physical-source-images>header span,.physical-material-library-heading>span{color:#a7687a;letter-spacing:.09em;text-transform:uppercase;font-size:6px;font-weight:700;display:block}.physical-material-unorganized>header>strong,.physical-source-images>header strong,.physical-material-library-heading>strong{color:#ededee;margin-top:2px;font-size:9px;display:block}.physical-material-loose-unit{background:#46464a;border:1px solid #5c5c61;border-radius:4px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px;padding:7px;display:grid}.physical-material-loose-unit div{min-width:0}.physical-material-loose-unit span{color:#ad7585;font-size:6px;display:block}.physical-material-loose-unit strong{color:#e9e9ea;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:8px;display:block;overflow:hidden}.physical-material-loose-unit small{color:#99999d;margin-top:2px;font-size:6px;display:block}.physical-source-images{gap:7px;margin-bottom:12px;display:grid}.physical-source-images>header{justify-content:space-between;align-items:end;gap:8px;display:flex}.physical-source-images>header>small{color:#9e9ea2;font-size:7px}.physical-source-image-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.physical-source-image-grid article{background:#46464a;border:1px solid #5d5d62;border-radius:5px;gap:5px;min-width:0;padding:5px;display:grid}.physical-source-image-grid article.placed{border-color:#8e5968}.physical-source-image-thumb{aspect-ratio:1;background:#353538;border-radius:3px;place-items:center;width:100%;display:grid;overflow:hidden}.physical-source-image-thumb img{object-fit:cover;width:100%;height:100%;display:block}.physical-source-image-copy{min-width:0}.physical-source-image-copy strong{color:#e9e9eb;text-overflow:ellipsis;white-space:nowrap;font-size:7px;display:block;overflow:hidden}.physical-source-image-copy span{color:#aaaab0;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:6px;display:block;overflow:hidden}.physical-source-image-copy small{color:#c98094;margin-top:3px;font-size:6px;display:block}.physical-source-images-empty{color:#a2a2a6;background:#434347;border:1px dashed #5d5d62;border-radius:4px;margin:0;padding:10px;font-size:7px;line-height:1.4}.physical-material-library-heading{margin:4px 0 8px}@media (orientation:portrait) and (width<=1180px){.physical-material-row-copy>strong{font-size:10px}.physical-material-row-copy>small{font-size:7px}.physical-material-row-actions button,.physical-material-loose-unit button,.physical-source-image-grid article>button{min-height:32px;font-size:7px}}.physical-scene-separator-picker{background:#444448;border:1px solid #5d5d62;border-radius:5px;gap:8px;margin-bottom:10px;padding:9px;display:grid}.physical-scene-separator-picker>header{justify-content:space-between;align-items:center;gap:8px;display:flex}.physical-scene-separator-picker>header span{color:#a7687a;letter-spacing:.08em;text-transform:uppercase;font-size:6px;font-weight:700;display:block}.physical-scene-separator-picker>header strong{color:#ededee;margin-top:2px;font-size:9px;display:block}.physical-separator-live-preview{color:#f1f1f2;text-align:center;background:#36363a;border:1px solid #606066;border-radius:4px;place-items:center;min-width:54px;min-height:27px;padding:4px 7px;font-family:Georgia,serif;font-size:10px;display:grid}.physical-scene-separator-picker>label{gap:4px;display:grid}.physical-scene-separator-picker>label>span{color:#b9b9bd;font-size:6.5px;font-weight:600}.physical-scene-separator-picker select,.physical-scene-separator-picker input{box-sizing:border-box;color:#ececef;background:#39393d;border:1px solid #5e5e64;border-radius:4px;outline:none;width:100%;min-height:30px;padding:0 8px;font-size:7px}.physical-scene-separator-picker select:focus,.physical-scene-separator-picker input:focus{border-color:#98536a}.physical-scene-separator-picker label small{color:#96969b;font-size:6px;line-height:1.4}.physical-scene-separator-picker .physical-material-quick-actions{align-items:flex-start;margin-bottom:0;padding-top:3px}.physical-scene-separator-picker .physical-material-quick-actions>span{text-align:right;max-width:115px;line-height:1.35}@media (orientation:portrait) and (width<=1180px){.physical-scene-separator-picker select,.physical-scene-separator-picker input{min-height:34px;font-size:8px}.physical-separator-live-preview{min-height:30px;font-size:11px}}.physical-indesign-shell .professional-frame.multi-selected{border-style:dashed;border-color:#b85a83;box-shadow:0 0 0 1px #b85a833d}.physical-indesign-shell .professional-frame.grouped.selected{outline-offset:3px;outline:1px dashed #ef3ca7b8}.physical-indesign-shell .professional-frame.locked{cursor:not-allowed;border-style:dashed;border-color:#b9b9beb3}.physical-indesign-shell .professional-frame.locked:before{content:"BLOQ";z-index:9500;color:#e0e0e2;letter-spacing:.06em;pointer-events:none;background:#4a4a4e;border:1px solid #66666b;border-radius:2px;padding:2px 4px;font-family:Inter,sans-serif;font-size:5.5px;font-weight:700;line-height:1;position:absolute;top:-16px;right:0}.physical-dropdown-menu.physical-command-menu{min-width:210px;max-height:min(72vh,520px);overflow-y:auto}.physical-menu-section-label{color:#9a9a9f;letter-spacing:.08em;text-transform:uppercase;pointer-events:none;padding:6px 9px 3px;font-size:6px;font-weight:700;display:block}.physical-dropdown-menu button.checked{color:#ffdbe7;background:#5b3b47}.physical-dropdown-menu button.checked:before{content:"✓";color:#e999b1;margin-right:5px}.physical-object-command-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px 7px 7px;display:grid}.physical-object-command-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.physical-dropdown-menu .physical-object-command-grid button{color:#d9d9dc;text-align:center;background:#414145;border:1px solid #59595e;border-radius:3px;justify-content:center;min-height:29px;padding:4px;font-size:6px}.physical-multi-selection-panel{color:#e7e7e9;background:#444448;border:1px solid #626267;border-left:3px solid #943c55;border-radius:4px;gap:8px;margin-bottom:10px;padding:9px;display:grid}.physical-multi-selection-panel>header{justify-content:space-between;align-items:center;gap:8px;display:flex}.physical-multi-selection-panel>header>div>span{color:#aaaab0;text-transform:uppercase;letter-spacing:.07em;font-size:6px;display:block}.physical-multi-selection-panel>header strong{color:#f1f1f2;margin-top:2px;font-size:9px;display:block}.physical-multi-selection-panel>header>span{color:#aaaab0;background:#38383c;border:1px solid #5c5c61;border-radius:999px;padding:3px 6px;font-size:6px}.physical-multi-selection-panel>header>span.active{color:#ffdce7;background:#613d49;border-color:#8f5466}.physical-multi-selection-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.physical-multi-selection-actions button{color:#dedee1;background:#3c3c40;border:1px solid #606066;border-radius:3px;min-height:29px;font-size:6.5px}@media (orientation:portrait) and (width<=1180px){.physical-dropdown-menu.physical-command-menu{min-width:235px;max-height:64vh}.physical-dropdown-menu .physical-object-command-grid button,.physical-multi-selection-actions button{min-height:34px;font-size:7px}.physical-multi-selection-panel{padding:10px}}.physical-indesign-shell .physical-indesign-menubar,.physical-indesign-shell .physical-indesign-menu-items.menu-open{overflow:visible!important}.physical-indesign-shell .physical-indesign-menu-items.menu-open .physical-menu-wrap{overflow:visible}.physical-indesign-shell .physical-indesign-menu-items.menu-open .physical-dropdown-menu{pointer-events:auto;z-index:500!important}.physical-indesign-shell .physical-indesign-menu-items:not(.menu-open){overflow:auto hidden}@media (orientation:portrait) and (width<=1180px){.physical-indesign-shell .physical-dropdown-menu.physical-command-menu{max-width:calc(100vw - 20px);max-height:min(64vh,520px)}}.physical-dropdown-menu .physical-alignment-target-picker{background:#dedee1;border-radius:4px;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin:3px 7px 5px;padding:3px;display:grid}.physical-dropdown-menu .physical-alignment-target-picker button{color:#55555a;text-align:center;background:0 0;border:1px solid #0000;border-radius:3px;justify-content:center;min-height:27px;padding:3px 5px;font-size:6.5px}.physical-dropdown-menu .physical-alignment-target-picker button:hover{color:#333;background:#f4f4f5}.physical-dropdown-menu .physical-alignment-target-picker button.active{color:#fff;background:#943c55;border-color:#7f3248;box-shadow:0 1px 2px #0000002e}.physical-alignment-help{color:#626267;background:#ededee;border:1px solid #d5d5d8;border-radius:3px;margin:1px 8px 5px;padding:6px 7px;font-size:6.5px;line-height:1.4}.physical-alignment-help.compact{padding:4px 7px}.physical-dropdown-menu .physical-object-command-grid button:disabled{cursor:not-allowed;opacity:1!important;color:#a9a9ad!important;box-shadow:none!important;background:#eeeeef!important;border-color:#d7d7da!important}.physical-dropdown-menu .physical-object-command-grid button:not(:disabled){color:#eeeeef;cursor:pointer;background:#49494e;border-color:#5f5f65}.physical-dropdown-menu .physical-object-command-grid button:not(:disabled):hover{color:#fff;background:#943c55;border-color:#7f3248}.physical-dropdown-menu.physical-command-menu.object-menu{min-width:260px}@media (orientation:portrait) and (width<=1180px){.physical-dropdown-menu .physical-alignment-target-picker button{min-height:32px;font-size:7px}.physical-alignment-help{font-size:7px}.physical-dropdown-menu.physical-command-menu.object-menu{min-width:275px}}.physical-image-frame-inspector{gap:9px;display:grid}.physical-image-frame-inspector>header{justify-content:space-between;align-items:center;gap:8px;display:flex}.physical-image-frame-inspector>header>div>span,.physical-image-picker-section>header span{color:#a66c7d;letter-spacing:.08em;text-transform:uppercase;font-size:6px;font-weight:700;display:block}.physical-image-frame-inspector>header strong,.physical-image-picker-section>header strong{color:#ededee;margin-top:2px;font-size:9px;display:block}.physical-image-frame-status{color:#a9a9ad;background:#39393d;border:1px solid #5c5c61;border-radius:999px;padding:3px 6px;font-size:6px}.physical-image-frame-status.filled{color:#ffdce7;background:#5a3944;border-color:#8d5365}.physical-image-frame-preview{aspect-ratio:16/9;background:#36363a;border:1px solid #5c5c62;border-radius:5px;place-items:center;width:100%;display:grid;overflow:hidden}.physical-image-frame-preview img{object-fit:contain;background:#303034;width:100%;height:100%;display:block}.physical-image-frame-empty{color:#98989d;text-align:center;place-items:center;gap:4px;padding:12px;display:grid}.physical-image-frame-empty strong{color:#d2d2d5;font-size:8px}.physical-image-frame-empty span{font-size:6.5px;line-height:1.35}.physical-image-frame-actions{grid-template-columns:1fr 1fr;gap:5px;display:grid}.physical-image-frame-upload,.physical-image-frame-actions button{box-sizing:border-box;color:#fff;cursor:pointer;background:#943c55;border:1px solid #ad5870;border-radius:4px;justify-content:center;align-items:center;gap:5px;min-height:32px;padding:0 8px;font-size:6.5px;display:flex}.physical-image-frame-upload input{display:none}.physical-image-frame-actions button.secondary{color:#d9d9dc;background:#3e3e42;border-color:#606066}.physical-image-picker-section{background:#444448;border:1px solid #5b5b60;border-radius:5px;gap:7px;padding:8px;display:grid}.physical-image-picker-section>header{justify-content:space-between;align-items:end;gap:8px;display:flex}.physical-image-picker-section>header small{color:#99999e;font-size:6px}.physical-image-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;display:grid}.physical-image-picker-grid>button{color:#dadadd;text-align:left;background:#39393d;border:1px solid #58585e;border-radius:4px;gap:4px;min-width:0;padding:4px;display:grid;position:relative}.physical-image-picker-grid>button.active{border-color:#b85f79;box-shadow:0 0 0 1px #b85f7957}.physical-image-picker-thumb{aspect-ratio:4/3;color:#99999e;background:#2f2f33;border-radius:3px;place-items:center;width:100%;display:grid;overflow:hidden}.physical-image-picker-thumb img{object-fit:cover;width:100%;height:100%;display:block}.physical-image-picker-name{color:#d9d9dc;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:6.5px;display:block;overflow:hidden}.physical-image-picker-name small{color:#96969b;text-overflow:ellipsis;white-space:nowrap;margin-top:2px;font-size:5.5px;display:block;overflow:hidden}.physical-image-picker-check{color:#fff;background:#943c55;border-radius:50%;place-items:center;width:16px;height:16px;font-size:8px;font-weight:700;display:grid;position:absolute;top:5px;right:5px}.physical-image-picker-empty{color:#99999e;background:#3b3b3f;border:1px dashed #59595e;border-radius:4px;margin:0;padding:9px;font-size:6.5px;line-height:1.4}.physical-image-frame-note{color:#9d9da2;background:#3d3d41;border-radius:4px;margin:0;padding:7px;font-size:6px;line-height:1.4}@media (orientation:portrait) and (width<=1180px){.physical-image-frame-upload,.physical-image-frame-actions button{min-height:36px;font-size:7px}.physical-image-picker-name{font-size:7px}.physical-image-frame-empty strong{font-size:9px}}.physical-dropdown-menu.physical-layout-v2-menu{width:290px;max-width:calc(100vw - 20px);max-height:min(74vh,650px);padding-bottom:7px;overflow-y:auto}.physical-layout-menu-field{gap:4px;margin:4px 8px;display:grid}.physical-layout-menu-field>span,.physical-layout-inline-control label>span,.physical-layout-range label>span{color:#707075;letter-spacing:.05em;text-transform:uppercase;font-size:6px;font-weight:700}.physical-layout-menu-field select,.physical-layout-menu-field input,.physical-layout-inline-control input,.physical-layout-range input{box-sizing:border-box;color:#353539;background:#fff;border:1px solid #cfcfd3;border-radius:3px;width:100%;min-height:30px;padding:0 7px;font-size:7px}.physical-layout-inline-control{grid-template-columns:72px minmax(0,1fr);align-items:end;gap:5px;margin:4px 8px 7px;display:grid}.physical-layout-inline-control label{gap:3px;display:grid}.physical-dropdown-menu .physical-layout-inline-control>button{border:1px solid #bfc0c4;border-radius:3px;justify-content:center;min-height:30px}.physical-layout-menu-note{color:#606066;background:#eeeeef;border:1px solid #d7d7da;border-radius:3px;margin:3px 8px 6px;padding:6px 7px;font-size:6.5px;line-height:1.4}.physical-layout-two-buttons,.physical-layout-two-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:4px 8px 7px;display:grid}.physical-layout-two-buttons button{color:#efeff0;text-align:center;background:#49494e;border:1px solid #5e5e64;border-radius:3px;justify-content:center;min-height:31px;padding:5px;font-size:6.3px}.physical-layout-two-columns .physical-layout-menu-field{margin:0}.physical-layout-role-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:4px 8px 7px;display:grid}.physical-dropdown-menu .physical-layout-role-grid button{color:#55555a;text-align:center;background:#eeeef0;border:1px solid #d1d1d5;border-radius:3px;justify-content:center;min-height:30px;padding:4px;font-size:6.2px}.physical-dropdown-menu .physical-layout-role-grid button.active{color:#fff;background:#943c55;border-color:#803248}.physical-layout-check{color:#55555a;align-items:center;gap:6px;min-height:28px;margin:3px 8px;font-size:6.5px;display:flex}.physical-layout-check input{accent-color:#943c55;width:13px;height:13px}.physical-layout-range{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:4px 8px;display:grid}.physical-layout-range label{gap:3px;display:grid}.physical-layout-view-switch{background:#e0e0e2;border-radius:4px;grid-template-columns:1fr 1fr;gap:3px;margin:5px 8px;padding:3px;display:grid}.physical-dropdown-menu .physical-layout-view-switch button{color:#55555a;background:0 0;border:0;border-radius:3px;justify-content:center;min-height:29px;font-size:6.5px}.physical-dropdown-menu .physical-layout-view-switch button.active{color:#fff;background:#943c55}.physical-master-running-header{z-index:28;letter-spacing:.025em;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;line-height:1.2;display:block;position:absolute;top:3.2%;overflow:hidden}.physical-master-running-header.even{text-align:left}.physical-master-running-header.odd{text-align:right}@media (orientation:portrait) and (width<=1180px){.physical-dropdown-menu.physical-layout-v2-menu{width:305px;max-height:66vh}.physical-layout-menu-field select,.physical-layout-menu-field input,.physical-layout-inline-control input,.physical-layout-range input{min-height:34px;font-size:7.5px}.physical-layout-two-buttons button,.physical-dropdown-menu .physical-layout-role-grid button,.physical-dropdown-menu .physical-layout-view-switch button{min-height:34px;font-size:7px}.physical-layout-menu-note,.physical-layout-check{font-size:7px}}.physical-dropdown-menu.physical-view-menu,.physical-dropdown-menu.physical-window-menu{min-width:235px;max-height:min(72vh,560px);overflow-y:auto}.physical-dropdown-menu button.checked{padding-left:24px;position:relative}.physical-dropdown-menu button.checked:before{content:"✓";color:#943c55;margin:0;font-weight:800;position:absolute;top:50%;left:8px;transform:translateY(-50%)}.physical-view-mode-grid,.physical-view-zoom-grid{background:#dedee1;border-radius:4px;gap:3px;margin:4px 7px 7px;padding:3px;display:grid}.physical-view-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.physical-view-zoom-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.physical-dropdown-menu .physical-view-mode-grid button,.physical-dropdown-menu .physical-view-zoom-grid button{color:#55555a;background:0 0;border:1px solid #0000;border-radius:3px;justify-content:center;min-height:28px;padding:4px;font-size:6.5px}.physical-dropdown-menu .physical-view-mode-grid button.active,.physical-dropdown-menu .physical-view-zoom-grid button.active{color:#fff;background:#943c55;border-color:#803248}.physical-window-menu button small,.physical-view-menu button small{color:#9b9ba0;margin-left:auto;font-size:5.8px;font-weight:500}.physical-window-menu button.checked small,.physical-view-menu button.checked small{color:#80505f}@media (orientation:portrait) and (width<=1180px){.physical-dropdown-menu.physical-view-menu,.physical-dropdown-menu.physical-window-menu{min-width:255px;max-height:64vh}.physical-dropdown-menu .physical-view-mode-grid button,.physical-dropdown-menu .physical-view-zoom-grid button{min-height:34px;font-size:7px}}.physical-view-menu>button:nth-of-type(-n+7){min-height:32px;position:relative;color:#444449!important;box-shadow:none!important;background:0 0!important;border-color:#0000!important;padding-right:52px!important}.physical-view-menu>button:nth-of-type(-n+7):hover{background:#f4f1f2!important}.physical-view-menu>button:nth-of-type(-n+7).checked{color:#3f3f43!important;background:#f7f3f5!important;padding-left:10px!important}.physical-view-menu>button:nth-of-type(-n+7):after{content:"";box-sizing:border-box;background:#d5d5d9;border:1px solid #c2c2c7;border-radius:999px;width:28px;height:15px;transition:background .14s,border-color .14s;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.physical-view-menu>button:nth-of-type(-n+7):before{z-index:2;box-sizing:border-box;transition:right .14s,border-color .14s;box-shadow:0 1px 2px #00000029;content:""!important;background:#fff!important;border:1px solid #b8b8bd!important;border-radius:50%!important;width:11px!important;height:11px!important;margin:0!important;position:absolute!important;top:50%!important;left:auto!important;right:24px!important;transform:translateY(-50%)!important}.physical-view-menu>button:nth-of-type(-n+7).checked:after{background:#c7a3ae;border-color:#b58795}.physical-view-menu>button:nth-of-type(-n+7).checked:before{border-color:#ad7a89!important;right:12px!important}.physical-view-menu>button:nth-of-type(-n+7)>small{margin-left:auto;margin-right:34px;font-weight:500;color:#99999f!important}.physical-view-menu>button:nth-of-type(-n+7).checked>small{color:#856a73!important}@media (orientation:portrait) and (width<=1180px){.physical-view-menu>button:nth-of-type(-n+7){min-height:38px}.physical-view-menu>button:nth-of-type(-n+7):after{width:30px;height:17px}.physical-view-menu>button:nth-of-type(-n+7):before{width:13px!important;height:13px!important;right:24px!important}.physical-view-menu>button:nth-of-type(-n+7).checked:before{right:11px!important}}.physical-direct-text-editing{outline-offset:-1px;background:#943c5509;outline:1px solid #943c559e;cursor:text!important;-webkit-user-select:text!important;user-select:text!important}.physical-direct-text-editing:focus{outline:2px solid #943c55ad}.physical-text-context-controls button.active{color:#fff;background:#943c55;border-color:#943c55}.physical-dropdown-menu button.checked{background:#f6f2f3}.physical-dropdown-menu button.checked:before{color:#943c55}.physical-dropdown-menu button.physical-text-composition-toggle.checked{color:#943c55;background:#f3e6ea;font-weight:600}.physical-dropdown-menu button.physical-text-composition-toggle.checked small{color:#7f3248;font-weight:600}.physical-dropdown-menu button.physical-text-composition-toggle.checked:before{color:#943c55}.physical-indesign-shell .professional-frame.selected{border-width:1px!important}.physical-indesign-shell .professional-frame-text.physical-continued-justify:after{content:"";vertical-align:top;pointer-events:none;width:100%;height:0;margin:0;padding:0;font-size:0;line-height:0;display:inline-block;overflow:hidden}.physical-indesign-shell .professional-frame.physical-empty-auto-flow{display:none!important}.physical-character-style-menu{color:#44373c;background:#fff;border:1px solid #d8c8ce;border-radius:8px;gap:8px;width:min(340px,100vw - 28px);max-height:min(520px,68vh);margin:5px 6px 7px;padding:9px;display:grid;overflow:auto;box-shadow:0 8px 24px #3a262e1f}.physical-character-style-status{color:#72525d;background:#faf6f7;border:1px solid #eadde1;border-radius:6px;padding:7px 8px;font-size:11px;line-height:1.35}.physical-character-style-list{gap:4px;display:grid}.physical-character-style-list>button{text-align:left;color:#44373c;background:#fff;border:1px solid #e3dade;border-radius:6px;grid-template-columns:24px 1fr auto;align-items:center;gap:7px;min-height:34px;padding:5px 8px;display:grid}.physical-character-style-list>button.active{color:#7e2943;background:#f7e9ed;border-color:#b75d78}.physical-character-style-list>button>span{color:#943c55;border:1px solid #e2cfd5;border-radius:5px;place-items:center;width:22px;height:22px;font-family:Georgia,serif;font-size:13px;display:grid}.physical-character-style-list strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.physical-character-style-list small{color:#8d6a75}.physical-character-style-actions{border-top:1px solid #eee5e8;flex-wrap:wrap;gap:5px;padding-top:7px;display:flex}.physical-character-style-actions button{color:#44373c;background:#fff;border:1px solid #dfd3d7;border-radius:6px;align-items:center;gap:4px;min-height:29px;padding:4px 8px;display:inline-flex}.physical-character-style-editor{border-top:1px solid #eee5e8;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:8px;display:grid}.physical-character-style-editor label{gap:4px;min-width:0;display:grid}.physical-character-style-editor label>span{color:#765762;letter-spacing:.04em;text-transform:uppercase;font-size:10px;font-weight:700}.physical-character-style-editor input:not([type=checkbox]):not([type=color]),.physical-character-style-editor select{color:#3e3136;background:#fff;border:1px solid #ddd1d5;border-radius:6px;width:100%;min-width:0;height:31px;padding:4px 7px}.physical-character-style-editor input[type=color]{background:#fff;border:1px solid #ddd1d5;border-radius:6px;width:42px;height:31px;padding:2px}.physical-character-color-row{align-items:center;gap:5px;display:flex}.physical-character-color-row button{color:#44373c;background:#fff;border:1px solid #ddd1d5;border-radius:6px;min-height:31px;padding:4px 8px}.physical-character-style-editor label.physical-character-check{background:#faf7f8;border:1px solid #eee2e6;border-radius:6px;align-items:center;gap:6px;min-height:29px;padding:4px 7px;display:flex}.physical-character-style-editor label.physical-character-check>span{color:#5f454e;text-transform:none;font-size:10px}.physical-character-style-editor input[type=checkbox]{accent-color:#943c55}@media (width<=760px){.physical-character-style-menu{width:min(310px,100vw - 20px);max-height:60vh}.physical-character-style-editor{grid-template-columns:1fr}}.physical-dropdown-menu.physical-file-menu,.physical-dropdown-menu.physical-help-menu{min-width:280px;max-width:min(360px,100vw - 24px)}.physical-book-cover-section{gap:8px;margin:0 0 13px;display:grid}.physical-book-cover-heading{color:#756c70;letter-spacing:.04em;text-transform:uppercase;justify-content:space-between;gap:8px;font-size:10px;font-weight:700;display:flex}.physical-book-cover-heading small{color:#a18f96;letter-spacing:0;text-transform:none;font-size:9px;font-weight:600}.physical-cover-book-card{text-align:left;color:#494044;background:#fff;border:1px solid #dacbd0;border-radius:8px;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:8px;display:grid}.physical-cover-book-card:hover{background:#faf5f7;border-color:#b98595}.physical-cover-book-mini{color:#a87786;background:#f4f1f2;border:1px solid #ddd4d7;border-radius:3px;place-items:center;width:46px;max-height:66px;display:grid;overflow:hidden}.physical-cover-book-mini img{object-fit:cover;width:100%;height:100%}.physical-cover-book-card>div:last-child{gap:3px;min-width:0;display:grid}.physical-cover-book-card strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.physical-cover-book-card span{color:#8c7a81;font-size:10px}.physical-production-backdrop{z-index:150;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1c1a1b7a;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.physical-production-dialog{color:#3e373a;background:#fff;border:1px solid #d9cdd1;border-radius:12px;width:min(650px,100%);max-height:min(760px,100dvh - 44px);display:grid;overflow:hidden;box-shadow:0 22px 70px #231e2047}.physical-production-dialog>header{background:#fbf9fa;border-bottom:1px solid #e9e1e4;justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 14px;display:flex}.physical-production-dialog>header>div{gap:2px;display:grid}.physical-production-dialog>header span{color:#9a7d87;letter-spacing:.07em;text-transform:uppercase;font-size:9px;font-weight:800}.physical-production-dialog>header strong{font-size:14px}.physical-production-dialog>header>button{color:#685b60;background:#fff;border:1px solid #ded5d8;border-radius:7px;place-items:center;width:32px;height:32px;padding:0;display:grid}.physical-cover-preview-body,.physical-export-dialog-body,.physical-cover-workspace-body,.physical-help-content{padding:18px;overflow:auto}.physical-cover-preview-body{grid-template-columns:minmax(150px,250px) minmax(0,1fr);align-items:center;gap:22px;display:grid}.physical-cover-preview-sheet{background:#eee9eb;border:1px solid #d8d0d3;place-items:center;width:100%;max-height:520px;display:grid;overflow:hidden;box-shadow:0 10px 28px #2c262929}.physical-cover-preview-sheet img{object-fit:contain;background:#fff;width:100%;height:100%}.physical-cover-empty{text-align:center;color:#9a7c86;place-items:center;gap:8px;padding:24px;display:grid}.physical-cover-empty span{color:#9a8d92;font-size:11px;line-height:1.45}.physical-cover-preview-info,.physical-cover-workspace-copy{gap:9px;display:grid}.physical-cover-preview-info>strong,.physical-cover-workspace-copy>strong{color:#5d4850;font-size:15px}.physical-cover-preview-info>span{color:#943c55;font-size:12px;font-weight:700}.physical-cover-preview-info>p,.physical-cover-workspace-copy p,.physical-cover-workspace-copy>span,.physical-help-content p{color:#756a6e;margin:0;font-size:12px;line-height:1.55}.physical-production-check{background:#faf6f7;border:1px solid #eadde1;border-radius:8px;align-items:flex-start;gap:9px;padding:10px;display:flex}.physical-production-check input{accent-color:#943c55;margin-top:2px}.physical-production-check>span{color:#5b4c51;gap:3px;font-size:11px;line-height:1.4;display:grid}.physical-production-check small{color:#887980;font-size:10px;font-weight:400}.physical-export-dialog-body,.physical-cover-workspace-body,.physical-help-content{gap:14px;display:grid}.physical-export-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.physical-export-summary-grid article{background:#fcfbfb;border:1px solid #e5dcdf;border-radius:8px;align-items:center;gap:9px;min-width:0;padding:10px;display:flex}.physical-export-summary-grid article>svg{color:#943c55;flex:none}.physical-export-summary-grid article>div,.physical-export-readiness>div{gap:2px;min-width:0;display:grid}.physical-export-summary-grid strong,.physical-export-readiness strong{font-size:11px}.physical-export-summary-grid span{color:#897a80;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.physical-export-readiness{color:#4d7758;background:#f7faf8;border:1px solid #dce6df;border-radius:8px;align-items:flex-start;gap:10px;padding:11px;display:flex}.physical-export-readiness.warning{color:#86631f;background:#fffaf0;border-color:#ead9ad}.physical-export-readiness.error{color:#9a3e4c;background:#fff5f6;border-color:#ebc9d0}.physical-export-readiness span{color:currentColor;opacity:.82;font-size:10px;line-height:1.4}.physical-production-actions{justify-content:flex-end;gap:7px;display:flex}.physical-production-actions button{color:#5b4b51;background:#fff;border:1px solid #ddd2d6;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:6px 11px;display:inline-flex}.physical-production-actions button.primary{color:#fff;background:#943c55;border-color:#943c55}.physical-production-actions button:disabled{cursor:not-allowed;opacity:.5}.physical-cover-workspace-scroll{overflow-x:auto}.physical-cover-workspace-strip{background:#f7f3f4;border:1px solid #cfc5c8;border-radius:8px;grid-template-columns:.7fr 1.7fr .42fr 1.7fr .7fr;min-width:680px;min-height:210px;display:grid;overflow:hidden}.physical-cover-workspace-strip>div{text-align:center;color:#6c5a61;background:#fbf9fa;border-right:1px dashed #c9b9bf;align-content:center;place-items:center;gap:4px;min-width:0;padding:10px;display:grid;position:relative;overflow:hidden}.physical-cover-workspace-strip>div:last-child{border-right:0}.physical-cover-workspace-strip .spine{color:#fff;background:#943c55}.physical-cover-workspace-strip .front{color:#fff;background:#6f4f5a}.physical-cover-workspace-strip .front img{object-fit:cover;opacity:.72;width:100%;height:100%;position:absolute;inset:0}.physical-cover-workspace-strip .front strong{z-index:1;position:relative}.physical-cover-workspace-strip small{color:#9b8990;font-size:8px}.physical-cover-workspace-strip strong{font-size:10px}.physical-cover-workspace-note{color:#7c6870;background:#faf7f8;border:1px solid #eadce1;border-radius:8px;align-items:flex-start;gap:8px;padding:10px;font-size:10px;line-height:1.45;display:flex}.physical-help-dialog{width:min(620px,100%)}.physical-help-content ul{color:#5f5357;gap:8px;margin:0;padding:0 0 0 20px;font-size:11px;line-height:1.5;display:grid}.physical-pdf-export-document{display:none}@media (width<=760px){.physical-production-backdrop{place-items:end center;padding:10px}.physical-production-dialog{max-height:calc(100dvh - 20px)}.physical-cover-preview-body{grid-template-columns:1fr}.physical-cover-preview-sheet{justify-self:center;width:min(220px,72vw)}.physical-export-summary-grid{grid-template-columns:1fr}.physical-production-actions{display:grid}}@media print{body.physical-print-exporting{background:#fff!important;margin:0!important;padding:0!important;overflow:visible!important}body.physical-print-exporting .physical-indesign-shell{background:#fff!important;width:auto!important;height:auto!important;min-height:0!important;position:static!important;inset:auto!important;overflow:visible!important}body.physical-print-exporting .physical-indesign-shell>:not(.physical-pdf-export-document){display:none!important}body.physical-print-exporting .physical-pdf-export-document{background:#fff!important;width:auto!important;height:auto!important;display:block!important;position:static!important;overflow:visible!important}body.physical-print-exporting .physical-pdf-export-sheet{break-after:page;page-break-after:always;background:#fff!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;overflow:hidden!important}body.physical-print-exporting .physical-pdf-export-sheet:last-child{break-after:auto;page-break-after:auto}body.physical-print-exporting .physical-pdf-cover-sheet img{object-fit:contain!important;background:#fff!important;width:100%!important;height:100%!important;display:block!important}body.physical-print-exporting .physical-pdf-interior-sheet>.physical-facing-page{opacity:1!important;width:100%!important;height:100%!important;box-shadow:none!important;background:#fff!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;display:block!important;overflow:hidden!important;transform:none!important}body.physical-print-exporting .physical-pdf-interior-sheet .physical-facing-page-inner{width:100%!important;height:100%!important;box-shadow:none!important;transform-origin:0 0!important;background:#fff!important;border:0!important;border-radius:0!important;margin:0!important;display:block!important;transform:none!important}body.physical-print-exporting .physical-facing-page-number,body.physical-print-exporting .physical-text-flow-port,body.physical-print-exporting .physical-text-overset-port,body.physical-print-exporting .professional-guide,body.physical-print-exporting .physical-trim-outline,body.physical-print-exporting .physical-bleed-outline,body.physical-print-exporting .physical-gutter-danger{display:none!important}}.physical-cover-workspace-dialog{width:min(1180px,100%)}.physical-cover-studio{gap:14px;padding:16px;display:grid;overflow:auto}.physical-cover-studio-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.physical-cover-studio-summary article{background:#fbf9fa;border:1px solid #e4d9dd;border-radius:8px;gap:4px;min-width:0;padding:10px 12px;display:grid}.physical-cover-studio-summary span{color:#8f7b82;letter-spacing:.05em;text-transform:uppercase;font-size:9px;font-weight:700}.physical-cover-studio-summary strong{color:#55454b;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.physical-cover-studio-canvas-scroll{background-color:#0000;background-image:linear-gradient(45deg,#f6f2f3 25%,#0000 25%),linear-gradient(-45deg,#f6f2f3 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#f6f2f3 75%),linear-gradient(-45deg,#0000 75%,#f6f2f3 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-repeat:repeat,repeat,repeat,repeat;background-size:16px 16px;background-attachment:scroll,scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box;border:1px solid #e1d7da;border-radius:9px;padding:12px;overflow:auto}.physical-cover-canvas-shell{background:#efe6e9;border:1px dashed #c89eab;min-width:max-content;display:inline-block;position:relative;box-shadow:0 8px 24px #3b2c3224}.physical-cover-canvas-trim{background:#fff;width:max-content;display:flex;position:relative}.physical-cover-canvas-zone{min-width:2px;height:100%;color:inherit;appearance:none;opacity:1;background:0 0;border:0;border-right:1px dashed #5d454e6b;border-radius:0;flex:none;margin:0;padding:0;display:block;position:relative;overflow:visible}.physical-cover-canvas-zone:last-child{border-right:0}.physical-cover-canvas-zone.interactive{cursor:pointer}.physical-cover-canvas-zone.selected{z-index:5;outline-offset:-2px;outline:2px solid #943c55}.physical-cover-canvas-zone.zone-spine{background:#f4edef}.physical-cover-canvas-image-layer{z-index:1;background:#f6f2f3;position:absolute;overflow:hidden}.physical-cover-canvas-image-layer img{transform-origin:50%;width:100%;height:100%;display:block}.physical-cover-canvas-empty{color:#ad9099;background:#f7f3f4;place-items:center;width:100%;height:100%;display:grid}.physical-cover-safe-guide{z-index:3;pointer-events:none;border:1px dashed #943c5594;position:absolute}.physical-cover-zone-name{z-index:4;color:#fff;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;background:#423037c2;border-radius:5px;max-width:calc(100% - 12px);padding:3px 6px;font-size:8px;font-weight:700;position:absolute;bottom:7px;left:50%;overflow:hidden;transform:translate(-50%)}.physical-cover-bleed-label{z-index:7;color:#9a6174;pointer-events:none;background:#ffffffd1;border-radius:4px;padding:2px 4px;font-size:7px;font-weight:700;position:absolute;top:3px;left:6px}.physical-cover-studio-panels{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;display:grid}.physical-cover-settings-card,.physical-cover-preflight-card{background:#fff;border:1px solid #e2d8dc;border-radius:9px;gap:12px;min-width:0;padding:12px;display:grid}.physical-cover-settings-card>header,.physical-cover-preflight-card>header{justify-content:space-between;align-items:center;gap:10px;display:flex}.physical-cover-settings-card>header{justify-content:stretch;gap:3px;display:grid}.physical-cover-settings-card>header strong,.physical-cover-preflight-card>header strong{color:#56464c;font-size:12px}.physical-cover-settings-card>header span,.physical-cover-preflight-card>header span{color:#8c7d82;font-size:9px}.physical-cover-segmented{background:#f7f4f5;border:1px solid #e3d9dd;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:4px;display:grid}.physical-cover-segmented button,.physical-cover-image-actions button,.physical-cover-project-cover-button,.physical-cover-reset-placement,.physical-cover-preflight-card button.primary{color:#66555c;background:0 0;border:1px solid #0000;border-radius:6px;min-height:32px;padding:6px 9px;font-size:10px}.physical-cover-segmented button.active{color:#fff;background:#943c55;border-color:#943c55}.physical-cover-field,.physical-cover-slider{gap:6px;display:grid}.physical-cover-field>span,.physical-cover-slider>span{color:#66575c;justify-content:space-between;align-items:center;gap:8px;font-size:10px;font-weight:700;display:flex}.physical-cover-field>div{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;display:grid}.physical-cover-field input,.physical-cover-field select{color:#493d42;width:100%;min-width:0;min-height:32px;font:inherit;background:#fff;border:1px solid #d9ced2;border-radius:6px;padding:5px 8px}.physical-cover-field small{color:#8d7c82;font-size:9px}.physical-cover-field em{color:#8c7f84;font-size:9px;font-style:normal;line-height:1.4}.physical-cover-field.compact{gap:4px}.physical-cover-flap-grid{grid-template-columns:minmax(0,1fr) minmax(90px,.6fr);align-items:end;gap:7px 10px;display:grid}.physical-cover-toggle-row{color:#5f5156;align-items:center;gap:8px;min-height:32px;font-size:10px;font-weight:700;display:flex}.physical-cover-toggle-row input,.physical-cover-production-check input{accent-color:#943c55}.physical-cover-two-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.physical-cover-image-actions{grid-template-columns:minmax(0,1fr) auto;gap:6px;display:grid}.physical-cover-upload-button,.physical-cover-project-cover-button,.physical-cover-reset-placement{justify-content:center;align-items:center;gap:6px;display:inline-flex}.physical-cover-upload-button{cursor:pointer;color:#fff;background:#943c55;border:1px solid #943c55;border-radius:7px;min-height:34px;padding:6px 10px;font-size:10px;font-weight:700}.physical-cover-upload-button input{display:none}.physical-cover-image-actions button,.physical-cover-project-cover-button,.physical-cover-reset-placement{background:#fff;border-color:#ddd2d6}.physical-cover-image-actions button:disabled{cursor:not-allowed;opacity:.45}.physical-cover-resolution-note{color:#6f6065;background:#faf8f9;border:1px solid #e4dade;border-radius:6px;padding:8px;font-size:9px}.physical-cover-slider input[type=range]{accent-color:#943c55;width:100%}.physical-cover-slider strong{color:#943c55;font-size:9px}.physical-cover-upload-error{color:#9a3e4c;background:#fff5f6;border:1px solid #ebc9d0;border-radius:6px;padding:8px;font-size:9px;line-height:1.4}.physical-cover-preflight-card>header>div{align-items:flex-start;gap:8px;display:flex}.physical-cover-preflight-card>header>div>div{gap:2px;display:grid}.physical-cover-preflight-card>header>div>svg{color:#943c55}.physical-cover-preflight-card button.primary{color:#fff;background:#943c55;border-color:#943c55;justify-content:center;align-items:center;gap:6px;display:inline-flex}.physical-cover-preflight-card button.primary:disabled{cursor:not-allowed;opacity:.45}.physical-cover-preflight-list{gap:6px;display:grid}.physical-cover-preflight-list>button{text-align:left;background:#fffaf0;border:1px solid #ead9ad;border-radius:6px;gap:2px;width:100%;padding:8px 9px;display:grid}.physical-cover-preflight-list>button.error{background:#fff5f6;border-color:#ebc9d0}.physical-cover-preflight-list strong{color:#74561c;font-size:9px}.physical-cover-preflight-list>button.error strong{color:#9a3e4c}.physical-cover-preflight-list span,.physical-cover-preflight-ok{color:#7d7075;font-size:9px;line-height:1.4}.physical-cover-preflight-ok{background:#f7faf8;border:1px solid #dce6df;border-radius:6px;padding:9px}.physical-cover-pdf-export-document{display:none}@media (width<=800px){.physical-cover-studio-summary,.physical-cover-studio-panels,.physical-cover-two-fields{grid-template-columns:1fr}.physical-cover-preflight-card>header{flex-direction:column;align-items:stretch}}@media print{body.physical-cover-print-exporting{background:#fff!important;margin:0!important;padding:0!important;overflow:visible!important}body.physical-cover-print-exporting .physical-indesign-shell{background:#fff!important;width:auto!important;height:auto!important;min-height:0!important;position:static!important;inset:auto!important;overflow:visible!important}body.physical-cover-print-exporting .physical-indesign-shell>:not(.physical-cover-pdf-export-document){display:none!important}body.physical-cover-print-exporting .physical-cover-pdf-export-document{background:#fff!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}body.physical-cover-print-exporting .physical-cover-canvas-shell.is-print{min-width:0!important;box-shadow:none!important;box-sizing:content-box!important;background:#fff!important;border:0!important;margin:0!important;display:inline-block!important}body.physical-cover-print-exporting .physical-cover-canvas-trim{background:#fff!important}body.physical-cover-print-exporting .physical-cover-canvas-zone{opacity:1!important;appearance:none!important;background:#fff!important;border-right:0!important}body.physical-cover-print-exporting .physical-cover-canvas-image-layer{background:0 0!important}}.physical-production-dialog.physical-cover-workspace-dialog{grid-template-rows:auto minmax(0,1fr);width:min(1180px,100vw - 20px);height:min(900px,100dvh - 20px);max-height:calc(100dvh - 20px);overflow:hidden}.physical-cover-workspace-dialog>.physical-cover-studio{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;min-width:0;height:100%;min-height:0;overflow:hidden auto}.physical-cover-studio-canvas-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;min-width:0;max-height:min(56dvh,560px);overflow:auto}.physical-cover-studio-panels,.physical-cover-settings-card,.physical-cover-preflight-card{min-width:0}@media (orientation:landscape) and (width<=1180px){.physical-production-backdrop{padding:10px}.physical-production-dialog.physical-cover-workspace-dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}.physical-cover-studio{gap:10px;padding:12px}.physical-cover-studio-canvas-scroll{max-height:52dvh}}@media (orientation:portrait) and (width<=1180px){.physical-production-dialog.physical-cover-workspace-dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}.physical-cover-studio{gap:10px;padding:11px}.physical-cover-studio-summary{grid-template-columns:1fr 1fr 1fr}.physical-cover-studio-panels{grid-template-columns:1fr}.physical-cover-studio-canvas-scroll{max-height:48dvh}}.physical-production-dialog.physical-cover-workspace-dialog{grid-template-rows:auto minmax(0,1fr)}.physical-cover-workspace-dialog>.physical-cover-studio{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;flex-direction:column;align-items:stretch;gap:14px;width:100%;min-width:0;height:auto;min-height:0;display:flex;overflow:hidden auto}.physical-cover-studio-summary,.physical-cover-studio-canvas-scroll,.physical-cover-studio-panels,.physical-cover-preflight-card{flex:none}.physical-cover-studio-canvas-scroll{box-sizing:border-box;-webkit-overflow-scrolling:touch;touch-action:pan-x;width:100%;height:auto;min-height:0;max-height:none;overflow:auto visible}.physical-cover-canvas-shell{flex:none}@media (width<=1180px){.physical-production-dialog.physical-cover-workspace-dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}.physical-cover-workspace-dialog>.physical-cover-studio{gap:12px;padding:12px}.physical-cover-studio-canvas-scroll{max-height:none}}.physical-pdf-export-document.physical-direct-pdf-source,.physical-cover-pdf-export-document.physical-direct-pdf-source{z-index:-1!important;pointer-events:none!important;background:#fff!important;width:max-content!important;height:auto!important;margin:0!important;padding:0!important;display:block!important;position:fixed!important;top:0!important;left:-100000px!important;overflow:visible!important}.physical-direct-pdf-source .physical-pdf-export-sheet{background:#fff!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;overflow:hidden!important}.physical-direct-pdf-source .physical-pdf-cover-sheet img{object-fit:contain!important;background:#fff!important;width:100%!important;height:100%!important;display:block!important}.physical-direct-pdf-source .physical-pdf-interior-sheet>.physical-facing-page{opacity:1!important;width:100%!important;height:100%!important;box-shadow:none!important;background:#fff!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;display:block!important;overflow:hidden!important;transform:none!important}.physical-direct-pdf-source .physical-pdf-interior-sheet .physical-facing-page-inner{width:100%!important;height:100%!important;box-shadow:none!important;transform-origin:0 0!important;background:#fff!important;border:0!important;border-radius:0!important;margin:0!important;display:block!important;transform:none!important}.physical-direct-pdf-source .professional-frame{box-shadow:none!important;border-color:#0000!important;outline:0!important}.physical-direct-pdf-source .physical-facing-page-number,.physical-direct-pdf-source .physical-text-flow-port,.physical-direct-pdf-source .physical-text-overset-port,.physical-direct-pdf-source .professional-guide,.physical-direct-pdf-source .physical-trim-outline,.physical-direct-pdf-source .physical-safe-area,.physical-direct-pdf-source .physical-master-columns,.physical-direct-pdf-source .physical-bleed-outline,.physical-direct-pdf-source .physical-gutter-danger{display:none!important}.physical-cover-pdf-export-document.physical-direct-pdf-source .physical-cover-canvas-shell.is-print{min-width:0!important;box-shadow:none!important;box-sizing:content-box!important;background:#fff!important;border:0!important;margin:0!important;display:inline-block!important}.physical-cover-pdf-export-document.physical-direct-pdf-source .physical-cover-canvas-trim{background:#fff!important}.physical-cover-pdf-export-document.physical-direct-pdf-source .physical-cover-canvas-zone{opacity:1!important;appearance:none!important;-webkit-text-fill-color:currentColor!important;background:#fff!important;border-right:0!important;outline:0!important}.physical-cover-pdf-export-document.physical-direct-pdf-source .physical-cover-canvas-image-layer{background:0 0!important}html[data-theme=light] .physical-indesign-shell{color:#30272a!important;background:#f1eef0!important}html[data-theme=light] .physical-indesign-shell .professional-layout-topbar{color:#30272a!important;background:#fffffffa!important;border-bottom-color:#ddd3d7!important}html[data-theme=light] .physical-indesign-shell .professional-identity strong{color:#30272a!important}html[data-theme=light] .physical-indesign-shell .professional-identity span,html[data-theme=light] .physical-indesign-shell .professional-save-state,html[data-theme=light] .physical-indesign-menubar-right{color:#8e8186!important}html[data-theme=light] .physical-indesign-shell .professional-back,html[data-theme=light] .physical-indesign-shell .physical-top-panel-actions button{color:#62565b!important;background:#fff!important;border-color:#e4dadd!important}html[data-theme=light] .physical-indesign-shell .physical-top-panel-actions button:hover{color:#943c55!important;background:#f8eef1!important}html[data-theme=light] .physical-indesign-shell .physical-top-panel-actions button.active{color:#fff!important;background:#943c55!important;border-color:#943c55!important}html[data-theme=light] .physical-indesign-menubar{color:#5f5559!important;background:#fbf9fa!important;border-bottom-color:#e1d7da!important}html[data-theme=light] .physical-menu-wrap>button{color:#5e5357!important}html[data-theme=light] .physical-menu-wrap>button:hover,html[data-theme=light] .physical-menu-wrap>button.active{color:#943c55!important;background:#f4e7eb!important}html[data-theme=light] .physical-dropdown-menu{color:#30272a!important;background:#fff!important;border-color:#d9cdd1!important;box-shadow:0 12px 32px #37262c24!important}html[data-theme=light] .physical-dropdown-menu button{color:#40363a!important}html[data-theme=light] .physical-dropdown-menu button:hover:not(:disabled){color:#fff!important;background:#943c55!important}html[data-theme=light] .physical-dropdown-menu button:disabled,html[data-theme=light] .physical-dropdown-menu small,html[data-theme=light] .physical-menu-section-label{color:#9b8e93!important}html[data-theme=light] .physical-dropdown-menu button.danger{color:#a23d4e!important}html[data-theme=light] .physical-menu-info{color:#30272a!important}html[data-theme=light] .physical-menu-info span{color:#74686c!important}html[data-theme=light] .physical-menu-separator{background:#e7dde0!important}html[data-theme=light] .physical-indesign-shell .professional-layout-body{background:#e8e5e7!important}html[data-theme=light] .physical-indesign-shell .professional-canvas-area{background:#dcd9db!important}html[data-theme=light] .physical-tool-rail{background:#fdfcfc!important;border-right-color:#d8ced2!important;box-shadow:2px 0 5px #3a272f0f!important}html[data-theme=light] .physical-tool-rail button{color:#62565b!important}html[data-theme=light] .physical-tool-rail button:hover{color:#943c55!important;background:#f8eef1!important;border-color:#ead7dd!important}html[data-theme=light] .physical-tool-rail button.active{color:#fff!important;background:#943c55!important;border-color:#943c55!important}html[data-theme=light] .physical-tool-rail button>span:not(.physical-hand-symbol){color:#fff!important;background:#3b3135!important;border-color:#54464c!important}html[data-theme=light] .physical-tool-separator{background:#d8cdd1!important}html[data-theme=light] .physical-indesign-shell .physical-print-toolbar{color:#4d4347!important;background:#f8f6f7!important;border-bottom-color:#d8ced2!important}html[data-theme=light] .physical-tool-context{border-right-color:#ded4d7!important}html[data-theme=light] .physical-tool-context-label span,html[data-theme=light] .physical-tool-hint{color:#94878c!important}html[data-theme=light] .physical-tool-context-label strong{color:#3c3236!important}html[data-theme=light] .physical-transform-controls label,html[data-theme=light] .physical-text-toolbar-field,html[data-theme=light] .physical-text-toolbar-align{color:#72666b!important;background:#fff!important;border-color:#ddd2d6!important}html[data-theme=light] .physical-transform-controls input,html[data-theme=light] .physical-indesign-shell .physical-toolbar-group select,html[data-theme=light] .physical-master-name-grid input,html[data-theme=light] .physical-master-name-grid select,html[data-theme=light] .physical-master-margin-grid input,html[data-theme=light] .physical-numbering-editor input,html[data-theme=light] .physical-numbering-editor select,html[data-theme=light] .physical-typography-grid input,html[data-theme=light] .physical-typography-grid select,html[data-theme=light] .physical-style-editor-head input,html[data-theme=light] .physical-scene-separator-picker select,html[data-theme=light] .physical-scene-separator-picker input{color:#3f3539!important;background:#fff!important;border-color:#ddd2d6!important}html[data-theme=light] .physical-context-primary,html[data-theme=light] .physical-context-zoom button,html[data-theme=light] .physical-indesign-shell .physical-toolbar-group button,html[data-theme=light] .physical-master-manager>header button,html[data-theme=light] .physical-typography-section>header button,html[data-theme=light] .physical-style-manager>header button,html[data-theme=light] .physical-master-actions button,html[data-theme=light] .physical-create-section,html[data-theme=light] .physical-section-delete,html[data-theme=light] .physical-style-editor-head button,html[data-theme=light] .physical-overset-actions button,html[data-theme=light] .physical-layout-two-buttons button{color:#5f5458!important;background:#fff!important;border-color:#d9ced2!important}html[data-theme=light] .physical-context-primary:hover,html[data-theme=light] .physical-context-zoom button:hover:not(:disabled),html[data-theme=light] .physical-indesign-shell .physical-toolbar-group button:hover:not(:disabled){color:#943c55!important;background:#f8eef1!important}html[data-theme=light] .physical-indesign-shell .professional-left-panel,html[data-theme=light] .physical-indesign-shell .professional-properties{color:#3f3539!important;background:#fbfafa!important;border-color:#d8ced2!important}html[data-theme=light] .physical-indesign-shell .professional-select select,html[data-theme=light] .physical-indesign-shell .professional-field input,html[data-theme=light] .physical-indesign-shell .professional-field select,html[data-theme=light] .physical-indesign-shell .professional-field textarea,html[data-theme=light] .physical-indesign-shell .professional-page-card,html[data-theme=light] .physical-indesign-shell .professional-unit-card,html[data-theme=light] .physical-indesign-shell .professional-asset-card,html[data-theme=light] .physical-material-row,html[data-theme=light] .physical-material-loose-unit,html[data-theme=light] .physical-source-image-grid article{color:#40363a!important;background:#fff!important;border-color:#ddd2d6!important}html[data-theme=light] .physical-material-row.chapter{background:#fbf5f7!important;border-color:#ead8de!important}html[data-theme=light] .physical-material-row.scene{background:#fff!important}html[data-theme=light] .physical-material-empty,html[data-theme=light] .physical-source-images-empty,html[data-theme=light] .physical-image-picker-empty{color:#8f8287!important;background:#f8f5f6!important;border-color:#ddd2d6!important}html[data-theme=light] .physical-indesign-shell .professional-ruler{color:#766a6f!important;background:#f4f1f2!important;border-color:#d6cbd0!important}html[data-theme=light] .physical-master-manager,html[data-theme=light] .physical-page-master-settings,html[data-theme=light] .physical-typography-section,html[data-theme=light] .physical-style-manager,html[data-theme=light] .physical-text-flow-panel,html[data-theme=light] .physical-scene-separator-picker,html[data-theme=light] .physical-multi-selection-panel,html[data-theme=light] .physical-image-picker-section{color:#40363a!important;background:#fff!important;border-color:#ddd2d6!important}html[data-theme=light] .physical-master-none,html[data-theme=light] .physical-master-list>button,html[data-theme=light] .physical-style-list>button,html[data-theme=light] .physical-master-toggle,html[data-theme=light] .physical-style-local-note,html[data-theme=light] .physical-text-flow-badge,html[data-theme=light] .physical-text-unlink-button,html[data-theme=light] .physical-separator-live-preview,html[data-theme=light] .physical-image-frame-status,html[data-theme=light] .physical-image-frame-note{color:#5f5458!important;background:#f7f4f5!important;border-color:#ddd2d6!important}html[data-theme=light] .physical-master-none:hover,html[data-theme=light] .physical-master-list>button:hover,html[data-theme=light] .physical-style-list>button:hover{background:#f8eef1!important;border-color:#d7b7c1!important}html[data-theme=light] .physical-master-none.active,html[data-theme=light] .physical-master-none.applied,html[data-theme=light] .physical-master-list>button.active,html[data-theme=light] .physical-master-list>button.applied,html[data-theme=light] .physical-style-list>button.active{color:#943c55!important;background:#f8eef1!important;border-color:#c9899c!important}html[data-theme=light] .physical-style-linked-note{color:#7d3b50!important;background:#f8eef1!important;border-color:#ead0d8!important}html[data-theme=light] .physical-overset-warning{color:#9f3e4d!important;background:#fff2f4!important;border-color:#efc6cf!important}html[data-theme=light] .physical-material-quick-actions>button{color:#7c4556!important;background:#f8eef1!important;border-color:#e8cfd7!important}html[data-theme=light] .physical-material-row-actions button,html[data-theme=light] .physical-material-loose-unit button,html[data-theme=light] .physical-source-image-grid article>button,html[data-theme=light] .physical-image-frame-actions button.secondary,html[data-theme=light] .physical-image-picker-grid>button,html[data-theme=light] .physical-dropdown-menu .physical-object-command-grid button,html[data-theme=light] .physical-multi-selection-actions button{color:#5e5357!important;background:#f7f4f5!important;border-color:#d9ced2!important}html[data-theme=light] .physical-source-image-thumb,html[data-theme=light] .physical-image-frame-preview,html[data-theme=light] .physical-image-picker-thumb{color:#7f7277!important;background:#f0edef!important;border-color:#d9ced2!important}html[data-theme=light] .physical-image-frame-preview img{background:#f4f1f2!important}html[data-theme=light] .physical-image-frame-status.filled{color:#943c55!important;background:#f8eef1!important;border-color:#d6a8b6!important}html[data-theme=light] .physical-dropdown-menu button.checked{color:#943c55!important;background:#f8eef1!important}html[data-theme=light] .physical-dropdown-menu button.checked:before{color:#943c55!important}html[data-theme=light] .physical-indesign-shell .professional-frame.locked:before{color:#6b5d62!important;background:#f4f1f2!important;border-color:#cfc3c7!important}.layout-studio-overlay{z-index:6200;color:#282427;background:#efedef;grid-template-rows:62px minmax(0,1fr);display:grid;position:fixed;inset:0;overflow:hidden}.layout-studio-topbar{min-width:0;padding:max(8px, env(safe-area-inset-top)) 14px 8px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff7;border-bottom:1px solid #dedadd;grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr);align-items:center;gap:14px;display:grid}.layout-studio-top-left,.layout-studio-top-right{align-items:center;gap:10px;min-width:0;display:flex}.layout-studio-top-right{justify-content:flex-end}.layout-studio-back{color:#50494d;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;width:38px;height:38px;padding:0;display:grid}.layout-studio-back:hover{color:var(--wine);background:var(--wine-soft)}.layout-studio-identity{align-items:center;gap:9px;min-width:0;display:flex}.layout-studio-identity>svg{color:var(--wine);flex:none}.layout-studio-identity>div{gap:1px;min-width:0;display:grid}.layout-studio-identity strong{color:#292529;font-size:11px}.layout-studio-identity span{color:#8a8186;text-overflow:ellipsis;white-space:nowrap;max-width:230px;font-size:8px;overflow:hidden}.layout-studio-mode-switch{background:#f2eff1;border:1px solid #dedadd;border-radius:10px;align-items:center;gap:2px;padding:3px;display:flex}.layout-studio-mode-switch button{color:#71696d;background:0 0;border:0;border-radius:7px;min-height:34px;padding:0 13px;font-size:9px;font-weight:650}.layout-studio-mode-switch button.active{color:var(--wine);background:var(--surface);box-shadow:0 1px 4px #34272c14}.layout-studio-save{color:#8a8186;justify-content:flex-end;align-items:center;gap:5px;min-width:66px;font-size:8px;display:flex}.layout-studio-save.error{color:#a43d50}.layout-compact-switch{background:#f2eff1;border:1px solid #dedadd;border-radius:9px;padding:3px;display:none}.layout-compact-switch button{color:#766e72;background:0 0;border:0;border-radius:6px;min-height:31px;padding:0 10px;font-size:8px}.layout-compact-switch button.active{color:var(--wine);background:var(--surface);box-shadow:0 1px 3px #2d222714}.layout-studio-body{grid-template-columns:76px 310px minmax(0,1fr);min-width:0;min-height:0;display:grid}.layout-studio-rail{min-width:0;min-height:0;padding:12px 7px max(12px, env(safe-area-inset-bottom));background:#f7f5f6;border-right:1px solid #dedadd;flex-direction:column;justify-content:space-between;gap:12px;display:flex;overflow-y:auto}.layout-studio-rail-main{gap:5px;display:grid}.layout-studio-rail button{color:#746b70;text-align:center;background:0 0;border:0;border-radius:10px;align-content:center;place-items:center;gap:5px;min-height:55px;padding:6px 3px;font-size:7px;line-height:1.1;display:grid}.layout-studio-rail button:hover,.layout-studio-rail button.active{color:var(--wine);background:var(--surface);box-shadow:0 1px 4px #2d222714}.layout-studio-rail button svg{flex:none}.layout-studio-inspector{background:var(--surface);border-right:1px solid #dedadd;min-width:0;min-height:0;overflow:hidden}.layout-studio-inspector-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;height:100%;padding:22px 18px 60px;overflow-y:auto}.layout-inspector-heading{margin-bottom:24px}.layout-inspector-heading>span{color:var(--wine);letter-spacing:.12em;text-transform:uppercase;margin-bottom:5px;font-size:8px;font-weight:750;display:block}.layout-inspector-heading h2{color:#282327;margin:0;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:500;line-height:1.1}.layout-inspector-heading p{color:#8b8287;margin:8px 0 0;font-size:9px;line-height:1.5}.layout-theme-list{gap:10px;display:grid}.layout-theme-card{color:#312b2f;background:var(--surface);text-align:left;border:1px solid #dfdbde;border-radius:12px;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:12px;width:100%;min-height:100px;padding:10px;display:grid;position:relative}.layout-theme-card:hover,.layout-theme-card.active{border-color:#943c556b}.layout-theme-card.active{box-shadow:0 0 0 2px #943c5514}.layout-theme-preview{background:#f7f4f2;border:1px solid #e7e1dd;border-radius:5px;align-content:start;gap:7px;width:72px;height:80px;padding:11px;display:grid}.layout-theme-preview span{color:#443c40;text-align:center;font-family:Georgia,serif;font-size:18px}.layout-theme-preview i{background:#b9afb4;border-radius:999px;height:2px;display:block}.layout-theme-preview i:nth-child(3){width:82%}.layout-theme-preview i:nth-child(4){width:92%}.layout-theme-copy{gap:5px;min-width:0;display:grid}.layout-theme-copy strong{font-size:11px}.layout-theme-copy span{color:#8b8287;font-size:8px;line-height:1.45}.layout-theme-check{color:#fff;background:var(--wine);border-radius:50%;place-items:center;width:22px;height:22px;display:grid;position:absolute;top:8px;right:8px}.layout-inspector-controls{gap:21px;display:grid}.layout-studio-select,.layout-studio-range,.layout-control-block{gap:8px;display:grid}.layout-studio-select>span,.layout-control-block>span,.layout-studio-range>div>span{color:#625a5e;font-size:9px;font-weight:650}.layout-studio-select select{color:#302b2e;background:#f8f6f7;border:1px solid #dfdbde;border-radius:9px;outline:none;width:100%;min-height:41px;padding:0 10px;font-size:10px}.layout-studio-select select:focus{border-color:#943c556b}.layout-studio-range>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.layout-studio-range strong{color:var(--wine);font-size:9px}.layout-studio-range input{width:100%;accent-color:var(--wine)}.layout-segmented{background:#f4f1f3;border:1px solid #dfdbde;border-radius:9px;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:3px;display:grid}.layout-segmented button{color:#766e72;background:0 0;border:0;border-radius:6px;min-height:34px;font-size:9px}.layout-segmented button.active{color:var(--wine);background:var(--surface);box-shadow:0 1px 3px #32262b17}.layout-studio-toggle{border-top:1px solid #ece8ea;border-bottom:1px solid #ece8ea;justify-content:space-between;align-items:center;gap:14px;min-height:56px;padding:11px 0;display:flex}.layout-studio-toggle>div{gap:3px;min-width:0;display:grid}.layout-studio-toggle strong{color:#4f474b;font-size:9px}.layout-studio-toggle span{color:#938a8f;font-size:8px;line-height:1.4}.layout-studio-toggle input{width:18px;height:18px;accent-color:var(--wine);flex:none}.layout-break-demo{color:#81767c;text-align:center;background:#f8f6f7;border:1px solid #e5e0e3;border-radius:10px;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;min-height:80px;padding:14px;font-family:Georgia,serif;font-size:11px;display:grid}.layout-break-demo span{background:#ddd5d9;height:1px}.layout-studio-preview{background:#ebe9eb;grid-template-rows:52px minmax(0,1fr);min-width:0;min-height:0;display:grid}.layout-studio-previewbar{background:#f7f6f7f5;border-bottom:1px solid #dcd8da;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:0 18px;display:flex}.layout-studio-previewbar>div:first-child{gap:2px;min-width:0;display:grid}.layout-studio-previewbar strong{color:#494145;font-size:9px}.layout-studio-previewbar span{color:#92898e;font-size:8px}.layout-device-switch{background:#efedef;border:1px solid #dad5d8;border-radius:8px;align-items:center;gap:2px;padding:3px;display:flex}.layout-device-switch button{color:#7d7479;background:0 0;border:0;border-radius:6px;place-items:center;width:32px;height:29px;padding:0;display:grid}.layout-device-switch button.active{color:var(--wine);background:var(--surface);box-shadow:0 1px 3px #2d222714}.layout-preview-stage-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;min-width:0;min-height:0;padding:42px 34px 100px;overflow:auto}.layout-pages-stack{align-content:start;justify-items:center;gap:34px;width:100%;display:grid}.layout-reader-page{width:var(--layout-page-width);height:var(--layout-page-height);min-height:0;padding:var(--layout-page-padding);padding-bottom:calc(var(--layout-page-padding) + 28px);color:#292529;font-family:var(--layout-body-font);font-size:var(--layout-body-size);line-height:var(--layout-line-height);text-align:var(--layout-text-align);background:#fffefd;border:1px solid #47393e14;border-radius:3px;margin:0;position:relative;overflow:hidden;box-shadow:0 15px 42px #3b2d321a}.layout-reader-page-content{width:min(var(--layout-content-width), 100%);height:100%;margin:0 auto;overflow:hidden}.layout-preview-heading-block{color:#211d20;font-family:var(--layout-heading-font);letter-spacing:-.02em;text-align:var(--layout-heading-align);font-weight:500;line-height:1.18}.layout-preview-heading-block.part{font-size:var(--layout-part-size);margin:0 0 1.45em}.layout-preview-heading-block.chapter{font-size:var(--layout-chapter-size);margin:0 0 1.15em}.layout-preview-heading-block.section{font-size:calc(var(--layout-chapter-size) * .86);margin:0 0 1.1em}.layout-preview-heading-block.document{font-size:var(--layout-chapter-size);margin:0 0 1.15em}.layout-preview-paragraph{margin:0 0 var(--layout-paragraph-gap);text-indent:var(--layout-indent);white-space:pre-wrap}.layout-preview-paragraph.continuation{text-indent:0}.layout-preview-paragraph.poem{text-indent:0;white-space:pre-wrap}.layout-reader-page.drop-cap .layout-preview-paragraph.first-of-unit:not(.continuation):first-letter{float:left;font-family:var(--layout-heading-font);margin:.04em .08em 0 0;font-size:3.2em;line-height:.78}.layout-scene-break{width:100%;min-height:var(--layout-scene-spacing);color:#80757b;font-family:var(--layout-heading-font);text-align:center;place-items:center;display:grid}.layout-scene-break.space{height:var(--layout-scene-spacing)}.layout-scene-break.symbol{padding:calc(var(--layout-scene-spacing) * .5) 0;letter-spacing:.18em;font-size:.8em}.layout-scene-break.line{padding:var(--layout-scene-spacing) 0}.layout-scene-break.line span{opacity:.55;background:currentColor;width:min(80px,22%);height:1px}.layout-scene-break.numbered{min-height:calc(var(--layout-scene-spacing) + .65em);color:#6f646a;font-variant-numeric:tabular-nums;letter-spacing:.18em;font-size:.72em;font-weight:650}.layout-page-number{color:#9b9297;font-variant-numeric:tabular-nums;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:9px;line-height:1;position:absolute;bottom:14px;left:50%;transform:translate(-50%)}.layout-reader-empty-text{color:#978e93;text-align:left;margin:0;font-size:.8em;font-style:italic}.layout-pages-stack.device-tablet .layout-reader-page{border-radius:8px}.layout-pages-stack.device-phone .layout-reader-page{border-radius:10px}.layout-studio-preview-empty,.layout-studio-loading,.layout-studio-error{color:#877e83;text-align:center;align-content:center;place-items:center;gap:9px;min-height:100%;display:grid}.layout-studio-preview-empty svg{color:var(--wine)}.layout-studio-preview-empty strong,.layout-studio-error strong{color:#40393d;font-family:Georgia,serif;font-size:18px;font-weight:500}.layout-studio-preview-empty p,.layout-studio-error p{max-width:420px;margin:0;font-size:9px;line-height:1.55}.layout-studio-inline-error{color:#943c55;background:#fff3f5;border:1px solid #943c5526;border-radius:9px;margin-top:20px;padding:10px;font-size:9px}.layout-future-studio{background:#efedef;place-items:center;min-width:0;min-height:0;padding:30px;display:grid}.layout-future-studio-card{background:var(--surface);text-align:center;border:1px solid #dedadd;border-radius:16px;align-content:center;place-items:center;gap:10px;width:min(620px,100%);min-height:380px;padding:40px;display:grid;box-shadow:0 14px 38px #372a2f12}.layout-future-studio-card>svg{color:var(--wine)}.layout-future-studio-card h2{color:#2e282c;margin:0;font-family:Georgia,serif;font-size:27px;font-weight:500}.layout-future-studio-card p{color:#877e83;max-width:520px;margin:0;font-size:10px;line-height:1.6}.layout-future-studio-card>span:last-child{color:var(--wine);background:var(--wine-soft);border-radius:999px;margin-top:10px;padding:6px 10px;font-size:8px;font-weight:650}.layout-launcher{text-align:center;align-content:center;place-items:center;gap:9px;min-height:420px;display:grid}.layout-launcher-icon{width:54px;height:54px;color:var(--wine);background:var(--wine-soft);border-radius:15px;place-items:center;margin-bottom:4px;display:grid}.layout-launcher h1{color:var(--text);font-family:Georgia,serif;font-size:var(--workspace-page-title-size);margin:0;font-weight:500}.layout-launcher p{max-width:520px;color:var(--text-soft);margin:0 0 9px;font-size:11px}@media (width<=980px){.layout-studio-topbar{grid-template-columns:minmax(110px,1fr) auto minmax(110px,1fr)}.layout-studio-identity span{display:none}.layout-compact-switch{display:flex}.layout-studio-save{display:none}.layout-studio-body{grid-template-columns:70px minmax(0,1fr)}.layout-studio-rail{grid-area:1/1}.layout-studio-inspector,.layout-studio-preview{grid-area:1/2}.layout-studio-body.compact-settings .layout-studio-preview,.layout-studio-body.compact-preview .layout-studio-inspector{display:none}}@media (width<=700px){.layout-studio-overlay{grid-template-rows:58px minmax(0,1fr)}.layout-studio-topbar{grid-template-columns:auto minmax(0,1fr) auto;gap:6px;padding-left:8px;padding-right:8px}.layout-studio-identity>div{display:none}.layout-studio-mode-switch button,.layout-compact-switch button{padding:0 7px;font-size:7px}.layout-studio-body{grid-template-columns:58px minmax(0,1fr)}.layout-studio-rail{padding-left:4px;padding-right:4px}.layout-studio-rail button{min-height:49px;font-size:6px}.layout-studio-inspector-scroll{padding:18px 14px 50px}.layout-preview-stage-scroll{padding:24px 10px 80px}.layout-reader{min-height:700px;padding:30px 20px}}.layout-segmented.three{grid-template-columns:repeat(3,minmax(0,1fr))}.layout-format-help{background:#f8f6f7;border:1px solid #e4dfe2;border-radius:9px;align-content:center;gap:2px;min-height:46px;padding:9px 10px;display:grid}.layout-format-help strong{color:#51494d;font-size:9px}.layout-format-help span{color:#92898e;font-size:8px}.layout-preview-actions{justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.layout-current-format{white-space:nowrap;background:#f3f0f2;border:1px solid #ddd7da;border-radius:7px;padding:5px 8px;font-weight:650;color:#746a70!important;font-size:8px!important}.layout-zoom-controls{background:#efedef;border:1px solid #dad5d8;border-radius:8px;grid-template-columns:30px 42px 30px;align-items:center;gap:1px;padding:3px;display:grid}.layout-zoom-controls button{color:#756c71;background:0 0;border:0;border-radius:6px;place-items:center;width:30px;height:29px;padding:0;display:grid}.layout-zoom-controls button:hover:not(:disabled){color:var(--wine);background:var(--surface)}.layout-zoom-controls button:disabled{opacity:.3}.layout-zoom-controls>span{font-variant-numeric:tabular-nums;text-align:center;color:#62595e!important;font-size:8px!important}.layout-pages-stack{grid-template-columns:repeat(var(--layout-page-columns), var(--layout-page-display-width));place-content:start center;place-items:start;gap:28px;width:max-content;max-width:none;margin:0 auto;display:grid}.layout-page-scale-frame{width:var(--layout-page-display-width);height:var(--layout-page-display-height);position:relative;overflow:visible}.layout-page-scale-frame>.layout-reader-page{transform:scale(var(--layout-preview-scale));transform-origin:0 0;position:absolute;top:0;left:0}.layout-reader-page{box-sizing:border-box}.layout-scene-break.numbered{min-height:calc(var(--layout-scene-spacing) + .65em);color:#6f646a;font-family:var(--layout-heading-font);font-variant-numeric:tabular-nums;letter-spacing:.08em;font-size:.78em;font-weight:600}@media (width<=980px){.layout-preview-actions{gap:5px}.layout-current-format{display:none}}@media (width<=700px){.layout-zoom-controls{grid-template-columns:28px 38px 28px}.layout-zoom-controls button{width:28px}.layout-pages-stack{grid-template-columns:var(--layout-page-display-width)}}.layout-studio-overlay,.layout-studio-overlay *,.layout-format-home,.layout-format-home *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.layout-format-home{gap:30px;width:min(980px,100%);margin:0 auto;padding:34px 0 90px;display:grid}.layout-format-home-heading{max-width:680px}.layout-format-home-heading h1{color:var(--text);font-family:Georgia,Times New Roman,serif;font-size:var(--workspace-page-title-size,36px);letter-spacing:-.035em;margin:0;font-weight:500;line-height:1.08}.layout-format-home-heading p{max-width:620px;color:var(--text-soft);margin:10px 0 0;font-size:11px;line-height:1.6}.layout-format-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.layout-format-card{min-height:255px;color:var(--text);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);text-align:left;border-radius:18px;align-content:start;justify-items:start;gap:8px;padding:28px;display:grid}.layout-format-card:hover{border-color:#943c554d;box-shadow:0 14px 34px #442d3514}.layout-format-card-icon{width:50px;height:50px;color:var(--wine);background:var(--wine-soft);border-radius:14px;place-items:center;margin-bottom:9px;display:grid}.layout-format-card h2{color:var(--text);margin:0;font-family:Georgia,Times New Roman,serif;font-size:25px;font-weight:500}.layout-format-card p{max-width:365px;color:var(--text-soft);margin:0;font-size:10px;line-height:1.6}.layout-format-card>strong:last-child{color:var(--wine);margin-top:17px;font-size:10px}.layout-studio-current-mode{color:var(--wine);background:var(--wine-soft);border:1px solid #943c551f;border-radius:999px;justify-self:center;padding:6px 12px;font-size:9px;font-weight:700}.layout-digital-cover-preview{aspect-ratio:2/3;background:#f4f1f2;border:1px solid #ded8dc;border-radius:9px;place-items:center;width:min(180px,100%);margin:0 auto;display:grid;overflow:hidden;box-shadow:0 7px 18px #36282e0f}.layout-digital-cover-preview img{object-fit:cover;width:100%;height:100%;display:block}.layout-digital-cover-preview>div{color:#8b8186;text-align:center;place-items:center;gap:6px;padding:16px;display:grid}.layout-digital-cover-preview svg{color:var(--wine)}.layout-digital-cover-preview strong{color:#4d4549;font-family:Georgia,serif;font-size:15px;font-weight:500}.layout-digital-cover-preview span{font-size:8px}.layout-cover-actions{grid-template-columns:minmax(0,1fr) auto;gap:7px;display:grid}.layout-cover-upload-button,.layout-cover-remove-button{border-radius:9px;justify-content:center;align-items:center;gap:6px;min-height:39px;padding:0 11px;font-size:9px;font-weight:650;display:flex}.layout-cover-upload-button{color:#fff;background:var(--wine);border:1px solid var(--wine);cursor:pointer;position:relative;overflow:hidden}.layout-cover-upload-button input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.layout-cover-remove-button{color:#8f4659;background:#fff7f9;border:1px solid #943c5526}.layout-cover-note{color:#8b8287;background:#f8f6f7;border:1px solid #e6e1e4;border-radius:9px;padding:10px;font-size:8px;line-height:1.55}.layout-cover-note strong{color:#62595e}.layout-digital-cover-page{background:#fffefd;place-items:stretch stretch;display:grid;overflow:hidden;padding:0!important}.layout-digital-cover-page img{width:100%;height:100%;display:block}.layout-digital-cover-page img.cover{object-fit:cover}.layout-digital-cover-page img.contain{object-fit:contain;background:#fffefd}.layout-digital-cover-empty{color:#999095;text-align:center;background:linear-gradient(145deg,#fffefd,#f5f1f3);align-content:center;place-items:center;gap:8px;width:100%;height:100%;display:grid}.layout-digital-cover-empty svg{color:var(--wine)}.layout-digital-cover-empty strong{color:#493f44;font-family:Georgia,serif;font-size:22px;font-weight:500}.layout-digital-cover-empty span{font-family:Inter,sans-serif;font-size:9px}@media (width<=850px){.layout-format-cards{grid-template-columns:1fr}.layout-format-card{min-height:210px}}@media (width<=700px){.layout-format-home{padding-top:24px}.layout-format-card{padding:22px}.layout-studio-current-mode{padding:5px 8px;font-size:7px}}.layout-studio-text-input,.layout-studio-textarea{color:#302b2e;-webkit-user-select:text;user-select:text;background:#f8f6f7;border:1px solid #dfdbde;border-radius:9px;outline:none;width:100%;padding:0 10px;font-family:inherit;font-size:10px}.layout-studio-text-input{min-height:41px}.layout-studio-textarea{resize:vertical;min-height:92px;padding-top:10px;padding-bottom:10px;line-height:1.45}.layout-studio-text-input:focus,.layout-studio-textarea:focus{border-color:#943c556b}.layout-index-inspector-list{gap:3px;display:grid}.layout-index-inspector-list button{color:#5b5357;text-align:left;background:0 0;border:0;border-radius:7px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:34px;padding:0 8px;font-size:9px;display:grid}.layout-index-inspector-list button:hover{color:var(--wine);background:#f7f3f5}.layout-index-inspector-list button.depth-1{padding-left:20px}.layout-index-inspector-list button.depth-2{padding-left:32px}.layout-index-inspector-list button.depth-3{padding-left:44px}.layout-index-inspector-list button b{color:#978d92;font-size:8px;font-weight:600}.layout-index-empty{color:#978d92;text-align:center;background:#f8f6f7;border-radius:9px;margin:0;padding:16px;font-size:9px}.layout-index-note,.layout-export-note{color:#8b8287;background:#f8f6f7;border:1px solid #e6e1e4;border-radius:9px;padding:10px;font-size:8px;line-height:1.55}.layout-index-note strong,.layout-export-note strong{color:#5c5358}.layout-index-page-content{width:min(var(--layout-content-width), 100%);height:100%;margin:0 auto;overflow:hidden}.layout-index-page-content h1{color:#282327;font-family:var(--layout-heading-font);font-size:var(--layout-chapter-size);text-align:center;margin:0 0 1.6em;font-weight:500;line-height:1.15}.layout-index-page-content ol{gap:.55em;margin:0;padding:0;list-style:none;display:grid}.layout-index-page-content li.depth-1{padding-left:1.5em}.layout-index-page-content li.depth-2{padding-left:3em}.layout-index-page-content li.depth-3{padding-left:4.5em}.layout-index-page-content li.depth-4{padding-left:6em}.layout-index-page-content a{color:#373035;grid-template-columns:auto minmax(18px,1fr) auto;align-items:end;gap:.55em;text-decoration:none;display:grid}.layout-index-page-content a:hover{color:var(--wine)}.layout-index-page-content a i{border-bottom:1px dotted #aca3a8;min-width:16px;transform:translateY(-.25em)}.layout-index-page-content a b{font-variant-numeric:tabular-nums;font-weight:400}.layout-index-page-empty{color:#938a8f;text-align:center;font-size:.85em;font-style:italic}.layout-export-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.layout-export-summary div{background:#f8f6f7;border:1px solid #e6e1e4;border-radius:9px;align-content:center;gap:3px;min-height:58px;padding:10px;display:grid}.layout-export-summary span{color:#978d92;text-transform:uppercase;letter-spacing:.08em;font-size:7px;font-weight:650}.layout-export-summary strong{color:#4d4549;font-family:Georgia,serif;font-size:14px;font-weight:500}.layout-export-buttons{gap:8px;display:grid}.layout-export-buttons button{color:#fff;background:var(--wine);border:1px solid var(--wine);border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:0 12px;font-size:9px;font-weight:700;display:flex}.layout-export-buttons button:nth-child(2){color:var(--wine);background:var(--surface);border-color:#943c553d}.layout-export-buttons button:disabled{opacity:.55}.layout-digital-cover-page .layout-page-number{display:none}.layout-entry-back{color:#6f666b;background:var(--surface);border:1px solid var(--border);border-radius:9px;align-items:center;gap:6px;width:fit-content;min-height:36px;padding:0 10px;font-size:9px;display:flex}.layout-entry-back:hover{color:var(--wine);border-color:#943c5547}.professional-choice-card{background:linear-gradient(145deg,#fff,#fdf9fa)}.tools-section{box-sizing:border-box;width:100%;max-width:1180px;margin:0 auto;padding:42px 34px 64px}.tools-hero{text-align:center;max-width:720px;margin:0 auto 34px}.tools-hero-icon,.tools-card-icon{color:#a14460;background:#fbf1f4;border:1px solid #eedde2;border-radius:14px;place-items:center;width:42px;height:42px;display:inline-grid}.tools-card-icon.large{flex:none;width:48px;height:48px}.tools-hero .eyebrow,.tools-detail-header .eyebrow,.tools-result-heading .eyebrow{color:#943c55;letter-spacing:.16em;text-transform:uppercase;margin-top:15px;font-size:11px;font-weight:800;display:block}.tools-hero h1,.tools-detail-title-row h1{color:#352c30;margin:8px 0;font-family:Georgia,Times New Roman,serif;font-size:clamp(32px,4vw,46px);font-weight:500;line-height:1.08}.tools-hero p,.tools-detail-title-row p{color:#75696e;margin:0;font-size:15px;line-height:1.65}.tools-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.tools-card{background:var(--surface);text-align:left;cursor:pointer;border:1px solid #eadfe2;border-radius:18px;gap:15px;min-height:144px;padding:22px;transition:border-color .18s,box-shadow .18s,transform .18s;display:flex}.tools-card:hover,.tools-card:focus-visible{border-color:#d8b6c0;outline:none;transform:translateY(-2px);box-shadow:0 12px 30px #572d3a14}.tools-card h3{color:#3f3438;margin:2px 0 7px;font-size:16px}.tools-card p{color:#82767a;margin:0;font-size:13px;line-height:1.55}.tools-hub-note,.tools-source-note{color:#806d73;background:#faf5f6;border-radius:12px;align-items:center;gap:9px;margin-top:20px;padding:12px 14px;font-size:12px;line-height:1.45;display:flex}.tools-section-detail{max-width:1240px;padding-top:28px}.tools-detail-header{margin-bottom:26px}.tools-back-button{color:#77696e;font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:7px;margin-bottom:20px;padding:0;font-size:13px;display:inline-flex}.tools-back-button:hover{color:#943c55}.tools-detail-title-row{align-items:flex-start;gap:16px;display:flex}.tools-detail-title-row .eyebrow{margin-top:2px}.tools-detail-title-row h1{font-size:34px}.tools-lexical-controls,.tools-scope-bar,.tools-result-panel,.tools-stat-card,.tools-analysis-card,.tools-loading-panel,.tools-error,.tools-empty-result{background:var(--surface);border:1px solid #eadfe2;border-radius:16px}.tools-lexical-controls{margin-bottom:16px;padding:16px}.tools-language-switch{background:#f5f0f2;border-radius:12px;gap:4px;padding:4px;display:inline-flex}.tools-language-switch button{color:#74676c;min-width:92px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:8px 12px;font-size:12px}.tools-language-switch button.active{color:#fff;background:#943c55;box-shadow:0 3px 10px #943c552e}.tools-language-switch.compact{flex:none}.tools-search-row{gap:10px;margin-top:12px;display:flex}.tools-search-box{color:#9b8a90;background:var(--surface);border:1px solid #dfd3d7;border-radius:12px;flex:1;align-items:center;gap:10px;min-width:0;padding:0 13px;display:flex}.tools-search-box:focus-within{border-color:#b96a82;box-shadow:0 0 0 3px #943c5514}.tools-search-box input{color:#40363a;width:100%;min-width:0;height:44px;font:inherit;background:0 0;border:0;outline:0;font-size:14px}.tools-primary-button{color:#fff;min-width:118px;font:inherit;cursor:pointer;background:#943c55;border:1px solid #943c55;border-radius:12px;justify-content:center;align-items:center;gap:7px;padding:0 18px;font-size:13px;font-weight:700;display:inline-flex}.tools-primary-button:disabled{opacity:.5;cursor:default}.tools-result-panel{padding:20px}.tools-result-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.tools-result-heading .eyebrow{margin:0 0 4px}.tools-result-heading h2{color:#40353a;margin:0;font-size:22px}.tools-meta-pill{color:#943c55;background:#f7edef;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:700}.tools-definition-list{gap:10px;display:grid}.tools-definition-list article{background:#fbf8f9;border-radius:12px;padding:14px 15px}.tools-definition-list article>span{color:#9b5569;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px;font-size:11px;font-weight:800;display:block}.tools-definition-list p,.tools-result-note{color:#5f5358;margin:0;font-size:13px;line-height:1.62}.tools-result-note{color:#82747a;margin:-4px 0 16px}.tools-word-grid{flex-wrap:wrap;gap:8px;display:flex}.tools-word-chip{background:var(--surface);color:#514449;font:inherit;cursor:pointer;border:1px solid #e4d7db;border-radius:11px;align-items:center;gap:7px;padding:9px 11px;font-size:13px;display:inline-flex;position:relative}.tools-word-chip:hover{color:#943c55;background:#fcf6f8;border-color:#c98ca0}.tools-word-chip small{color:#fff;white-space:nowrap;background:#44383c;border-radius:6px;padding:4px 7px;font-size:9px;position:absolute;bottom:calc(100% + 5px);left:50%;transform:translate(-50%)}.tools-rhyme-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.tools-empty-state,.tools-empty-result,.tools-loading-panel{color:#887a7f;text-align:center;place-items:center;gap:8px;min-height:160px;padding:24px;font-size:13px;display:grid}.tools-empty-state strong{color:#514449;font-size:14px}.tools-error{color:#9d4058;background:#fff6f7;border-color:#ecc8cf;margin-bottom:16px;padding:12px 14px;font-size:12px}.tools-scope-bar{justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px;padding:14px 16px;display:flex}.tools-scope-bar>div{gap:3px;display:grid}.tools-field-label{color:#9a8c91;letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:800}.tools-scope-bar strong{color:#4b3f43;font-size:13px}.tools-scope-bar select{background:var(--surface);color:#52464a;width:min(340px,48%);height:38px;font:inherit;border:1px solid #dfd3d7;border-radius:10px;padding:0 10px;font-size:12px}.tools-stats-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.tools-stat-card{min-height:122px;padding:17px}.tools-stat-card>span{color:#8b7d82;font-size:11px;display:block}.tools-stat-card strong{color:#44383d;margin:10px 0 4px;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:500;display:block}.tools-stat-card small{color:#a09297;font-size:10px}.tools-analysis-toolbar{align-items:stretch;gap:12px;margin-bottom:16px;display:flex}.tools-analysis-toolbar .tools-scope-bar{flex:1;margin-bottom:0}.tools-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.tools-analysis-card{padding:17px}.tools-analysis-card.wide{grid-column:1/-1}.tools-analysis-card-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.tools-analysis-card-heading h3{color:#4b3e43;margin:0 0 4px;font-size:14px}.tools-analysis-card-heading p{color:#94868b;margin:0;font-size:10px;line-height:1.4}.tools-analysis-card-heading>span{color:#943c55;background:#f7edef;border-radius:999px;place-items:center;min-width:30px;height:26px;padding:0 7px;font-size:11px;font-weight:800;display:grid}.tools-count-list{gap:7px;display:grid}.tools-count-list>div{color:#5f5257;background:#faf7f8;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:8px 10px;font-size:12px;display:flex}.tools-count-list strong{color:#943c55;font-size:11px}.tools-analysis-empty{color:#a09297;text-align:center;padding:18px 8px;font-size:11px}.tools-text-issue-list{gap:9px;display:grid}.tools-text-issue-list article{background:#faf7f8;border-radius:10px;padding:11px 12px}.tools-text-issue-list strong{color:#9b4b63;margin-bottom:4px;font-size:10px;display:block}.tools-text-issue-list p{color:#65585d;margin:0;font-size:11px;line-height:1.55}@media (width<=1080px){.tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tools-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){.tools-section{padding:28px 18px 48px}.tools-grid,.tools-rhyme-layout,.tools-analysis-grid{grid-template-columns:1fr}.tools-analysis-card.wide{grid-column:auto}.tools-search-row,.tools-analysis-toolbar,.tools-scope-bar,.tools-detail-title-row{flex-direction:column;align-items:stretch}.tools-primary-button{min-height:42px}.tools-scope-bar select{width:100%}.tools-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tools-language-switch,.tools-language-switch.compact{width:100%}.tools-language-switch button{flex:1}}.tools-wordnet-senses{gap:12px;display:grid}.tools-wordnet-sense{background:#fbf8f9;border:1px solid #eadde1;border-radius:13px;padding:15px}.tools-wordnet-sense-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.tools-wordnet-sense-heading>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.tools-wordnet-sense-heading strong{color:#4b3e43;font-size:13px}.tools-wordnet-sense-heading span{color:#943c55;text-transform:uppercase;letter-spacing:.06em;background:#f3e8eb;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800}.tools-wordnet-sense>p{color:#72646a;margin:0 0 12px;font-size:12px;line-height:1.55}.project-settings-page{gap:22px;width:100%;padding-bottom:24px;display:grid}.project-settings-heading{align-items:flex-start;gap:16px;max-width:760px;display:flex}.project-settings-heading-icon{width:48px;height:48px;color:var(--wine,#943c55);background:#943c5514;border:1px solid #943c551f;border-radius:15px;flex:0 0 48px;place-items:center;display:grid}.project-settings-heading h1{color:var(--text,#292427);letter-spacing:-.035em;margin:0;font-family:Georgia,Times New Roman,serif;font-size:clamp(30px,3.2vw,40px);font-weight:500;line-height:1.04}.project-settings-heading p{max-width:610px;color:var(--text-soft,#746a6e);margin:10px 0 0;font-size:12px;line-height:1.6}.project-settings-grid{grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);align-items:start;gap:16px;display:grid}.project-settings-card{background:var(--surface);border:1px solid var(--border,#eadfe3);border-radius:18px;min-width:0;padding:20px;box-shadow:0 10px 30px #3a252c09}.project-settings-general{grid-row:span 2}.project-settings-card-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px;display:flex}.project-settings-card-heading>div{min-width:0}.project-settings-card-heading>svg{color:var(--wine,#943c55);opacity:.82;flex:none}.project-settings-card-heading span,.project-settings-danger-copy>span{color:var(--wine,#943c55);letter-spacing:.13em;text-transform:uppercase;margin-bottom:5px;font-size:9px;font-weight:760;line-height:1;display:block}.project-settings-card-heading h2,.project-settings-danger h2{color:var(--text,#292427);margin:0;font-size:16px;font-weight:720;line-height:1.25}.project-settings-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.project-settings-field{gap:7px;min-width:0;display:grid}.project-settings-field-wide{grid-column:1/-1}.project-settings-field>span{color:var(--text,#292427);font-size:11px;font-weight:680;line-height:1.2}.project-settings-field small{color:var(--text-muted,#988e92);font-size:10px;line-height:1.45}.project-settings-field input,.project-settings-select select{width:100%;min-width:0;height:42px;color:var(--text,#292427);background:var(--surface);border:1px solid var(--border,#eadfe3);font:inherit;border-radius:11px;outline:none;padding:0 12px;font-size:12px;transition:border-color .14s,box-shadow .14s}.project-settings-field input:focus,.project-settings-select select:focus{border-color:#943c556b;box-shadow:0 0 0 4px #943c550f}.project-settings-field input:disabled,.project-settings-select select:disabled{opacity:.62;cursor:not-allowed}.project-settings-select{position:relative}.project-settings-select select{appearance:none;padding-right:34px}.project-settings-select svg{color:var(--text-muted,#988e92);pointer-events:none;position:absolute;top:50%;right:11px;transform:translateY(-50%)}.project-settings-cover{gap:12px;display:grid}.project-settings-cover-preview{aspect-ratio:3/4;cursor:pointer;background:linear-gradient(145deg,#fbf7f8,#f7f0f2);border:1px dashed #943c5547;border-radius:14px;justify-self:center;width:min(210px,100%);display:grid;position:relative;overflow:hidden}.project-settings-cover-preview img{object-fit:cover;width:100%;height:100%;display:block}.project-settings-cover-preview input,.project-settings-secondary-action input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.project-settings-cover-empty{text-align:center;color:var(--text-muted,#988e92);align-content:center;place-items:center;gap:8px;padding:18px;display:grid}.project-settings-cover-empty svg{color:var(--wine,#943c55);opacity:.7}.project-settings-cover-empty strong{color:var(--text,#292427);font-size:12px}.project-settings-cover-empty span{font-size:10px}.project-settings-cover-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.project-settings-secondary-action,.project-settings-text-action{cursor:pointer;border-radius:10px;justify-content:center;align-items:center;min-height:36px;padding:0 13px;font-size:11px;font-weight:680;display:inline-flex;position:relative}.project-settings-secondary-action{color:var(--wine,#943c55);background:#943c5512;border:1px solid #943c5524}.project-settings-text-action{color:var(--text-soft,#746a6e);border:1px solid var(--border,#eadfe3);background:0 0}.project-settings-text-action:disabled{opacity:.55;cursor:not-allowed}.project-settings-cover-help{color:var(--text-muted,#988e92);text-align:center;font-size:10px;line-height:1.5}.project-settings-flow{gap:16px;display:grid}.project-settings-toggle{text-align:left;width:100%;min-width:0;color:var(--text,#292427);background:var(--surface-soft,#fbf7f8);border:1px solid var(--border,#eadfe3);cursor:pointer;border-radius:13px;align-items:flex-start;gap:12px;padding:14px;display:flex}.project-settings-toggle:disabled{cursor:default}.project-settings-switch{background:#d7cfd2;border-radius:999px;flex:0 0 38px;width:38px;height:22px;margin-top:1px;transition:background .16s;position:relative}.project-settings-switch i{background:var(--surface);border-radius:50%;width:16px;height:16px;transition:transform .16s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #32222829}.project-settings-toggle.enabled .project-settings-switch{background:var(--wine,#943c55)}.project-settings-toggle.enabled .project-settings-switch i{transform:translate(16px)}.project-settings-toggle-copy{gap:4px;min-width:0;display:grid}.project-settings-toggle-copy strong{font-size:11px;line-height:1.3}.project-settings-toggle-copy small{color:var(--text-soft,#746a6e);font-size:10px;font-weight:400;line-height:1.5}.project-settings-meta{gap:10px;margin:0;display:grid}.project-settings-meta>div{border-bottom:1px solid #eadfe3b8;grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr);align-items:baseline;gap:16px;padding:11px 0;display:grid}.project-settings-meta>div:last-child{border-bottom:0;padding-bottom:0}.project-settings-meta dt{color:var(--text-muted,#988e92);font-size:10px}.project-settings-meta dd{min-width:0;color:var(--text,#292427);text-align:right;overflow-wrap:anywhere;margin:0;font-size:11px;font-weight:650}.project-settings-template-warning{color:#745622;background:#fffaf0;border:1px solid #ecd7aa;border-radius:14px;align-items:flex-start;gap:12px;padding:16px;display:flex}.project-settings-template-warning>svg{flex:none;margin-top:1px}.project-settings-template-warning strong{color:#5d431b;margin-bottom:5px;font-size:12px;display:block}.project-settings-template-warning p{max-width:720px;margin:0 0 10px;font-size:10px;line-height:1.55}.project-settings-template-warning label{cursor:pointer;align-items:flex-start;gap:8px;font-size:10px;font-weight:650;line-height:1.4;display:flex}.project-settings-template-warning input{accent-color:var(--wine,#943c55);margin-top:1px}.project-settings-message{border-radius:12px;align-items:flex-start;gap:9px;padding:13px 14px;font-size:11px;line-height:1.45;display:flex}.project-settings-message svg{flex:none}.project-settings-message.error{color:#8a3d45;background:#fff5f5;border:1px solid #efd1d4}.project-settings-message.success{color:#3f6a52;background:#f4faf6;border:1px solid #cfe3d5}.project-settings-savebar{z-index:4;border:1px solid var(--border,#eadfe3);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff2;border-radius:14px;justify-content:space-between;align-items:center;gap:18px;padding:14px 15px;display:flex;position:sticky;bottom:14px;box-shadow:0 12px 35px #37262c1a}.project-settings-savebar>div{gap:3px;min-width:0;display:grid}.project-settings-savebar strong{color:var(--text,#292427);font-size:11px}.project-settings-savebar span{color:var(--text-muted,#988e92);font-size:10px;line-height:1.35}.project-settings-save-button{color:#fff;background:var(--wine,#943c55);cursor:pointer;border:0;border-radius:11px;flex:none;justify-content:center;align-items:center;gap:7px;min-width:142px;min-height:40px;padding:0 16px;font-size:11px;font-weight:720;display:inline-flex}.project-settings-save-button:disabled{opacity:.48;cursor:not-allowed}.project-settings-danger{background:snow;border:1px solid #efd5d8;border-radius:16px;justify-content:space-between;align-items:center;gap:24px;padding:19px 20px;display:flex}.project-settings-danger-copy{min-width:0}.project-settings-danger-copy>span{color:#a4444e}.project-settings-danger h2{color:#73343b}.project-settings-danger p{color:#8d686c;max-width:590px;margin:7px 0 0;font-size:10px;line-height:1.5}.project-settings-delete-button,.project-settings-confirm-delete,.project-settings-cancel-delete{cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 13px;font-size:10px;font-weight:720;display:inline-flex}.project-settings-delete-button,.project-settings-confirm-delete{color:#fff;background:#a1434d;border:1px solid #a1434d}.project-settings-cancel-delete{color:var(--text-soft,#746a6e);background:var(--surface);border:1px solid var(--border,#eadfe3)}.project-settings-delete-button:disabled,.project-settings-confirm-delete:disabled,.project-settings-cancel-delete:disabled{opacity:.55;cursor:not-allowed}.project-settings-delete-confirmation{gap:10px;min-width:300px;display:grid}.project-settings-delete-confirmation>div{justify-content:flex-end;align-items:center;gap:8px;display:flex}.project-settings-delete-confirmation>div:first-child{color:#8b3e47;font-size:10px;line-height:1.35}.project-settings-delete-confirmation>div:first-child svg{flex:none}@media (width<=1050px){.project-settings-grid{grid-template-columns:1fr}.project-settings-general{grid-row:auto}.project-settings-cover-preview{width:min(230px,100%)}}@media (width<=760px){.project-settings-page{gap:18px}.project-settings-heading{gap:12px}.project-settings-heading-icon{flex-basis:42px;width:42px;height:42px}.project-settings-fields{grid-template-columns:1fr}.project-settings-field-wide{grid-column:auto}.project-settings-savebar,.project-settings-danger{flex-direction:column;align-items:stretch}.project-settings-save-button,.project-settings-delete-button{width:100%}.project-settings-delete-confirmation{width:100%;min-width:0}.project-settings-delete-confirmation>div{flex-wrap:wrap;justify-content:flex-start}}.workspace-main{--workspace-page-title-size:clamp(28px, 3.2vw, 38px);--workspace-page-subtitle-size:12px;--workspace-page-eyebrow-size:10px;--workspace-control-height:40px;--workspace-header-gap:24px;--workspace-section-gap:20px}.workspace-main .workspace-content{width:min(1120px,100% - 56px);padding:32px 0 64px}.workspace-main .events-page,.workspace-main .events-detail,.workspace-main .wb-hub,.workspace-main .wb-category-page{width:100%;max-width:none;margin:0;padding:0}.workspace-main .eyebrow{color:var(--wine);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:var(--workspace-page-eyebrow-size);letter-spacing:.14em;text-transform:uppercase;margin-bottom:8px;font-weight:760;line-height:1}.workspace-main .workspace-page-heading h1,.workspace-main .characters-heading h1,.workspace-main .wb-hub-header h1,.workspace-main .wb-category-header h1,.workspace-main .events-header h1,.workspace-main .locations-header h1,.workspace-main .themes-page-heading h1,.workspace-main .notes-sources-heading h1,.workspace-main .writing-heading h1,.workspace-main .writing-mode-heading h1{color:var(--text);font-family:Georgia,Times New Roman,serif;font-size:var(--workspace-page-title-size);letter-spacing:-.035em;margin:0;font-weight:500;line-height:1.06}.workspace-main .workspace-page-heading>p,.workspace-main .workspace-page-heading>div>p,.workspace-main .characters-heading p,.workspace-main .wb-hub-header p,.workspace-main .wb-category-header p,.workspace-main .events-header p,.workspace-main .locations-header p,.workspace-main .themes-page-heading p,.workspace-main .notes-sources-heading p,.workspace-main .writing-heading p,.workspace-main .writing-mode-heading p{max-width:620px;color:var(--text-soft);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:var(--workspace-page-subtitle-size);margin:10px 0 0;font-weight:400;line-height:1.55}.workspace-main .characters-heading,.workspace-main .events-header,.workspace-main .locations-header,.workspace-main .themes-page-heading,.workspace-main .notes-sources-heading,.workspace-main .writing-heading,.workspace-main .wb-category-header{justify-content:space-between;align-items:flex-end;gap:var(--workspace-header-gap);width:100%;display:flex}.workspace-main .characters-heading>div:first-child,.workspace-main .events-header>div:first-child,.workspace-main .locations-header>div:first-child,.workspace-main .themes-page-heading>div:first-child,.workspace-main .notes-sources-heading>div:first-child,.workspace-main .writing-heading>div:first-child,.workspace-main .wb-category-header>div:first-child{flex:360px;min-width:0;max-width:620px}.workspace-main .workspace-page-heading{max-width:680px}.workspace-main .characters-heading-actions,.workspace-main .events-header-actions,.workspace-main .writing-heading-actions,.workspace-main .worldbuilding-heading-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:flex-end;gap:8px;display:flex}.workspace-main .locations-header>.primary-button,.workspace-main .themes-page-heading>.primary-button,.workspace-main .notes-sources-heading>.primary-button,.workspace-main .wb-category-header>.primary-button{flex:none}.workspace-main .primary-button,.workspace-main .secondary-button{min-height:var(--workspace-control-height);border-radius:11px;padding:0 15px;font-size:12px;font-weight:690;line-height:1}.workspace-main .writing-section,.workspace-main .themes-page,.workspace-main .notes-sources-page,.workspace-main .locations-page{gap:var(--workspace-section-gap)}.workspace-main .characters-toolbar{margin-top:22px;padding-bottom:16px}.workspace-main .events-toolbar,.workspace-main .wb-hub-tabs{margin-top:22px}.workspace-main .worldbuilding-toolbar{margin-top:18px}.workspace-main .search-box,.workspace-main .events-search,.workspace-main .locations-search,.workspace-main .themes-search,.workspace-main .notes-sources-search,.workspace-main .writing-search{height:42px;min-height:42px;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);box-shadow:none;border-radius:12px}.workspace-main .search-box:focus-within,.workspace-main .events-search:focus-within,.workspace-main .locations-search:focus-within,.workspace-main .themes-search:focus-within,.workspace-main .notes-sources-search:focus-within,.workspace-main .writing-search:focus-within{color:var(--wine);border-color:#943c555c;box-shadow:0 0 0 4px #943c550e}.workspace-main .search-box input,.workspace-main .events-search input,.workspace-main .locations-search input,.workspace-main .themes-search input,.workspace-main .notes-sources-search input,.workspace-main .writing-search input{font-size:12px}.workspace-main .events-toolbar select,.workspace-main .locations-toolbar select,.workspace-main .writing-mode-select select{border-radius:11px;height:42px;min-height:42px;font-size:12px}.workspace-main .wb-hub-tabs,.workspace-main .notes-sources-tabs{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;padding:4px}.workspace-main .wb-hub-tabs button,.workspace-main .notes-sources-tabs button{border-radius:9px;min-height:38px;font-size:11px}.workspace-main .notes-sources-toolbar{align-items:center;gap:12px;width:100%;display:flex}.workspace-main .notes-sources-search{flex:0 520px;width:min(520px,100%)}.workspace-main .wb-hub-header{max-width:680px}.workspace-main .wb-hub-grid{margin-top:22px}.workspace-main .events-header-actions{max-width:370px}@media (width<=900px){.workspace-main .workspace-content{width:min(100% - 40px,1120px);padding:28px 0 60px}}@media (width<=760px){.workspace-main{--workspace-page-title-size:clamp(27px, 8vw, 34px);--workspace-header-gap:16px}.workspace-main .workspace-content{width:min(100% - 32px,1120px);padding:24px 0 54px}.workspace-main .characters-heading,.workspace-main .events-header,.workspace-main .locations-header,.workspace-main .themes-page-heading,.workspace-main .notes-sources-heading,.workspace-main .writing-heading,.workspace-main .wb-category-header{flex-direction:column;align-items:stretch}.workspace-main .characters-heading-actions,.workspace-main .events-header-actions,.workspace-main .writing-heading-actions,.workspace-main .worldbuilding-heading-actions{justify-content:flex-start;width:100%}.workspace-main .characters-heading-actions button,.workspace-main .events-header-actions button,.workspace-main .locations-header>.primary-button,.workspace-main .themes-page-heading>.primary-button,.workspace-main .notes-sources-heading>.primary-button,.workspace-main .wb-category-header>.primary-button{flex:auto}.workspace-main .notes-sources-heading>.primary-button{width:100%}.workspace-main .notes-sources-search{flex:auto;width:100%}}@media (width<=900px){.workspace-main .writing-heading>div:first-child{flex:0 auto;width:100%;max-width:620px}.workspace-main .writing-heading{justify-content:flex-start}}@media (orientation:portrait) and (width>=681px) and (width<=1100px){.workspace-main .events-header{grid-template-columns:minmax(280px,1fr) minmax(300px,340px);align-items:end;column-gap:22px;display:grid}.workspace-main .events-header>div:first-child{flex:none;min-width:0;max-width:none}.workspace-main .events-header-actions{flex:none;justify-content:flex-end;justify-self:end;width:100%;max-width:340px}.workspace-main .writing-section{grid-template-columns:minmax(0,1fr) auto;gap:18px 10px}.workspace-main .writing-heading{display:contents}.workspace-main .writing-heading>div:first-child{flex:none;grid-area:1/1/auto/-1;width:100%;min-width:0;max-width:700px}.workspace-main .writing-heading-actions{flex-flow:row;grid-area:2/2;justify-content:flex-end;place-self:end;align-items:flex-end;gap:8px;width:auto}.workspace-main .writing-toolbar{border-bottom:0;grid-area:2/1;grid-template-columns:minmax(0,1fr) auto;align-self:end;align-items:center;gap:10px;width:100%;min-width:0;padding-bottom:0;display:grid}.workspace-main .writing-search{width:100%;min-width:0}.workspace-main .writing-count{white-space:nowrap}.workspace-main .writing-unit-list,.workspace-main .writing-empty,.workspace-main .writing-load-error,.workspace-main .writing-inline-error{grid-column:1/-1}.workspace-main .writing-unit-list{border-top:1px solid var(--border);margin-top:0;padding-top:18px}.workspace-main .events-header{grid-template-columns:minmax(0,1fr) 300px;column-gap:16px}.workspace-main .events-header>div:first-child{min-width:0;max-width:none}.workspace-main .events-header p{max-width:410px}.workspace-main .events-header-actions{grid-template-columns:minmax(0,1fr) auto;justify-self:end;align-items:center;gap:8px;width:300px;min-width:0;max-width:300px;display:grid}.workspace-main .events-header-actions .secondary-button,.workspace-main .events-header-actions .primary-button{white-space:nowrap;min-width:0;max-width:100%;padding-left:12px;padding-right:12px}.workspace-main .events-header-actions .secondary-button:first-child{width:100%}.workspace-main .events-header-actions .primary-button{grid-column:1/-1;justify-self:end}}@media (width>=681px){.workspace-shell{height:100dvh;min-height:100dvh;overflow:hidden}.workspace-sidebar{flex-direction:column;height:100dvh;min-height:0;max-height:100dvh;display:flex;overflow:hidden}.workspace-project-header{flex:none}.workspace-navigation{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;padding-bottom:14px;overflow-y:auto}.workspace-sidebar-footer{z-index:3;background:inherit;flex:none;margin-top:0;position:relative}.workspace-sidebar-footer button.active{color:var(--wine,#943c55);background:#943c5514}.workspace-main{height:100dvh;min-height:0;overflow-y:auto}}.confirm-dialog-backdrop{z-index:9999;-webkit-backdrop-filter:blur(8px);background:#2d1f244d;justify-content:center;align-items:center;padding:24px;animation:.16s ease-out confirmFadeIn;display:flex;position:fixed;inset:0}.confirm-dialog-card{background:linear-gradient(#fff 0%,#fff9fb 100%);border:1px solid #943c5524;border-radius:28px;gap:14px;width:min(520px,100%);padding:30px;animation:.18s ease-out confirmPopIn;display:grid;position:relative;box-shadow:0 30px 80px #301d2433,0 7px 24px #301d2412}.confirm-dialog-close{color:#362a2e85;cursor:pointer;background:0 0;border:0;border-radius:12px;justify-content:center;align-items:center;width:36px;height:36px;display:inline-flex;position:absolute;top:18px;right:18px}.confirm-dialog-close:hover{color:#943c55;background:#943c5512}.confirm-dialog-icon,.delete-project-warning-icon{color:#943c55;background:linear-gradient(145deg,#fbedf1,#fff7f9);border-radius:18px;justify-content:center;align-items:center;width:54px;height:54px;display:inline-flex;box-shadow:inset 0 0 0 1px #943c5512}.confirm-dialog-eyebrow{color:#943c55;letter-spacing:.18em;font-size:.73rem;font-weight:800}.confirm-dialog-card h2{color:#342b2e;max-width:440px;margin:0;font-size:clamp(1.55rem,3vw,1.95rem);line-height:1.12}.confirm-dialog-message{color:#342b2eb3;margin:0;line-height:1.65}.confirm-dialog-item,.delete-project-name{background:#943c550b;border:1px solid #943c5521;border-radius:16px;gap:4px;padding:14px 16px;display:grid}.confirm-dialog-item span,.delete-project-name span{color:#342b2e85;font-size:.75rem}.confirm-dialog-item strong,.delete-project-name strong{color:#342b2e;font-size:.98rem}.confirm-dialog-warning,.delete-project-permanent-warning{color:#943c55;background:#943c5513;border-radius:13px;align-items:center;gap:8px;padding:10px 12px;font-size:.84rem;font-weight:700;display:flex}.confirm-dialog-error{color:#91334d;background:#a436520f;border:1px solid #a4365230;border-radius:14px;gap:4px;padding:12px 14px;font-size:.84rem;display:grid}.confirm-dialog-actions,.delete-project-actions{justify-content:flex-end;gap:10px;margin-top:6px;display:flex}.confirm-dialog-cancel,.confirm-dialog-delete{min-height:46px;font:inherit;cursor:pointer;border-radius:15px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-weight:700;display:inline-flex}.confirm-dialog-cancel{background:var(--surface);color:#5e4c51;border:1px solid #943c5538}.confirm-dialog-delete{color:#fff;background:#943c55;border:1px solid #943c55;box-shadow:0 10px 24px #943c5533}.confirm-dialog-delete:hover:not(:disabled){background:#84334a;transform:translateY(-1px)}.confirm-dialog-cancel:hover:not(:disabled){background:#fff8fa}.confirm-dialog-cancel:disabled,.confirm-dialog-delete:disabled,.confirm-dialog-close:disabled{opacity:.55;cursor:default}.delete-project-modal{background:linear-gradient(#fff 0%,#fff9fb 100%);border:1px solid #943c5524;border-radius:28px;gap:14px;width:min(520px,100vw - 32px);padding:30px;animation:.18s ease-out confirmPopIn;display:grid;position:relative;box-shadow:0 30px 80px #301d2433,0 7px 24px #301d2412}.delete-project-modal h2{color:#342b2e;max-width:440px;margin:0;font-size:clamp(1.55rem,3vw,1.95rem);line-height:1.12}.delete-project-modal>p{color:#342b2eb3;margin:0;line-height:1.65}.delete-project-modal .secondary-button,.delete-project-modal .danger-button{border-radius:15px;min-height:46px}.delete-project-modal .danger-button{color:#fff;background:#943c55;border-color:#943c55;box-shadow:0 10px 24px #943c5533}@keyframes confirmFadeIn{0%{opacity:0}to{opacity:1}}@keyframes confirmPopIn{0%{opacity:0;transform:translateY(10px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@media (width<=640px){.confirm-dialog-backdrop{padding:16px}.confirm-dialog-card,.delete-project-modal{border-radius:24px;padding:24px 20px}.confirm-dialog-actions,.delete-project-actions{flex-direction:column-reverse}.confirm-dialog-actions button,.delete-project-actions button{width:100%}}:root{--lp-wine:#943c55;--lp-wine-dark:#773044;--lp-rose:#f8e9ee;--lp-cream:#fffaf7;--lp-text:#332b2e;--lp-muted:#796c71;--lp-border:#eadde2}.landing-page{background:radial-gradient(circle at 86% 8%, #f4d0db75, transparent 30rem), radial-gradient(circle at 8% 35%, #fde8da73, transparent 28rem), var(--lp-cream);min-height:100vh;color:var(--lp-text);overflow-x:hidden}.landing-page *{box-sizing:border-box}.landing-page a{color:inherit;text-decoration:none}.landing-header{z-index:40;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#fffaf7de;border-bottom:1px solid #943c5517;justify-content:space-between;align-items:center;width:min(1180px,100% - 40px);min-height:70px;margin:auto;display:flex;position:sticky;top:0}.landing-brand{align-items:center;gap:9px;font-weight:800;display:inline-flex}.landing-brand-mark{background:var(--lp-rose);width:36px;height:36px;color:var(--lp-wine);border-radius:12px;justify-content:center;align-items:center;display:inline-flex}.landing-nav{color:var(--lp-muted);align-items:center;gap:22px;font-size:.8rem;font-weight:700;display:flex}.landing-nav>a:hover{color:var(--lp-wine)}.landing-language{color:#b6a7ac;align-items:center;gap:4px;display:flex}.landing-language button{color:#a4959a;cursor:pointer;font:inherit;background:0 0;border:0;font-size:.7rem}.landing-language button.active{color:var(--lp-wine);font-weight:900}.landing-button{border:1px solid var(--lp-wine);background:var(--lp-wine);border-radius:13px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:0 20px;font-size:.8rem;font-weight:800;transition:all .18s;display:inline-flex;box-shadow:0 10px 25px #943c5524;color:#fff!important}.landing-button:hover{background:var(--lp-wine-dark);transform:translateY(-1px)}.landing-button.secondary{border-color:var(--lp-border);box-shadow:none;background:#ffffffbd;color:var(--lp-wine)!important}.landing-button.small,.landing-small{border-radius:11px;min-height:38px;padding:0 14px}.landing-menu{border:1px solid var(--lp-border);width:40px;height:40px;color:var(--lp-wine);background:#fff;border-radius:11px;justify-content:center;align-items:center;display:none}.landing-hero{grid-template-columns:minmax(0,.92fr) minmax(470px,1.08fr);align-items:center;gap:60px;width:min(1180px,100% - 40px);min-height:680px;margin:auto;padding:72px 0 90px;display:grid}.landing-eyebrow{color:var(--lp-wine);letter-spacing:.1em;text-transform:uppercase;align-items:center;gap:7px;font-size:.7rem;font-weight:900;display:inline-flex}.landing-hero h1{letter-spacing:-.055em;margin:17px 0 20px;font-family:Georgia,serif;font-size:clamp(3.2rem,6vw,5.55rem);font-weight:500;line-height:.99}.landing-hero-copy>p{max-width:540px;color:var(--lp-muted);margin:0;font-size:1rem;line-height:1.75}.landing-actions{flex-wrap:wrap;gap:10px;margin-top:30px;display:flex}.landing-note{color:#907f85;align-items:center;gap:7px;margin-top:17px;font-size:.7rem;display:flex}.landing-preview{position:relative}.landing-window{background:#fff;border:1px solid #943c5529;border-radius:23px;overflow:hidden;transform:rotate(1deg);box-shadow:0 38px 80px #5b364221}.landing-window>header{border-bottom:1px solid #f0e8eb;justify-content:space-between;align-items:center;height:60px;padding:0 22px;display:flex}.landing-window>header span{color:var(--lp-wine);align-items:center;gap:8px;font-size:.75rem;font-weight:800;display:flex}.landing-window>header b{background:var(--lp-wine);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:29px;height:29px;font-size:.68rem;display:flex}.landing-window-body{grid-template-columns:150px 1fr;min-height:390px;display:grid}.landing-window-body>aside{background:#fdf9fa;border-right:1px solid #f0e8eb;flex-direction:column;gap:7px;padding:18px 12px;display:flex}.landing-window-body>aside span{color:#88787e;border-radius:10px;align-items:center;gap:8px;min-height:38px;padding:0 10px;font-size:.63rem;font-weight:700;display:flex}.landing-window-body>aside .active{background:var(--lp-rose);color:var(--lp-wine)}.landing-window-body>section{background:#fbf9fa;min-width:0;padding:23px}.landing-editor-head{justify-content:space-between;align-items:flex-start;display:flex}.landing-editor-head>div{flex-direction:column;display:flex}.landing-editor-head small{color:#ad9fa4;letter-spacing:.12em;font-size:.52rem;font-weight:850}.landing-editor-head strong{margin-top:3px;font-family:Georgia,serif;font-size:1.05rem}.landing-editor-head em{color:#688065;background:#eef5ed;border-radius:999px;padding:5px 8px;font-size:.52rem;font-style:normal;font-weight:800}.landing-paper{background:#fff;border:1px solid #eee6e9;border-radius:12px;min-height:285px;margin-top:20px;padding:34px 39px}.landing-paper h3{margin:0 0 23px;font-family:Georgia,serif;font-size:1.15rem;font-weight:500}.landing-paper p{color:#6f6468;max-width:350px;font-family:Georgia,serif;font-size:.68rem;line-height:1.9}.landing-float{z-index:5;min-width:170px;color:var(--lp-wine);background:#fffffff2;border:1px solid #943c5521;border-radius:14px;align-items:center;gap:9px;padding:12px 13px;display:flex;position:absolute;box-shadow:0 14px 34px #5836411f}.landing-float span{flex-direction:column;display:flex}.landing-float strong{color:#4f4247;font-size:.66rem}.landing-float small{color:#9d8d93;margin-top:2px;font-size:.54rem}.landing-float.one{top:70px;right:-20px}.landing-float.two{bottom:38px;left:-27px}.landing-section{width:min(1120px,100% - 40px);margin:auto;padding:100px 0}.landing-heading{text-align:center;max-width:680px;margin:0 auto 44px}.landing-heading h2,.landing-workflow h2,.landing-final h2{letter-spacing:-.035em;margin:13px 0 15px;font-family:Georgia,serif;font-size:clamp(2.1rem,4vw,3.6rem);font-weight:500;line-height:1.08}.landing-heading p,.landing-workflow p,.landing-final p{color:var(--lp-muted);font-size:.9rem;line-height:1.7}.landing-features{grid-template-columns:repeat(3,1fr);gap:13px;display:grid}.landing-feature-card{border:1px solid var(--lp-border);background:#ffffffb3;border-radius:18px;min-height:205px;padding:25px}.landing-feature-icon{background:var(--lp-rose);width:39px;height:39px;color:var(--lp-wine);border-radius:11px;justify-content:center;align-items:center;display:flex}.landing-feature-heading{align-items:center;gap:8px;margin-top:19px;display:flex}.landing-feature-heading h3{margin:0;font-size:.9rem}.landing-premium-chip,.landing-ribbon{color:var(--lp-wine);letter-spacing:.05em;text-transform:uppercase;background:#943c5517;border-radius:999px;font-size:.52rem;font-weight:900}.landing-premium-chip{padding:4px 6px}.landing-feature-card p{color:var(--lp-muted);margin-top:10px;font-size:.76rem;line-height:1.65}.landing-workflow{background:linear-gradient(135deg,#ffffffd9,#faebf0ad);border:1px solid #943c5521;border-radius:30px;grid-template-columns:.9fr 1.1fr;align-items:center;gap:78px;width:min(1060px,100% - 40px);margin:55px auto 100px;padding:68px;display:grid}.landing-workflow-visual{aspect-ratio:1;justify-content:center;align-items:center;max-width:360px;margin:auto;display:flex;position:relative}.landing-orbit{border:1px dashed #943c5547;border-radius:50%;position:absolute;inset:10%}.landing-orbit span{border:1px solid var(--lp-border);width:44px;height:44px;color:var(--lp-wine);background:#fff;border-radius:14px;justify-content:center;align-items:center;display:flex;position:absolute}.landing-orbit span:first-child{top:-22px;left:calc(50% - 22px)}.landing-orbit span:nth-child(2){top:calc(50% - 22px);right:-22px}.landing-orbit span:nth-child(3){bottom:-22px;left:calc(50% - 22px)}.landing-orbit span:nth-child(4){top:calc(50% - 22px);left:-22px}.landing-orbit-center{z-index:2;background:var(--lp-wine);color:#fff;border-radius:38px;flex-direction:column;justify-content:center;align-items:center;width:116px;height:116px;display:flex;box-shadow:0 18px 40px #943c5533}.landing-orbit-center strong{margin-top:6px}.landing-orbit-center small{opacity:.7}.landing-pricing{background:#fff;padding:100px 20px 110px}.landing-plans{grid-template-columns:repeat(2,1fr);gap:16px;width:min(900px,100%);margin:auto;display:grid}.landing-plan{border:1px solid var(--lp-border);background:#fff;border-radius:22px;flex-direction:column;min-height:555px;padding:29px;display:flex;position:relative}.landing-plan.premium{background:linear-gradient(#fff,#fff8fa);border-color:#943c5559;box-shadow:0 20px 48px #6a3f4d17}.landing-ribbon{padding:6px 9px;position:absolute;top:18px;right:18px}.landing-plan-head{color:var(--lp-wine);justify-content:space-between;display:flex}.landing-plan-head small{color:#98888e;font-size:.63rem;font-weight:750}.landing-plan-head h3{color:var(--lp-text);margin:3px 0 0;font-family:Georgia,serif;font-size:1.55rem;font-weight:500}.landing-plan>p{min-height:45px;color:var(--lp-muted);margin:16px 0;font-size:.75rem;line-height:1.6}.landing-price{margin:3px 0 24px;font-size:2rem}.landing-price-row{align-items:baseline;gap:9px;display:flex}.landing-price-row strong{color:var(--lp-wine);font-size:2rem}.landing-price-row span{color:#95868c;font-size:.66rem}.landing-subscription{color:#8c7d82;margin:5px 0 23px;font-size:.64rem}.landing-plan ul{gap:10px;margin:0 0 25px;padding:0;list-style:none;display:grid}.landing-plan li{color:#65585d;align-items:center;gap:9px;font-size:.73rem;display:flex}.landing-check{background:var(--lp-rose);width:21px;height:21px;color:var(--lp-wine);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.landing-button.plan{width:100%;margin-top:auto}.landing-plan-note{color:#95868c;text-align:center;margin-top:10px;font-size:.6rem;line-height:1.5}.landing-faq{width:min(850px,100% - 40px);margin:auto;padding:105px 0}.landing-faq details{border-top:1px solid var(--lp-border)}.landing-faq details:last-child{border-bottom:1px solid var(--lp-border)}.landing-faq summary{cursor:pointer;padding:21px 4px;font-size:.84rem;font-weight:750}.landing-faq details p{max-width:720px;color:var(--lp-muted);margin:-5px 0 22px 4px;font-size:.77rem;line-height:1.7}.landing-final{background:var(--lp-wine);color:#fff;text-align:center;border-radius:30px;width:min(1000px,100% - 40px);margin:10px auto 95px;padding:75px 40px}.landing-final .landing-eyebrow{color:#f6ced9}.landing-final h2{max-width:720px;margin-left:auto;margin-right:auto}.landing-final p{color:#ffffffba;max-width:560px;margin-left:auto;margin-right:auto}.landing-final .landing-button{box-shadow:none;background:#fff;border-color:#fff;margin-top:25px;color:var(--lp-wine)!important}.landing-footer{border-top:1px solid var(--lp-border);color:#93848a;justify-content:space-between;align-items:center;width:min(1180px,100% - 40px);min-height:105px;margin:auto;font-size:.68rem;display:flex}.landing-footer>a:last-child{color:var(--lp-wine);font-weight:700}@media (width<=900px){.landing-menu{display:inline-flex}.landing-nav{border:1px solid var(--lp-border);background:#fff;border-radius:16px;flex-direction:column;align-items:stretch;gap:0;width:min(330px,100vw - 40px);padding:15px;display:none;position:absolute;top:62px;right:0;box-shadow:0 20px 45px #4a2d3621}.landing-nav.open{display:flex}.landing-nav>a:not(.landing-button),.landing-language{align-items:center;min-height:42px;padding:0 9px;display:flex}.landing-hero{grid-template-columns:1fr;gap:65px}.landing-hero-copy{text-align:center;max-width:700px;margin:auto}.landing-hero-copy>p{margin:auto}.landing-actions,.landing-note{justify-content:center}.landing-preview{width:min(650px,100%);margin:auto}.landing-features{grid-template-columns:repeat(2,1fr)}.landing-workflow{grid-template-columns:1fr}.landing-workflow>div:last-child{text-align:center}}@media (width<=650px){.landing-header,.landing-hero,.landing-section,.landing-faq,.landing-final,.landing-footer{width:calc(100% - 28px)}.landing-header{min-height:64px}.landing-hero{min-height:auto;padding:58px 0 70px}.landing-hero h1{font-size:clamp(2.75rem,14vw,4.2rem)}.landing-window-body{grid-template-columns:56px 1fr;min-height:335px}.landing-window-body>aside{padding:14px 7px}.landing-window-body>aside span{justify-content:center;padding:0;font-size:0}.landing-window-body>section{padding:16px}.landing-paper{min-height:235px;padding:27px 21px}.landing-float.one{right:-5px}.landing-float.two{bottom:-22px;left:10px}.landing-features,.landing-plans{grid-template-columns:1fr}.landing-section{padding:85px 0}.landing-workflow{width:calc(100% - 28px);margin:30px auto 85px;padding:38px 20px}.landing-pricing{padding:85px 14px}.landing-final{padding:58px 22px}.landing-footer{text-align:center;flex-direction:column;justify-content:center;gap:15px;min-height:150px}}@media (prefers-reduced-motion:reduce){.landing-page *,.landing-page :before,.landing-page :after{transition:none!important;animation:none!important}}.landing-plan.premium .landing-plan-head>svg{flex:none;margin-right:82px}.web-connection-gate{z-index:20000;background:color-mix(in srgb, var(--surface) 68%, transparent);-webkit-backdrop-filter:blur(13px);place-items:center;padding:24px;display:grid;position:fixed;inset:0}.web-connection-card{width:min(430px,100vw - 40px);color:var(--text);background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-lg);text-align:center;border-radius:22px;padding:32px 30px}.web-connection-icon{width:52px;height:52px;color:var(--wine);background:var(--wine-soft);border:1px solid var(--wine-soft-strong);border-radius:15px;place-items:center;margin:0 auto 17px;display:grid}.web-connection-card h1{max-width:340px;color:var(--text);letter-spacing:-.025em;margin:9px auto 0;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:500;line-height:1.15}.web-connection-card p{max-width:350px;color:var(--text-muted);margin:13px auto 0;font-size:10px;line-height:1.65}.web-connection-waiting{width:fit-content;color:var(--wine);background:var(--wine-soft);border-radius:999px;align-items:center;gap:7px;margin:20px auto 0;padding:8px 11px;font-size:9px;font-weight:700;display:inline-flex}@media (width<=500px){.web-connection-gate{padding:16px}.web-connection-card{border-radius:18px;padding:27px 21px}.web-connection-card h1{font-size:21px}}html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--wine:#c96d89;--wine-dark:#d97b96;--wine-deep:#e39ab0;--wine-soft:#3a252d;--wine-soft-strong:#4b2e39;--white:#211b1e;--surface:#211b1e;--surface-soft:#282125;--surface-muted:#30272c;--text:#f4edf0;--text-soft:#d3c5ca;--text-muted:#aa979e;--border:#45373d;--border-strong:#5b464e;--shadow-sm:0 1px 2px #00000038, 0 4px 16px #00000024;--shadow-md:0 10px 30px #00000047, 0 2px 8px #0000002e;--shadow-lg:0 24px 64px #0000006b, 0 6px 20px #0000003d;color:var(--text);background:#181416}html[data-theme=dark],html[data-theme=dark] body,html[data-theme=dark] #root{color:var(--text);background:#181416}html[data-theme=dark] .app-shell{background:radial-gradient(circle at 90% -20%,#c96d8914,#0000 34%),#181416}html[data-theme=dark] .topbar{border-bottom-color:var(--border);background:#1d181beb}html[data-theme=dark] .workspace-shell{background:#181416}html[data-theme=dark] .workspace-sidebar{border-right-color:var(--border);background:#1d181b}html[data-theme=dark] .workspace-main{background:radial-gradient(circle at 96% -12%,#c96d8912,#0000 28%),#181416}html[data-theme=dark] .workspace-topbar{border-bottom-color:var(--border);background:#1d181beb}html[data-theme=dark] .auth-page,html[data-theme=dark] .auth-form-panel{background:#181416}html[data-theme=dark] .auth-brand-panel{background:radial-gradient(circle at 12% 15%,#c96d8921,#0000 28%),linear-gradient(145deg,#271c21 0%,#21181c 58%,#1b1518 100%)}html[data-theme=dark] .auth-brand-content h1{color:var(--text)}html[data-theme=dark] .auth-brand-content>p{color:var(--text-soft)}html[data-theme=dark] .auth-paper{border-color:var(--border-strong);background:#271f23eb}html[data-theme=dark] .auth-paper-back{background:#39272fa3}html[data-theme=dark] .auth-paper-front span{background:var(--border-strong)}html[data-theme=dark] :is(.project-card,.planning-card,.character-card,.character-modal,.character-detail-section,.character-add-menu,.character-info-card,.character-module-card,.metadata-picker-modal,.metadata-picker-grid>button,.metadata-editor-modal,.character-relations-card,.relationship-modal,.relationship-form select,.relationship-timeline-marker span,.relationship-dynamic-card,.relationship-map-shell,.character-gallery-card,.gallery-image-card,.gallery-modal,.gallery-modal .field select,.worldbuilding-card,.worldbuilding-modal,.worldbuilding-modal-content select,.worldbuilding-search-expanded,.language-panel .field select,.language-modal .field select,.language-rule-list article,.language-search,.language-dictionary-list article,.language-translator-grid textarea,.language-unknown-words span,.language-modal){color:var(--text);background:var(--surface);border-color:var(--border)}html[data-theme=dark] .project-cover{background:linear-gradient(145deg,#35262d,#2b2025)}html[data-theme=dark] .project-cover-placeholder{color:#dc87a19e;background:linear-gradient(145deg,#34252c,#291f23)}html[data-theme=dark] .favorite-button{color:var(--text-soft);background:#1f191ce6;border-color:#ffffff14}html[data-theme=dark] .favorite-button:hover,html[data-theme=dark] .favorite-button.active{color:var(--wine);background:var(--surface)}html[data-theme=dark] .empty-paper{background:var(--surface);border-color:var(--border-strong)}html[data-theme=dark] .paper-back{background:var(--wine-soft)}html[data-theme=dark] .search-box,html[data-theme=dark] .auth-input{background:var(--surface-soft);border-color:var(--border)}html[data-theme=dark] .search-box:focus-within,html[data-theme=dark] .auth-input:focus-within{background:var(--surface)}html[data-theme=dark] .project-modal{background:var(--surface);border-color:var(--border)}html[data-theme=dark] .modal-footer{background:var(--surface-soft);border-top-color:var(--border)}html[data-theme=dark] .secondary-button{color:var(--text-soft);background:var(--surface);border-color:var(--border-strong)}html[data-theme=dark] .field input,html[data-theme=dark] .field select,html[data-theme=dark] .character-textarea,html[data-theme=dark] .character-detail-field input,html[data-theme=dark] .character-detail-field textarea,html[data-theme=dark] .custom-field-row input{color:var(--text);background:var(--surface);border-color:var(--border)}html[data-theme=dark] .relationship-map-filter button.active{color:var(--wine);background:var(--wine-soft)}html[data-theme=dark] .character-detail-portrait,html[data-theme=dark] .character-card-image{background:linear-gradient(145deg,#35262d,#2b2025)}html[data-theme=dark] .primary-button,html[data-theme=dark] .profile-button,html[data-theme=dark] .empty-badge{color:#fff}html[data-theme=dark] .empty-badge{border-color:#181416}html[data-theme=dark] ::selection{color:#fff;background:var(--wine)}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:var(--text-muted)}@media (prefers-reduced-motion:reduce){html[data-theme] *,html[data-theme] :before,html[data-theme] :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}html[data-theme=dark] .events-search,html[data-theme=dark] .locations-search,html[data-theme=dark] .themes-search,html[data-theme=dark] .notes-sources-search,html[data-theme=dark] .writing-search{color:var(--text-muted);background:var(--surface-soft);border-color:var(--border)}html[data-theme=dark] .events-search input,html[data-theme=dark] .locations-search input,html[data-theme=dark] .themes-search input,html[data-theme=dark] .notes-sources-search input,html[data-theme=dark] .writing-search input{color:var(--text);background:0 0}html[data-theme=dark] .writing-unit-card,html[data-theme=dark] .writing-mode-card{color:var(--text);background:var(--surface-soft);border-color:var(--border)}html[data-theme=dark] .writing-mode-select select,html[data-theme=dark] .writing-create-menu,html[data-theme=dark] .writing-metadata-modal{color:var(--text);background:var(--surface);border-color:var(--border)}html[data-theme=dark] .writing-connections-panel,html[data-theme=dark] .writing-connections-toggle{color:var(--text);background:var(--surface-soft);border-color:var(--border)}html[data-theme=dark] .writing-link-group.open{color:var(--text);background:var(--surface);border-color:var(--border)}html[data-theme=dark] .writing-link-chip{color:var(--text-soft);background:var(--surface);border-color:var(--border)}html[data-theme=dark] .writing-link-chip.active{color:var(--wine);background:var(--wine-soft);border-color:var(--wine-soft-strong)}html[data-theme=dark] .writing-detail-overlay{background:#181416}html[data-theme=dark] .writing-detail-full-header{color:var(--text);background:var(--surface);border-bottom-color:var(--border)}html[data-theme=dark] .writing-detail-menu{color:var(--text);background:var(--surface);border-color:var(--border)}html[data-theme=dark] .writing-detail-panel{color:var(--text);background:var(--surface-soft);border-color:var(--border)}html[data-theme=dark] .writing-detail-reader-shell{color:var(--text);background:var(--surface);border-color:var(--border)}html[data-theme=dark] .writing-detail-reader{color:var(--text)}html[data-theme=dark] .writing-detail-menu button:hover{background:var(--wine-soft)}html[data-theme=dark] .writing-editor-overlay{background:#181416}html[data-theme=dark] .writing-editor-secondary,html[data-theme=dark] .writing-editor-delete,html[data-theme=dark] .writing-stats,html[data-theme=dark] .writing-format-toolbar{color:var(--text-soft);background:var(--surface);border-color:var(--border)}html[data-theme=dark] .writing-editor-paper{background:var(--surface-soft);border-color:var(--border)}html[data-theme=dark] .writing-editor-surface{color:var(--text)}html[data-theme=dark] .writing-editor-surface p.is-editor-empty:first-child:before{color:var(--text-muted)}html[data-theme=dark] .writing-inline-error{color:#ef9aab;background:var(--wine-soft);border-color:var(--wine-soft-strong)}html[data-theme=dark] .writing-unit-delete:hover,html[data-theme=dark] .writing-editor-delete:hover{color:#ef9aab;background:var(--wine-soft)}html[data-theme] .wb-category-card-geography{color:var(--text)!important;background:var(--surface)!important;border-color:var(--border)!important;filter:none!important;background-image:none!important}html[data-theme] .wb-category-card-geography:before,html[data-theme] .wb-category-card-geography:after{content:none!important;background:0 0!important;display:none!important}html[data-theme] .wb-category-card-geography .wb-category-icon{color:var(--wine)!important;background:var(--wine-soft)!important;border-color:var(--wine-soft-strong)!important}html[data-theme] .wb-category-card-geography .wb-category-copy strong{color:var(--text)!important}html[data-theme] .wb-category-card-geography .wb-category-copy small{color:var(--text-muted)!important}html[data-theme] .wb-category-card-geography .wb-category-arrow{color:var(--wine)!important}html[data-theme=dark] .project-settings-cover-preview{color:var(--text-muted);background:var(--surface-soft);border-color:var(--border-strong);background-image:none}html[data-theme=dark] .project-settings-cover-empty{color:var(--text-muted)}html[data-theme=dark] .project-settings-cover-empty strong{color:var(--text)}html[data-theme=dark] .project-settings-savebar{color:var(--text);border-color:var(--border);background:#211b1ef5;box-shadow:0 12px 35px #00000047}html[data-theme=dark] .project-settings-savebar strong{color:var(--text)}html[data-theme=dark] .project-settings-savebar span{color:var(--text-muted)}html[data-theme=dark] .project-settings-danger{background:#2b1d22;border-color:#633743}html[data-theme=dark] .project-settings-danger-copy>span{color:var(--wine)}html[data-theme=dark] .project-settings-danger h2{color:var(--text)}html[data-theme=dark] .project-settings-danger p{color:var(--text-soft)}html[data-theme=dark] .project-settings-message.error{color:#efb0ba;background:#321f24;border-color:#653a45}html[data-theme=dark] .project-settings-message.success{color:#b6d7c1;background:#1e2c25;border-color:#385645}html[data-theme=dark] .tools-hero h1,html[data-theme=dark] .tools-detail-title-row h1{color:var(--text)}html[data-theme=dark] .tools-hero p,html[data-theme=dark] .tools-detail-title-row p{color:var(--text-soft)}html[data-theme=dark] .tools-hero-icon,html[data-theme=dark] .tools-card-icon{color:var(--wine);background:var(--wine-soft);border-color:var(--wine-soft-strong)}html[data-theme=dark] .tools-card{color:var(--text);background:var(--surface);border-color:var(--border)}html[data-theme=dark] .tools-card h3{color:var(--text)}html[data-theme=dark] .tools-card p{color:var(--text-soft)}html[data-theme=dark] .tools-card:hover,html[data-theme=dark] .tools-card:focus-visible{border-color:var(--border-strong);box-shadow:var(--shadow-md)}html[data-theme=dark] .tools-hub-note,html[data-theme=dark] .tools-source-note{color:var(--text-soft);background:var(--surface-soft);border:1px solid var(--border)}html[data-theme=dark] .tools-lexical-controls,html[data-theme=dark] .tools-scope-bar,html[data-theme=dark] .tools-result-panel,html[data-theme=dark] .tools-stat-card,html[data-theme=dark] .tools-analysis-card,html[data-theme=dark] .tools-loading-panel,html[data-theme=dark] .tools-empty-result{color:var(--text);background:var(--surface);border-color:var(--border)}html[data-theme=dark] .tools-language-switch{background:var(--surface-muted)}html[data-theme=dark] .tools-language-switch button{color:var(--text-muted)}html[data-theme=dark] .tools-language-switch button.active{color:#fff;background:var(--wine)}html[data-theme=dark] .tools-search-box{color:var(--text-muted);background:var(--surface-soft);border-color:var(--border)}html[data-theme=dark] .tools-search-box input{color:var(--text);background:0 0}html[data-theme=dark] .tools-result-heading h2{color:var(--text)}html[data-theme=dark] .tools-definition-list article,html[data-theme=dark] .tools-count-list>div,html[data-theme=dark] .tools-text-issue-list article{background:var(--surface-soft)}html[data-theme=dark] .tools-definition-list p,html[data-theme=dark] .tools-result-note{color:var(--text-soft)}html[data-theme=dark] .tools-word-chip{color:var(--text);background:var(--surface-soft);border-color:var(--border)}html[data-theme=dark] .tools-word-chip:hover{color:var(--wine);background:var(--wine-soft);border-color:var(--border-strong)}html[data-theme=dark] .tools-field-label{color:var(--text-muted)}html[data-theme=dark] .tools-scope-bar strong{color:var(--text)}html[data-theme=dark] .tools-scope-bar select{color:var(--text);background:var(--surface-soft);border-color:var(--border)}html[data-theme=dark] .tools-stat-card>span{color:var(--text-muted)}html[data-theme=dark] .tools-stat-card strong{color:var(--text)}html[data-theme=dark] .tools-stat-card small{color:var(--text-muted)}html[data-theme=dark] .tools-analysis-card-heading h3{color:var(--text)}html[data-theme=dark] .tools-analysis-card-heading p{color:var(--text-muted)}html[data-theme=dark] .tools-count-list>div,html[data-theme=dark] .tools-text-issue-list p{color:var(--text-soft)}html[data-theme=dark] .tools-analysis-empty,html[data-theme=dark] .tools-empty-state,html[data-theme=dark] .tools-empty-result,html[data-theme=dark] .tools-loading-panel{color:var(--text-muted)}html[data-theme=dark] .tools-empty-state strong{color:var(--text)}html[data-theme=dark] .tools-wordnet-sense{background:var(--surface-soft);border-color:var(--border)}html[data-theme=dark] .tools-wordnet-sense-heading strong{color:var(--text)}html[data-theme=dark] .tools-wordnet-sense-heading span{color:var(--wine);background:var(--wine-soft)}html[data-theme=dark] .tools-wordnet-sense>p{color:var(--text-soft)}
