@font-face{font-family:Tajawal;src:url(/fonts/Tajawal-Regular.ttf)format("truetype");font-weight:400;font-display:swap}@font-face{font-family:Tajawal;src:url(/fonts/Tajawal-Bold.ttf)format("truetype");font-weight:700;font-display:swap}:root{color:#213441;font-synthesis:none;--ink:#183240;--muted:#697b85;--border:#dce3e7;--navy:#162b38;--accent:#166b72;--accent-light:#e9f3f2;--paper:#fff;--blue:#24566c;background:#f4f6f7;font-family:Tajawal,Arial,sans-serif;font-size:16px}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #61aeb3}input:focus,textarea:focus,select:focus{outline-offset:1px;border-color:#6ba3a7;outline:2px solid #78b2b5}::selection{color:#183240;background:#cce6e4}button{color:inherit}input,textarea,select{width:100%;color:var(--ink);background:#fff;border:1px solid #d5dfe3;border-radius:7px;min-width:0;padding:11px 12px;transition:border-color .15s,background .15s}input::placeholder,textarea::placeholder{color:#8a989f}textarea{resize:vertical;line-height:1.65}select{min-height:43px;padding:9px 11px}input[type=number]{font-variant-numeric:tabular-nums}label{color:#41545f;flex-direction:column;gap:8px;font-size:.92rem;font-weight:700;display:flex}h1,h2,h3,p{margin:0}h1{letter-spacing:-.025em;color:var(--ink);font-size:1.9rem;line-height:1.3}h2{color:var(--ink);font-size:1.2rem;line-height:1.5}h3{font-size:1.1rem;line-height:1.5}.button{white-space:nowrap;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:9px;min-height:43px;padding:10px 17px;font-size:.94rem;font-weight:700;transition:background .15s,border-color .15s;display:inline-flex}.button.primary{background:var(--accent);color:#fff}.button.primary:hover:not(:disabled){background:#10575e}.button.secondary{color:#314b5b;background:#fff;border-color:#d0dce0}.button.secondary:hover:not(:disabled){background:#edf3f5;border-color:#b7cbd2}.button.ghost{color:var(--muted);background:0 0}.button.danger{color:#fff;background:#a33e3b}.icon-button{color:#647984;background:0 0;border:0;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.icon-button:hover{color:var(--ink);background:#e8eff1}.text-button{color:var(--accent);text-align:right;background:0 0;border:0;align-items:center;gap:7px;padding:3px 0;font-size:.88rem;font-weight:700;display:inline-flex}.text-button:hover{text-underline-offset:4px;text-decoration:underline}.section-tag{color:#668189;font-size:.79rem;font-weight:700}.small-muted,.input-help{color:var(--muted);font-size:.82rem;font-weight:400;line-height:1.6}.input-help{display:block}.surface{border:1px solid var(--border);background:#fff;border-radius:10px}.actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.error{color:#913e38;background:#fff0ef;border:1px solid #edcfcc;border-radius:7px;padding:12px 15px;font-size:.92rem;line-height:1.6}.success{color:#2d7453;background:#edf6f1;border:1px solid #cee5d7;border-radius:7px;padding:12px 15px;font-size:.92rem}.global-error{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.spin{flex-shrink:0;animation:.85s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.hidden-input{display:none}.boot{min-height:100vh;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:24px;display:flex}.brand{color:var(--ink);align-items:center;gap:12px;display:flex}.brand strong{letter-spacing:-.03em;font-size:1.8rem;font-weight:700;line-height:1;display:block}.brand small{letter-spacing:.03em;color:#768b95;margin-top:8px;font-size:.76rem;display:block}.brand-mark{justify-content:center;align-items:center;gap:4px;width:33px;height:40px;display:flex;position:relative}.brand-mark span{background:var(--accent);border-radius:2px;width:7px;height:32px;transform:skewY(-17deg)}.brand-mark span:nth-child(2){height:22px}.brand-mark span:nth-child(3){height:14px}.auth-page{background:#fff;grid-template-columns:46% 54%;min-height:100vh;display:grid}.auth-form-side{flex-direction:column;min-height:100vh;padding:42px 12%;display:flex}.auth-form-wrap{width:100%;max-width:390px;margin:auto;padding:55px 0}.auth-intro h1{margin:14px 0 12px;font-size:2.25rem}.auth-intro p{color:#72818a;font-size:1rem;line-height:1.8}.auth-form{flex-direction:column;gap:21px;margin-top:34px;display:flex}.auth-form .button{width:100%;margin-top:4px}.input-icon{background:#fff;border:1px solid #d5dfe3;border-radius:7px;align-items:center;gap:9px;padding:0 12px;display:flex;position:relative}.input-icon>svg{color:#92a0a7;flex-shrink:0}.input-icon input{background:0 0;border:0;padding:13px 0}.input-icon:focus-within{outline-offset:1px;outline:2px solid #78b2b5}.input-icon input:focus{outline:0}.input-icon .icon-button{width:24px}.auth-switch{color:#7a8a93;text-align:center;margin-top:24px;font-size:.88rem}.auth-switch .text-button{margin-right:5px}.auth-footer{color:#85939a;align-items:center;gap:8px;margin-top:auto;font-size:.78rem;display:flex}.auth-story{background:var(--navy);color:#f3f6f6;flex-direction:column;padding:60px 11% 44px;display:flex;position:relative;overflow:hidden}.story-top{color:#a8bec7;margin-bottom:45px;font-size:.82rem}.auth-story h2{color:#fff;letter-spacing:-.035em;font-size:3.25rem;line-height:1.35}.auth-story h2 em{color:#8bc9c4;font-style:normal}.auth-story>p{color:#a8bdc7;max-width:350px;margin-top:22px;font-size:1rem;line-height:1.9}.studio-illustration{direction:ltr;background:#243c49;border:1px solid #49606d;border-radius:9px;align-self:center;width:100%;max-width:470px;margin:44px 0 30px;transform:rotate(-3deg);box-shadow:0 24px 70px #07172250}.mock-top{border-bottom:1px solid #49606d;align-items:center;gap:5px;height:34px;padding:0 12px;display:flex}.mock-top i{background:#67808e;border-radius:50%;width:5px;height:5px}.mock-top span{color:#a1b6c0;margin-left:auto;font-size:.65rem}.mock-workspace{grid-template-columns:1fr 25%;min-height:230px;display:grid}.mock-paper{background:#f2f3ee;margin:28px;padding:34px 25px;position:relative;box-shadow:0 6px 15px #0b1c2533}.paper-title{background:#5e737e;width:45%;height:8px;margin-left:auto}.paper-line{background:#b2bec1;width:72%;height:5px;margin:15px 0 0 auto}.paper-line.wide{width:100%;margin-top:27px}.paper-line.short{width:50%}.paper-selection{border:1px solid #44999c;height:22px;position:absolute;top:83px;left:21px;right:20px}.paper-selection span{background:#f2f3ee;border:1px solid #44999c;width:5px;height:5px;position:absolute;top:-3px;left:-3px}.paper-selection span:nth-child(2){left:auto;right:-3px}.paper-selection span:nth-child(3){top:auto;bottom:-3px}.paper-selection span:nth-child(4){inset:auto -3px -3px auto}.paper-baseline{border-bottom:1px solid #d4dcd9;position:absolute;bottom:26px;left:25px;right:25px}.mock-tools{border-left:1px solid #49606d;padding:26px 12px}.mock-tools b{background:#536d7b;width:75%;height:4px;margin:0 0 10px auto;display:block}.mock-tools div{border:1px solid #69828e;border-radius:3px;height:17px;margin:16px 0}.mock-tools i{background:#668691;width:100%;height:3px;margin-top:16px;display:block}.mock-tools i:last-child{width:65%}.mock-bottom{direction:rtl;border-top:1px solid #49606d;align-items:center;gap:7px;padding:11px 14px;display:flex}.mock-bottom span{background:#73b8aa;border-radius:50%;width:5px;height:5px}.mock-bottom small{color:#b1c5cd;font-size:.6rem}.story-notes{color:#b7cbd2;flex-wrap:wrap;gap:18px;margin-top:auto;font-size:.77rem;display:flex}.story-notes span{align-items:center;gap:5px;display:flex}.story-notes svg{color:#7ec3b8}.app-shell{grid-template-columns:226px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--navy);color:#c4d2d9;flex-direction:column;height:100dvh;padding:33px 18px 20px;display:flex;position:sticky;top:0}.sidebar .brand{color:#fff;padding:0 14px}.sidebar .brand small{color:#8fa9b7}.sidebar .brand-mark span{background:#7ab9b5}.workspace-label{color:#7795a5;margin:51px 0 15px;padding:0 16px;font-size:.72rem;font-weight:700}.sidebar nav{flex-direction:column;gap:7px;display:flex}.nav-item{color:#a8beca;text-align:right;background:0 0;border:0;border-radius:7px;align-items:center;gap:12px;width:100%;min-height:47px;padding:10px 15px;font-size:.94rem;transition:background .15s,color .15s;display:flex}.nav-item>svg:last-child:not(:first-child){margin-right:auto}.nav-item:hover{color:#fff;background:#223d4d}.nav-item.active>svg:first-child{color:#8dcfc4}.sidebar-bottom{margin-top:auto;padding:28px 8px 0}.user-block{border-bottom:1px solid #35505e;align-items:center;gap:10px;padding-bottom:20px;display:flex}.avatar{color:#cde4e3;background:#36545f;border-radius:8px;justify-content:center;align-items:center;width:35px;height:35px;font-weight:700;display:flex}.user-block>div{min-width:0}.user-block strong{color:#e8eff2;font-size:.88rem;font-weight:700;display:block}.user-block small{color:#829da9;text-overflow:ellipsis;max-width:140px;margin-top:5px;font-size:.65rem;display:block;overflow:hidden}.logout{color:#91adba;background:0 0;border:0;align-items:center;gap:10px;padding:18px 0 0;font-size:.82rem;display:flex}.logout:hover{color:#fff}.main-shell{flex-direction:column;min-width:0;display:flex}.topbar{border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;min-height:74px;padding:18px 35px;display:flex}.breadcrumb{color:#85949c;align-items:center;gap:13px;font-size:.84rem;display:flex}.breadcrumb strong{color:#435d6c;font-weight:400}.account-pill{color:#668078;background:#f0f6f3;border-radius:20px;align-items:center;gap:7px;padding:7px 11px;font-size:.76rem;display:flex}.account-pill>span{background:#6b9d89;border-radius:50%;width:5px;height:5px}.main-content{flex:1;min-width:0;padding:35px}.page-heading,.designer-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.page-heading p{color:var(--muted);margin-top:9px;font-size:.92rem;line-height:1.8}.section-row{color:var(--muted);justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;font-size:.85rem;display:flex}.app-footer{color:#93a0a7;justify-content:space-between;gap:15px;padding:17px 35px;font-size:.68rem;display:flex}.empty{text-align:center;flex-direction:column;align-items:center;gap:14px;padding:65px 25px;display:flex}.empty-icon{color:#82a29f;background:#f4f8f7;border:1px solid #dde7e7;border-radius:16px;justify-content:center;align-items:center;width:72px;height:72px;margin-bottom:6px;display:flex}.empty h2{font-size:1.35rem}.empty p{color:#7d8e98;max-width:400px;font-size:.92rem;line-height:1.85}.empty .button{margin-top:10px}.project-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px;display:grid}.project-card{border:1px solid var(--border);background:#fff;border-radius:9px;transition:border-color .15s,transform .15s;position:relative;overflow:hidden}.project-card:hover{border-color:#b5cecf;transform:translateY(-2px)}.project-open{text-align:right;background:0 0;border:0;width:100%;padding:0;display:block}.project-cover{background:#e9eeed;justify-content:center;align-items:center;height:168px;display:flex;position:relative}.document-symbol{color:#8aa1a3;background:#fafcf9;border:1px solid #b8c9c9;border-radius:5px;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:85px;height:108px;display:flex;transform:rotate(-6deg);box-shadow:0 5px 12px #203b4810}.document-symbol span{letter-spacing:.15em;font-family:Arial,sans-serif;font-size:.66rem}.project-cover-tag{color:#7a9399;font-size:.69rem;position:absolute;bottom:12px;right:14px}.project-info h2{text-overflow:ellipsis;white-space:nowrap;max-width:95%;font-size:1.08rem;overflow:hidden}.project-info p{color:#8b99a0;margin-top:7px;font-size:.76rem}.project-go{color:var(--accent);justify-content:space-between;align-items:center;margin-top:25px;font-size:.86rem;font-weight:700;display:flex}.delete-project{color:#82979c;background:#ffffffab;position:absolute;top:12px;left:12px}.delete-project:hover{color:#9c5147;background:#fff0ed}.toast{z-index:40;color:#335f54;background:#f2faf5;border:1px solid #c9e2d1;border-radius:9px;align-items:center;gap:10px;padding:15px 20px;font-size:.92rem;display:flex;position:fixed;bottom:28px;left:30px;box-shadow:0 8px 22px #173b4312}.modal-backdrop{z-index:70;background:#102c3d66;justify-content:center;align-items:center;padding:22px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:12px;width:420px;max-width:100%;padding:34px;position:relative;box-shadow:0 18px 70px #06171d40}.modal-close{position:absolute;top:13px;left:13px}.modal-icon{color:var(--accent);background:#edf6f2;border-radius:10px;justify-content:center;align-items:center;width:48px;height:48px;margin-bottom:20px;display:flex}.modal h2{font-size:1.4rem}.modal p{color:var(--muted);margin-top:10px;font-size:.9rem;line-height:1.7}.modal form{flex-direction:column;gap:22px;margin-top:25px;display:flex}.view-designer{padding:24px}.designer-heading{margin-bottom:22px}.project-title-input{max-width:430px;color:var(--ink);background:0 0;border:1px solid #0000;border-radius:5px;padding:3px 0;font-size:1.5rem;font-weight:700}.project-title-input:hover{border-color:#d9e3e7}.save-state{color:#8a9ca4;align-items:center;gap:7px;margin-top:7px;font-size:.75rem;display:flex}.save-state svg{width:13px;height:13px}.save-state.saved{color:#5b897c}.save-state.error{color:#994e42;background:0 0;border:0;padding:0}.designer-layout{grid-template-columns:310px minmax(0,1fr);align-items:start;gap:18px;display:grid}.field-panel{overflow:hidden}.panel-heading{color:#90a2aa;justify-content:space-between;align-items:center;padding:18px 19px 15px;display:flex}.panel-heading h2{font-size:1.05rem}.segmented{background:#edf1f2;border-radius:7px;gap:3px;padding:4px;display:inline-flex}.segmented button{color:#7a8d98;white-space:nowrap;background:0 0;border:0;border-radius:5px;padding:7px 12px;font-size:.85rem;transition:background .15s,color .15s}.segmented button.active{color:#245a63;background:#fff;box-shadow:0 1px 3px #243d4510}.field-tabs{margin:0 17px 13px;display:flex}.field-tabs button{flex:1}.search-box{color:#98a9b0;background:#f7f9fa;border:1px solid #e1e7ea;border-radius:6px;align-items:center;gap:9px;padding:0 11px;display:flex}.search-box input{background:0 0;border:0;padding:10px 0;font-size:.86rem}.search-box input:focus{outline:0}.search-box:focus-within{outline-offset:1px;outline:2px solid #78b2b5}.field-panel>.search-box{margin:0 17px 10px}.field-list{scrollbar-width:thin;scrollbar-color:#bdccd1 transparent;border-bottom:1px solid #e8ecee;max-height:160px;padding:0 12px 12px;overflow:auto}.field-item{color:#6e818d;text-align:right;background:0 0;border:0;border-radius:5px;justify-content:space-between;align-items:center;gap:10px;width:100%;margin:2px 0;padding:9px 11px;font-size:.87rem;display:flex}.field-item svg{color:#a3b2b8}.field-item:hover{background:#f4f7f8}.field-item.active{color:#226b70;background:#e9f3f2}.field-item.active svg{color:#70a5a2}.field-editor{flex-direction:column;gap:17px;padding:19px;display:flex}.selected-field h3{margin-top:5px;font-size:1.12rem}.selected-field .section-tag{color:#93a1a8;font-size:.68rem}.field-editor label{gap:7px;font-size:.81rem}.field-editor input,.field-editor select,.field-editor textarea{border-color:#dfe6e8;padding:9px 10px;font-size:.87rem;font-weight:400}.two-controls{grid-template-columns:1fr 1fr;gap:12px;display:grid}.checkbox-label{color:#6d808c;flex-direction:row;align-items:center;font-weight:400}.checkbox-label input{width:15px;accent-color:var(--accent)}.range-control{flex-direction:column;display:flex;gap:12px!important}.range-control>span{justify-content:space-between;align-items:center;display:flex}.range-control output{color:#436777;background:#eff4f5;border-radius:4px;padding:4px 7px;font-family:Arial,sans-serif;font-size:.75rem;font-weight:400}.range-control input[type=range]{accent-color:var(--accent);cursor:pointer;border:0;height:5px;padding:0}.field-editor>.input-help{margin-top:-9px;font-size:.67rem}.reset-field{margin-top:2px;font-size:.74rem;font-weight:400}.panel-empty{color:var(--muted);padding:30px 18px;font-size:.9rem}.preview-panel{position:sticky;top:18px;overflow:hidden}.preview-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:13px 15px;display:flex}.zoom-controls{color:#7b919c;align-items:center;gap:3px;display:flex}.zoom-controls>span{text-align:center;min-width:45px;font-size:.74rem}.zoom-controls .selected{color:var(--accent);background:#e9f3f2}.preview-canvas{scrollbar-width:thin;scrollbar-color:#b2c1c7 transparent;direction:ltr;background:#e7ebec;height:calc(100dvh - 290px);min-height:390px;padding:50px 24px 30px;position:relative;overflow:auto}.canvas-label{color:#96a5ab;direction:rtl;align-items:center;gap:6px;font-size:.68rem;display:flex;position:absolute;top:20px;right:24px}.canvas-label>span{background:#9badb4;border-radius:50%;width:4px;height:4px}.preview-image-wrap{justify-content:center;align-items:center;min-width:100%;min-height:100%;display:flex}.preview-image-wrap.fit img{object-fit:contain;max-width:100%;max-height:calc(100dvh - 390px);box-shadow:0 8px 25px #29444b12}.preview-image-wrap:not(.fit){justify-content:flex-start}.preview-image-wrap img{height:auto;display:block}.preview-skeleton{color:#91a6af;flex-direction:column;justify-content:center;align-items:center;gap:17px;height:100%;min-height:300px;display:flex}.preview-skeleton svg{width:27px;height:27px}.preview-skeleton p{font-size:.86rem}.render-pill{color:#507484;direction:rtl;background:#ffffffed;border:1px solid #cfdce1;border-radius:6px;align-items:center;gap:7px;padding:8px 12px;font-size:.73rem;display:inline-flex;position:sticky;bottom:0;left:12px}.render-pill svg{width:13px;height:13px}.preview-footer{justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.preview-footer>span{color:#8ea0a8;align-items:center;gap:7px;font-size:.69rem;display:flex}.preview-footer .text-button{font-size:.76rem}.canvas-error{text-align:center;direction:rtl;background:#fff;border:1px solid #d9e3e6;border-radius:8px;max-width:420px;margin:40px auto;padding:40px 22px}.canvas-error h3{color:#8c5b4c;font-size:1.1rem}.canvas-error p{color:#8d9aa0;margin:15px 0 20px;font-size:.88rem;line-height:1.9}.font-library{padding:25px}.library-toolbar{border-bottom:1px solid #e8edef;flex-wrap:wrap;align-items:center;gap:20px;padding-bottom:22px;display:flex}.library-toolbar>.search-box{flex:1;min-width:180px;max-width:380px}.library-toolbar>.small-muted{letter-spacing:.08em;margin-right:auto;font-family:Arial,sans-serif;font-size:.65rem}.font-rows{grid-template-columns:1fr 1fr;gap:0 35px;display:grid}.font-row{border-bottom:1px solid #edf1f2;align-items:center;gap:14px;padding:22px 0;display:flex}.font-monogram{color:#86a19f;background:#f0f5f4;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:47px;height:47px;display:flex}.font-row>div:nth-child(2){flex-direction:column;gap:7px;min-width:0;display:flex}.font-row strong{overflow-wrap:anywhere;font-family:Arial,sans-serif;font-size:.86rem;font-weight:400}.font-row span{color:#96a4ab;font-size:.73rem}.font-row>svg{color:#95b1a7;flex-shrink:0;margin-right:auto}.reader-layout{grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);align-items:start;gap:25px;display:grid}.reader-form{flex-direction:column;gap:23px;padding:29px;display:flex}.reader-form h2{margin-bottom:3px}.reader-form>.input-help{font-size:.77rem}.reader-result{min-height:405px;padding:29px}.reader-result>h2{margin-top:10px;font-size:1.5rem}.reader-result dl{margin:22px 0 0}.reader-result dl>div{border-bottom:1px solid #edf1f2;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;display:flex}.reader-result dt{color:#8697a0;font-size:.85rem}.reader-result dd{margin:0;font-size:.96rem;font-weight:700}.reader-result .empty{padding:46px 0}.generator-form{padding:25px}.generator-controls{grid-template-columns:repeat(3,minmax(0,1fr));gap:21px;display:grid}.generator-controls label{font-size:.86rem}.generator-submit{border-top:1px solid #e8edef;justify-content:space-between;align-items:center;gap:20px;margin-top:24px;padding-top:23px;display:flex}.generator-submit .input-help{font-size:.76rem}.records-surface{margin-top:25px;overflow:hidden}.table-heading{margin:0;padding:22px 25px}.table-scroll{overflow:auto}table{border-collapse:collapse;text-align:right;width:100%;font-size:.8rem}th{color:#8698a2;white-space:nowrap;background:#f6f8f9;padding:15px 18px;font-size:.72rem;font-weight:400}td{white-space:nowrap;color:#5f7786;border-bottom:1px solid #edf1f2;padding:18px}tbody tr:hover{background:#fbfdfd}td.name-cell{color:#354f5e;font-weight:700}td.address-cell{white-space:normal;min-width:240px;line-height:1.7}td .text-button{font-size:.77rem}td:first-child{color:#a0adb3;font-size:.73rem}.table-scroll::-webkit-scrollbar{height:7px}.table-scroll::-webkit-scrollbar-thumb{background:#c1cfd4;border-radius:5px}@media (width>=1600px){.main-content{padding:42px 50px}.view-designer{padding:28px 36px}.designer-layout{grid-template-columns:340px minmax(0,1fr)}.auth-form-side{padding-left:17%;padding-right:17%}.auth-story{padding-left:15%;padding-right:15%}.studio-illustration{max-width:530px;margin-top:65px}.mock-workspace{min-height:270px}.auth-story h2{font-size:3.8rem}.story-top{margin-bottom:70px}}@media (width<=1150px){.app-shell{grid-template-columns:198px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.main-content{padding:26px}.topbar{padding:18px 26px}.designer-layout{grid-template-columns:280px minmax(0,1fr);gap:14px}.view-designer{padding:20px}.preview-toolbar{gap:8px;padding:11px}.segmented button{padding:7px 10px}.zoom-controls{gap:0}.zoom-controls .icon-button{width:27px}.preview-canvas{padding:45px 16px 25px}.field-editor{padding:17px}.auth-form-side{padding-left:11%;padding-right:11%}.auth-story{padding:50px 10% 36px}.auth-story h2{font-size:2.9rem}.story-notes{gap:12px}}@media (width<=950px){.app-shell{grid-template-columns:78px minmax(0,1fr)}.sidebar{align-items:center;padding:28px 10px 18px}.sidebar .brand{gap:0;padding:0}.sidebar .brand>div{display:none}.workspace-label{margin:40px 0 16px;font-size:0}.sidebar nav{width:100%}.nav-item{justify-content:center;padding:11px}.nav-item span,.nav-item>svg:last-child:not(:first-child){display:none}.nav-item{position:relative}.nav-item:hover:after{content:attr(aria-label)}.sidebar-bottom{width:100%;padding:25px 0 0}.user-block{justify-content:center}.user-block>div{display:none}.logout{justify-content:center;width:100%;padding-top:22px;font-size:0}.logout svg{width:21px;height:21px}.designer-layout{grid-template-columns:270px minmax(0,1fr)}.designer-heading{align-items:flex-start}.designer-heading .actions{gap:7px}.designer-heading .button{padding:9px 11px;font-size:.8rem}.project-title-input{max-width:300px;font-size:1.25rem}.preview-toolbar{justify-content:center}.reader-layout{grid-template-columns:1fr 1fr;gap:18px}.reader-form,.reader-result{padding:22px}.auth-page{grid-template-columns:50% 50%}.auth-story{padding:45px 10% 32px}.auth-form-side{padding:35px 9%}.auth-story h2{font-size:2.65rem}.studio-illustration{margin-top:38px}.mock-paper{margin:20px;padding:29px 20px}.mock-workspace{min-height:210px}.mock-tools{padding:24px 8px}.story-notes{font-size:.68rem}}@media (width<=760px){.auth-page{display:block}.auth-form-side{min-height:100dvh;padding:30px 8%}.auth-form-wrap{max-width:410px;padding:55px 0}.auth-story{display:none}.auth-intro h1{font-size:2.1rem}.app-shell{display:block}.sidebar{grid-template-columns:1fr auto;align-items:stretch;height:auto;padding:18px 18px 0;display:grid;position:static}.sidebar .brand{gap:9px;padding:0}.sidebar .brand>div{display:block}.sidebar .brand strong{font-size:1.45rem}.sidebar .brand small{margin-top:5px;font-size:.64rem}.sidebar .brand-mark{width:28px;height:34px}.sidebar .brand-mark span{width:6px;height:27px}.sidebar .brand-mark span:nth-child(2){height:19px}.sidebar .brand-mark span:nth-child(3){height:12px}.workspace-label{display:none}.sidebar nav{scrollbar-width:none;flex-direction:row;grid-area:2/1/auto/-1;gap:4px;margin-top:22px;padding-bottom:9px;overflow:auto}.nav-item{flex-shrink:0;gap:7px;width:auto;min-height:38px;padding:8px 11px;font-size:.78rem}.nav-item span{display:inline}.nav-item>svg:first-child{width:16px;height:16px}.sidebar-bottom{grid-area:1/2;align-items:center;gap:12px;width:auto;margin:0;padding:0;display:flex}.user-block{border:0;padding:0}.avatar{width:30px;height:30px;font-size:.85rem}.logout{width:30px;margin:0;padding:0}.logout svg{width:17px;height:17px}.topbar{min-height:52px;padding:12px 20px}.breadcrumb{gap:8px;font-size:.75rem}.account-pill{padding:6px 9px;font-size:.66rem}.main-content,.view-designer{padding:24px 18px}.page-heading{flex-wrap:wrap;align-items:flex-start;gap:17px;margin-bottom:24px}.page-heading h1{font-size:1.65rem}.page-heading p{margin-top:7px;font-size:.85rem}.page-heading .actions{width:100%}.button{min-height:40px;padding:9px 13px;font-size:.85rem}.app-footer{justify-content:center;padding:18px;font-size:.6rem}.app-footer>span:last-child{display:none}.project-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}.project-cover{height:155px}.empty{padding:45px 20px}.empty h2{font-size:1.2rem}.empty p{font-size:.85rem}.designer-heading{flex-wrap:wrap;gap:16px}.designer-heading>.actions{width:100%}.project-title-input{max-width:100%;font-size:1.4rem}.designer-layout{grid-template-columns:1fr}.field-panel{order:1}.preview-panel{order:0;position:static}.preview-toolbar{justify-content:space-between;padding:10px 12px}.preview-canvas{height:340px;min-height:0;padding-top:42px}.preview-image-wrap.fit img{max-height:265px}.preview-image-wrap{min-height:245px}.preview-skeleton{min-height:240px}.preview-footer{padding:10px 12px}.field-list{max-height:135px}.field-editor{grid-template-columns:1fr 1fr;gap:17px;padding:20px;display:grid}.selected-field,.field-editor>label:first-of-type,.field-editor>.input-help,.reset-field,.field-editor>.two-controls,.field-editor>.checkbox-label{grid-column:1/-1}.font-library{padding:18px}.font-rows{grid-template-columns:1fr}.library-toolbar{gap:14px}.library-toolbar>.small-muted{display:none}.font-row{padding:18px 0}.reader-layout{grid-template-columns:1fr}.reader-result{min-height:300px}.generator-controls{grid-template-columns:1fr 1fr;gap:18px}.generator-form{padding:20px}.generator-submit{flex-direction:column;align-items:stretch;gap:16px}.generator-submit .button{align-self:flex-end}.table-heading{flex-wrap:wrap;padding:18px}.records-surface{margin-top:20px}.toast{padding:13px 15px;font-size:.85rem;bottom:18px;left:18px;right:18px}.modal{padding:28px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.designer-heading .actions{flex-wrap:wrap}.designer-heading .pair-format{width:auto;max-width:100%;padding:9px 12px;font-size:.85rem}.designer-heading{flex-wrap:wrap}.pair-download-help{flex-basis:100%;order:2;font-size:.75rem}.export-dropdown{position:relative}.export-options{inset-inline-end:0;z-index:50;border:1px solid var(--border);background:#fff;border-radius:10px;width:300px;max-width:calc(100vw - 36px);padding:6px;position:absolute;top:calc(100% + 8px);box-shadow:0 12px 32px #18324022}.export-options button{text-align:start;background:0 0;border:0;border-radius:6px;align-items:center;gap:12px;width:100%;padding:12px;display:flex}.export-options button:hover,.export-options button:focus-visible{background:var(--accent-light)}.export-options button>svg{color:var(--accent);flex-shrink:0}.export-options button span{flex-direction:column;gap:5px;display:flex}.export-options strong{font-size:.88rem;font-weight:700}.export-options small{color:var(--muted);font-size:.73rem}.export-options button:last-child{border-top:1px solid var(--border);border-radius:0 0 6px 6px}.account-help{margin-top:18px}.records-surface td .button+.button{margin-inline-start:8px}.photo-stage{direction:ltr;max-width:100%;line-height:0;position:relative}.photo-stage img{width:100%}.photo-move-handle{cursor:move;touch-action:none;color:#12606a;background:#167d8912;border:2px dashed #167d89;justify-content:center;align-items:center;line-height:normal;display:flex;position:absolute}.photo-move-handle:active{cursor:grabbing}.photo-move-handle:focus-visible{outline-offset:3px;outline:3px solid #167d89}.photo-controls{border-bottom:1px solid #e1e7ea;padding:16px}.photo-controls p{margin-bottom:12px;font-size:.82rem;line-height:1.8}.photo-controls .text-button{margin-top:12px}.layer-move-canvas{touch-action:none;cursor:move;outline:none;position:relative}.layer-move-canvas:focus-visible{outline-offset:4px;outline:2px solid #167d89}.layer-selection{pointer-events:none;z-index:2;border:1.5px solid #167d89;line-height:normal;position:absolute}.layer-selection>span{color:#fff;white-space:nowrap;direction:rtl;background:#12606a;border-radius:3px;padding:3px 7px;font-size:11px;position:absolute;bottom:calc(100% + 5px);left:-1px}.layer-selection i{background:#fff;border:1.5px solid #167d89;width:7px;height:7px;position:absolute;transform:translate(-50%,-50%)}.layer-selection i:first-of-type{top:0;left:0}.layer-selection i:nth-of-type(2){top:0;left:100%}.layer-selection i:nth-of-type(3){top:100%;left:0}.layer-selection i:nth-of-type(4){top:100%;left:100%}.layer-move-panel{border-bottom:1px solid #e1e7ea;padding:16px}.layer-panel-title,.layer-panel-title strong{align-items:center;gap:7px;display:flex}.layer-panel-title{justify-content:space-between}.layer-move-panel p{color:#516974;margin:10px 0;font-size:.8rem;line-height:1.8}.move-layer-list{scrollbar-width:thin;max-height:200px;margin:12px 0;overflow:auto}.move-layer-list button{color:#516974;text-align:right;background:0 0;border:0;border-radius:5px;align-items:center;gap:9px;width:100%;padding:9px;display:flex}.move-layer-list button.active{color:#12606a;background:#e9f3f2}.move-layer-list button:hover{background:#f1f6f6}.move-layer-list button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.move-selected-label{margin:12px 0;font-size:.85rem;display:block}.layer-move-panel>.text-button{margin-top:13px}.layer-move-canvas .move-background{pointer-events:none;width:100%;height:100%;box-shadow:none;position:absolute;inset:0}.layer-move-canvas .move-live-layer{pointer-events:none;max-width:none;max-height:none;box-shadow:none;object-fit:fill;position:absolute}.history-toolbar{align-items:center;gap:6px;display:flex}.designer-heading>.actions{flex-wrap:wrap}.history-panel{margin-bottom:18px;padding:16px 18px}.history-panel-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.history-panel h2{font-size:1rem}.history-panel p{color:#516974;margin-top:5px;font-size:.8rem;line-height:1.8}.history-panel ol{scrollbar-width:thin;max-height:230px;margin:12px 0 0;padding:0;list-style:none;overflow:auto}.history-panel li button{text-align:right;color:#516974;background:0 0;border:0;border-radius:5px;align-items:center;gap:12px;width:100%;padding:10px;display:flex}.history-panel li button:hover{background:#f1f6f6}.history-panel li button.active{color:#12606a;background:#e9f3f2}.history-panel li button.future{opacity:.6}.history-panel li button>span{min-width:35px;font-size:.75rem}.history-panel li small{margin-inline-start:auto}.history-panel-heading .text-button{white-space:nowrap}@media (width<=760px){.history-panel-heading{flex-direction:column;align-items:flex-start}.history-toolbar .button{padding:8px 10px}}.photo-stage{--scene-height:calc(100dvh - 390px)}.live-scene-canvas{isolation:isolate;width:100%;height:auto;display:block;box-shadow:0 8px 25px #29444b12}.preview-sync-error{color:#81412a;background:#fff6ec;max-width:100%;padding:8px;font-size:.8rem;line-height:1.6;display:block;position:sticky;bottom:0}.layer-move-canvas{contain:layout style}.save-state.saving,.save-state.rendering{color:#516974}@media (width<=760px){.photo-stage{--scene-height:265px}}.layer-position-controls{border-bottom:1px solid #e1e7ea;grid-column:1/-1;margin-bottom:2px;padding-bottom:16px}.layer-position-controls>.input-help{margin-bottom:12px;line-height:1.8;display:block}.layer-position-controls>.text-button{margin-top:12px}.field-list[aria-label=طبقات\ التصميم]{max-height:260px}.field-editor>.selected-field h3{margin:0}.design-defaults-notice{color:#245a63;background:#e9f3f2;border-radius:8px;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px;padding:16px 18px;display:flex}.design-defaults-notice strong{font-size:.92rem}.design-defaults-notice p{max-width:740px;margin-top:5px;font-size:.82rem;line-height:1.9}.design-defaults-notice>span{white-space:nowrap;align-items:center;gap:6px;font-size:.75rem;display:flex}.template-editor-title{font-size:1.2rem}.record-design-actions{flex-direction:column;gap:10px;min-width:135px;display:flex}@media (width<=760px){.design-defaults-notice{flex-direction:column;align-items:flex-start;gap:10px}}.project-pagination{justify-content:center;align-items:center;gap:18px;margin-top:25px;display:flex}.project-pagination>span{color:#516974;font-size:.85rem}.project-library-tools{max-width:560px;margin:0 0 18px}.project-library-tools .search-box{background:#fff;min-height:46px}.project-library-tools input{width:100%;min-width:0}.project-card-preview{aspect-ratio:1.55;background:#e8eff0;justify-content:center;align-items:center;height:auto;padding:14px;display:flex}.project-thumbnail-state{color:#516974;align-items:center;gap:9px;font-size:.8rem;display:flex}.project-info h2{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.project-info .project-national-id{letter-spacing:.03em;color:#245a63;text-align:right;margin:8px 0;font-size:1.05rem}.project-search-loading{color:#516974;justify-content:center;align-items:center;gap:10px;min-height:240px;display:flex}.project-scope-tabs{max-width:100%;margin-bottom:18px;overflow:auto}.project-scope-tabs button{align-items:center;gap:5px;display:flex}.share-project{z-index:2;background:#ffffffed;position:absolute;top:13px;left:49px}.project-access-badge{color:#245a63;margin-bottom:8px;font-size:.73rem;display:block}.shared-project-note{color:#245a63;margin-bottom:9px;font-size:.8rem}.sharing-dialog{width:min(620px,100vw - 30px);max-height:90dvh;padding:27px;overflow:auto}.sharing-dialog>h2{align-items:center;gap:9px;padding-inline-end:25px;font-size:1.3rem;display:flex}.sharing-project-name{color:#516974;margin:8px 0 14px;font-size:.9rem}.sharing-section{border-top:1px solid #e1e7ea;padding:20px 0}.sharing-section h3{align-items:center;gap:7px;font-size:1rem;display:flex}.sharing-section p{color:#516974;margin:9px 0 14px;font-size:.83rem;line-height:1.9}.sharing-section form{grid-template-columns:1fr 1fr;gap:12px;display:grid}.sharing-section form>button{grid-column:1/-1;justify-self:start}.sharing-dialog label{flex-direction:column;gap:7px;font-size:.85rem;display:flex}.sharing-link{margin-top:16px}.sharing-section>.text-button{margin-top:10px}.sharing-recipients{margin:16px 0 0;padding:0;list-style:none}.sharing-recipients li{border-top:1px solid #edf1f2;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;display:flex}.sharing-recipients li div{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.sharing-recipients span,.sharing-recipients small{color:#516974;overflow-wrap:anywhere;font-size:.78rem}.sharing-success{color:#245a63;background:#e9f3f2;border-radius:6px;padding:10px 12px;font-size:.85rem}.sharing-loading{color:#516974;align-items:center;gap:9px;padding:25px 0;display:flex}.transfer-section>.checkbox-label{flex-direction:row;align-items:center;margin:16px 0}.transfer-confirmation{background:#fff6eb;border-radius:7px;padding:14px}.transfer-confirmation p{color:#714824}.transfer-confirmation .actions{flex-wrap:wrap}@media (width<=760px){.sharing-section form{grid-template-columns:1fr}.sharing-dialog{padding:24px 18px}.project-scope-tabs{display:flex}.project-scope-tabs button{flex:1;justify-content:center;padding:8px;font-size:.78rem}}.project-bulk-tools{flex-direction:column;gap:12px;margin:0 0 18px;display:flex}.project-select-page{color:#435d6c;cursor:pointer;align-items:center;gap:9px;width:fit-content;font-size:.85rem;display:flex}.project-select-page input,.project-select input{accent-color:#1c7175;cursor:pointer;width:19px;height:19px}.project-select{inset-inline-start:13px;z-index:2;cursor:pointer;background:#fff;border-radius:5px;justify-content:center;align-items:center;width:32px;height:32px;display:flex;position:absolute;top:13px}.project-card.selected{border-color:#1c7175;box-shadow:inset 0 0 0 1px #1c7175}.project-bulk-actions{background:#e9f3f2;border-radius:7px;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 16px;display:flex}.project-bulk-actions strong{color:#245a63;margin-inline-end:auto;font-size:.9rem}.bulk-project-names{color:#435d6c;max-height:145px;margin:14px 0 22px;padding-inline-start:24px;font-size:.88rem;line-height:1.9;overflow:auto}.bulk-project-form{flex-direction:column;gap:16px;display:flex}.bulk-project-form .actions{flex-wrap:wrap;margin-top:6px}.bulk-failures{margin-bottom:16px;display:block}.bulk-failures ul{max-height:140px;margin-top:8px;padding-inline-start:20px;overflow:auto}.project-select:focus-within{outline-offset:3px;outline:2px solid #1c7175}@media (width<=760px){.project-bulk-actions{gap:10px}.project-bulk-actions strong{flex-basis:100%}.project-bulk-actions .button{flex:1}.project-bulk-actions .text-button{padding:8px}}.sidebar{scrollbar-width:thin;scrollbar-color:#45606d transparent;padding:28px 16px 18px;overflow-y:auto}.sidebar .grouped-navigation{gap:25px;margin-top:35px}.nav-group{flex-direction:column;gap:5px;display:flex}.nav-group-label{color:#9eb6c1;margin-bottom:8px;padding:0 14px;font-size:.7rem;font-weight:700}.nav-item{gap:11px;min-height:43px;padding:10px 13px;font-size:.89rem}.nav-item.active{color:#fff;background:#2c4e5b}.nav-item:focus-visible,.account-nav-button:focus-visible,.logout:focus-visible{outline-offset:3px;outline:2px solid #9bd7cf}.sidebar-bottom{padding:26px 0 0}.sidebar .account-nav-button{text-align:right;cursor:pointer;color:#b7cbd4;background:0 0;border:0;border-top:1px solid #36505e;border-radius:0;width:100%;padding:12px 10px}.sidebar .account-nav-button:hover,.sidebar .account-nav-button.active{background:#244451;border-radius:8px}.account-nav-button>.avatar{flex-shrink:0}.account-nav-button>svg{flex-shrink:0;margin-inline-start:auto}.account-nav-button strong{text-overflow:ellipsis;white-space:nowrap;max-width:115px;overflow:hidden}.account-nav-button small{color:#adc2cb;font-size:.7rem}.sidebar .logout{color:#adc2cb;padding:14px 11px 0;font-size:.78rem}.sidebar .logout:hover{color:#fff}.account-page{max-width:1120px;margin-inline:auto}.account-page .page-heading{margin-bottom:25px}.account-page .page-heading p{color:#516974}.account-identity{align-items:center;gap:17px;padding:24px 0 28px;display:flex}.account-avatar{color:#245a63;background:#dcecea;border-radius:16px;flex-shrink:0;justify-content:center;align-items:center;width:62px;height:62px;font-size:1.8rem;font-weight:700;display:flex}.account-identity h2{overflow-wrap:anywhere;font-size:1.2rem;line-height:1.5}.account-identity p{color:#516974;overflow-wrap:anywhere;margin-top:3px;font-size:.85rem}.account-role{color:#435d6c;white-space:nowrap;border:1px solid #d3dfe3;border-radius:6px;margin-inline-start:auto;padding:7px 12px;font-size:.76rem}.account-tabs{border-bottom:1px solid #d9e3e7;gap:28px;margin-bottom:0;display:flex}.account-tabs button{color:#516974;background:0 0;border:0;justify-content:center;align-items:center;gap:9px;min-height:55px;padding:12px 2px;font-size:.9rem;font-weight:700;display:flex;position:relative}.account-tabs button.active{color:#16646b}.account-tabs button.active:after{content:"";bottom:-1px;background:#16646b;height:2px;position:absolute;inset-inline:0}.account-tabs button:hover{color:#16646b}.account-settings-surface{background:#fff;border:1px solid #dce5e9;border-top:0;border-radius:0 0 12px 12px;min-height:365px}.account-settings-section{grid-template-columns:minmax(160px,.75fr) minmax(0,1.5fr);gap:42px;padding:34px;display:grid}.account-settings-section[hidden]{display:none}.account-section-intro h2{margin:0 0 10px;font-size:1.05rem}.account-section-intro p{color:#516974;max-width:30ch;font-size:.86rem;line-height:1.95}.account-form{flex-direction:column;gap:19px;min-width:0;display:flex}.account-form label:not(.account-privacy-option):not(.account-apply-existing){color:#2c4554;flex-direction:column;gap:9px;font-size:.86rem;display:flex}.account-form input:not([type=radio]):not([type=checkbox]){background:#fff;width:100%;min-width:0;height:45px;font-size:.92rem}.account-form small{color:#516974;font-size:.78rem;line-height:1.85}.account-form-footer{border-top:1px solid #e4ebee;justify-content:flex-end;align-items:center;gap:16px;margin-top:5px;padding-top:20px;display:flex}.account-form-footer>span{color:#516974;margin-inline-end:auto;font-size:.75rem;line-height:1.8}.account-form-footer>.button{white-space:nowrap}.account-privacy-options{border:0;flex-direction:column;gap:12px;min-width:0;margin:0;padding:0;display:flex}.account-privacy-options legend{color:#516974;margin-bottom:12px;font-size:.8rem}.account-privacy-option{cursor:pointer;border:1px solid #d8e2e6;border-radius:8px;flex-direction:row;align-items:center;gap:14px;padding:18px;display:flex;position:relative}.account-privacy-option.selected{background:#f0f7f6;border-color:#40858a}.account-privacy-option>input{opacity:0;width:1px;height:1px;position:absolute}.account-privacy-option:focus-within{outline-offset:3px;outline:2px solid #1c7175}.account-privacy-option>svg{color:#4b737b;flex-shrink:0}.account-privacy-option>span{flex-direction:column;gap:5px;display:flex}.account-privacy-option strong{color:#284b56;font-size:.9rem}.account-privacy-option .privacy-check{color:#1c7175;margin-inline-start:auto}.account-apply-existing{color:#2c4554;cursor:pointer;flex-direction:row;align-items:flex-start;gap:10px;font-size:.83rem;line-height:1.8;display:flex}.account-apply-existing input{accent-color:#1c7175;flex-shrink:0;width:17px;height:17px;margin-top:4px}.account-apply-existing small{margin-top:4px;display:block}.account-security-note{color:#516974;align-items:flex-start;gap:9px;margin-top:23px;font-size:.78rem;line-height:1.9;display:flex}.account-security-note svg{color:#32757b;flex-shrink:0;margin-top:3px}.account-password-row{grid-template-columns:1fr 1fr;gap:16px;display:grid}@media (width<=1050px){.account-settings-section{grid-template-columns:minmax(145px,.65fr) minmax(0,1.5fr);gap:25px;padding:26px}.account-password-row{grid-template-columns:1fr}}@media (width<=760px){.sidebar .grouped-navigation{gap:18px;margin-top:22px}.nav-group-label,.account-nav-button>div,.account-nav-button>svg{display:none}.sidebar .account-nav-button{justify-content:center;padding:12px 0}.sidebar .logout{justify-content:center;padding-inline:0}.account-identity{flex-wrap:wrap;gap:12px;padding:8px 0 23px}.account-avatar{border-radius:12px;width:48px;height:48px;font-size:1.5rem}.account-identity h2{font-size:1.03rem}.account-identity p{font-size:.75rem}.account-role{display:none}.account-tabs{justify-content:space-between;gap:0}.account-tabs button{gap:5px;padding:12px 4px;font-size:.76rem}.account-tabs button svg{width:16px}.account-settings-section{grid-template-columns:1fr;gap:23px;padding:22px 18px}.account-section-intro p{max-width:none}.account-form-footer{flex-direction:column;align-items:flex-start}.account-form-footer>.button{align-self:stretch}.account-privacy-option{gap:10px;padding:14px}.account-security-note{margin-top:13px}.account-settings-surface{min-height:0}.account-page .page-heading{margin-bottom:22px}}@media (width>=761px) and (width<=950px){.nav-group-label,.account-nav-button>div,.account-nav-button>svg{display:none}.sidebar .logout{padding-inline:0;font-size:0}.sidebar .account-nav-button{justify-content:center;padding:12px 0}.sidebar .grouped-navigation{gap:20px}.nav-item{gap:0;padding:11px}}@media (width<=760px){.sidebar{padding:16px 18px 0;overflow:visible}.sidebar .grouped-navigation{flex-direction:row;gap:5px;margin-top:18px;padding-bottom:12px;display:flex;overflow-x:auto}.sidebar .nav-group{display:contents}.sidebar .nav-item{gap:7px;min-height:38px;padding:8px 11px;font-size:.78rem}.sidebar .sidebar-bottom{gap:13px;padding:0}.sidebar .account-nav-button{border:0;width:40px;min-height:40px;padding:5px}.sidebar .logout{width:28px;padding:0;font-size:0}.sidebar .account-nav-button.active{border-radius:7px}.sidebar .nav-item:hover:after{content:none}}.generator-results-heading{flex-wrap:wrap;align-items:center}.generator-results-heading .small-muted{margin-top:7px;line-height:1.8}.generator-results-heading>.button{flex-shrink:0}.generator-conversion-status{color:#245a63;background:#edf6f4;justify-content:space-between;align-items:center;gap:20px;padding:14px 24px;font-size:.85rem;display:flex}.generator-conversion-status progress{accent-color:#1c7175;width:180px;height:8px}.generator-conversion-errors{margin:15px 24px;display:block}.generator-conversion-errors ul{max-height:150px;padding-inline-start:20px;line-height:1.8;overflow:auto}@media (width<=760px){.generator-results-heading>.button{width:100%}.generator-conversion-status{flex-wrap:wrap;padding:14px 18px}.generator-conversion-status progress{width:100%}}.generation-rules{color:#245a63;background:#eaf3f2;border-radius:8px;align-items:flex-start;gap:13px;margin-bottom:22px;padding:18px 20px;display:flex}.generation-rules>svg{flex-shrink:0;margin-top:3px}.generation-rules strong{font-size:.92rem}.generation-rules p{margin-top:6px;font-size:.84rem;line-height:1.9}.generation-rules small{color:#435f68;margin-top:6px;font-size:.77rem;line-height:1.9;display:block}.photo-library-upload{flex-wrap:wrap;align-items:flex-end;gap:16px;margin-bottom:24px;padding:22px;display:flex}.photo-library-upload>label{flex-direction:column;flex:1;gap:8px;min-width:130px;font-size:.85rem;display:flex}.photo-library-upload>p{flex-basis:100%;line-height:1.9}.photo-library-upload input[type=file]{max-width:100%;font-size:.8rem}.photo-library-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:20px;display:grid}.photo-library-card{border:1px solid var(--border);background:#fff;border-radius:9px;overflow:hidden}.photo-library-card>img{object-fit:contain;background:#edf2f3;width:100%;height:180px;padding:10px}.photo-library-card>div{padding:14px}.photo-library-card strong{white-space:nowrap;text-overflow:ellipsis;font-size:.85rem;display:block;overflow:hidden}.photo-library-card p{color:#516974;margin:7px 0 13px;font-size:.8rem}.photo-library-card .actions{flex-wrap:wrap;justify-content:space-between}.photo-library-dialog{width:min(900px,95vw);max-height:90dvh;padding:30px;overflow:auto}.photo-library-dialog h1{font-size:1.3rem}.photo-library-dialog .page-heading{padding-inline-end:25px}.photo-library-dialog .page-heading p{font-size:.85rem}.photo-library-filters{flex-wrap:wrap;align-items:flex-end;gap:14px;margin-bottom:18px;padding:18px;display:flex}.photo-library-filters .search-box{flex:2;min-width:180px;height:44px}.photo-library-filters .search-box input{width:100%;min-width:0}.photo-library-filters>label{flex-direction:column;flex:1;gap:7px;min-width:90px;font-size:.8rem;display:flex}.photo-library-count>label{cursor:pointer;align-items:center;gap:9px;display:flex}.photo-library-count input,.photo-card-select input{accent-color:#1c7175;width:18px;height:18px}.photo-selection-toolbar{background:#eaf3f2;border-radius:7px;flex-wrap:wrap;align-items:center;gap:15px;margin-bottom:20px;padding:14px 18px;display:flex}.photo-selection-toolbar strong{color:#245a63;margin-inline-end:auto;font-size:.9rem}.photo-library-card{position:relative}.photo-library-card.selected{border-color:#1c7175}.photo-card-select{top:10px;z-index:1;cursor:pointer;background:#fff;border-radius:4px;padding:5px;display:flex;position:absolute;inset-inline-start:10px}.photo-preview-open{cursor:zoom-in;background:#edf2f3;border:0;width:100%;padding:0;display:block;position:relative}.photo-preview-open>img{object-fit:contain;width:100%;height:190px;padding:12px;display:block}.photo-preview-open>span{bottom:9px;color:#245a63;background:#fff;border-radius:4px;align-items:center;gap:5px;padding:5px 8px;font-size:.7rem;display:flex;position:absolute;inset-inline-end:10px}.photo-library-card .actions .text-button{font-size:.76rem}.photo-preview-backdrop{z-index:120;background:#142b39b8;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.photo-preview-dialog{background:#fff;border-radius:12px;width:min(520px,100%);max-height:90dvh;padding:30px;position:relative;overflow:auto}.photo-preview-dialog>img{object-fit:contain;max-width:100%;max-height:55dvh;margin:10px auto 20px;display:block}.photo-preview-dialog h2{overflow-wrap:anywhere;font-size:1rem}.photo-preview-dialog>p{color:#516974;margin:9px 0 18px;font-size:.85rem}.photo-preview-dialog .actions{flex-wrap:wrap}@media (width<=760px){.photo-library-filters .search-box{flex-basis:100%}.photo-library-filters>label{min-width:calc(50% - 14px)}.photo-library-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.photo-selection-toolbar{gap:10px}.photo-preview-dialog{padding:25px 20px}}.photo-library-count>label{flex-direction:row;align-items:center}.photo-library-count>label input{margin:0}.account-admin-search{background:#fff;max-width:520px;margin:0 0 20px}.account-admin-search input{width:100%;min-width:0}.account-admin-actions{flex-wrap:wrap;align-items:center;gap:13px;min-width:250px;display:flex}.account-admin-actions .text-button{white-space:nowrap;font-size:.8rem}.account-admin-dialog{width:min(520px,100vw - 30px)}.account-admin-dialog>h2{padding-inline-end:22px;font-size:1.25rem}.account-admin-target{color:#435d6c;margin:14px 0 24px;font-size:.9rem;line-height:1.8}.account-admin-target span{overflow-wrap:anywhere;font-size:.8rem;display:block}.account-admin-dialog form{flex-direction:column;gap:18px;display:flex}.account-admin-dialog label{flex-direction:column;gap:8px;font-size:.85rem;display:flex}.account-admin-dialog .input-help{line-height:1.9}.account-admin-dialog .actions{flex-wrap:wrap;margin-top:6px}.project-library-tools{flex-wrap:wrap;align-items:flex-end;gap:16px;max-width:none;display:flex}.project-library-tools>.search-box{flex:1;min-width:220px;max-width:560px}.project-usage-filter{color:#435d6c;flex-direction:column;gap:7px;min-width:190px;font-size:.8rem;display:flex}.project-usage-filter select{min-height:46px}.project-visibility-label{color:#516974;margin-bottom:9px;font-size:.7rem;display:block}.project-usage{background:#f5f9f8;border-top:1px solid #e1e9e9;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.project-usage-details{flex-direction:column;gap:7px;min-width:0;display:flex}.project-usage-details>strong{color:#246456;align-items:center;gap:6px;font-size:.8rem;display:flex}.project-usage-details>span{color:#435d6c;overflow-wrap:anywhere;font-size:.72rem;line-height:1.8}.project-usage.used{background:#f8f5ee}.project-usage.used .project-usage-details>strong{color:#805c27}.project-usage .button{min-height:34px;padding:7px 10px;font-size:.75rem}.project-usage>.text-button{font-size:.72rem}.designer-editor>.project-usage{border:1px solid #dbe6e4;border-radius:7px;margin-bottom:20px}.designer-editor>.project-usage .project-usage-details>span{font-size:.8rem}@media (width<=760px){.project-usage-filter{flex:1;min-width:140px}.project-library-tools>.search-box{flex-basis:100%;max-width:none}}.project-select-page{flex-direction:row;align-items:center}.project-select-page input{margin:0}.usage-release-dialog,.usage-history-dialog{width:min(600px,100vw - 30px);max-height:90dvh;overflow:auto}.usage-release-dialog h2,.usage-history-dialog h2{align-items:center;gap:9px;padding-inline-end:20px;font-size:1.2rem;display:flex}.usage-release-dialog>p,.usage-history-dialog>p{color:#516974;margin:12px 0 20px;font-size:.88rem;line-height:1.8}.usage-release-context{color:#6d542f;background:#f8f3e9;border-radius:7px;margin-bottom:20px;padding:14px;font-size:.85rem;line-height:1.9}.usage-release-dialog form{flex-direction:column;gap:15px;display:flex}.usage-release-dialog label{flex-direction:column;gap:8px;font-size:.88rem;display:flex}.usage-release-dialog label>span,.usage-release-dialog small{color:#516974;font-size:.75rem}.usage-release-dialog .actions{flex-wrap:wrap}.usage-control-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.usage-control-actions .text-button{font-size:.73rem}.usage-cancelled-note{color:#72572e;font-size:.72rem;line-height:1.9;display:block}.usage-cancel-reason{white-space:pre-wrap;overflow-wrap:anywhere;max-height:3.8em;display:block;overflow:hidden}.usage-history-list{margin:10px 0 20px;padding:0;list-style:none}.usage-history-list li{border-top:1px solid #e1e7e9;padding:18px 0}.usage-history-list li>div{justify-content:space-between;align-items:center;gap:12px;font-size:.9rem;display:flex}.usage-history-list time{color:#516974;font-size:.75rem}.usage-history-list p{color:#435d6c;margin-top:9px;font-size:.83rem;line-height:1.9}.usage-history-list blockquote{white-space:pre-wrap;overflow-wrap:anywhere;color:#72572e;background:#f8f3e9;border-radius:6px;margin:12px 0 0;padding:12px;font-size:.85rem;line-height:1.9}.recovery-link{bottom:25px;z-index:10;background:#fff;border-radius:6px;padding:12px;position:fixed;inset-inline-end:25px}.photo-library-upload>.photo-crop-toggle{flex-direction:row;flex-basis:100%;align-items:center}.photo-crop-toggle input{width:18px;height:18px}.view-projects .page-heading{margin-bottom:20px}.view-projects .project-scope-tabs{margin-bottom:14px}.view-projects .project-library-tools,.view-projects .project-bulk-tools,.view-projects .section-row{margin-bottom:12px}.project-grid{grid-template-columns:repeat(auto-fill,minmax(215px,1fr));align-items:start;gap:14px}.project-card{border-radius:10px;min-width:0}.project-card-preview{aspect-ratio:auto;background:#edf2f2;height:132px;padding:8px 24px}.project-card-preview img{object-fit:contain;max-height:116px}.project-info{padding:12px 14px 11px}.project-card-meta{justify-content:space-between;align-items:center;gap:7px;margin-bottom:8px;display:flex}.project-card-meta .project-visibility-label{margin:0;font-size:.66rem;line-height:1.4}.project-card-meta time{color:#516974;white-space:nowrap;font-size:.63rem}.project-info h2{max-width:100%;margin:0;font-size:.96rem;line-height:1.55}.project-info .project-national-id{letter-spacing:.02em;margin:5px 0 0;font-size:.9rem;line-height:1.5}.project-go{margin-top:8px;font-size:.75rem;line-height:1.5}.project-go svg{width:14px;height:14px}.project-info .project-access-badge{margin-bottom:5px;font-size:.65rem;line-height:1.5}.project-card>.share-project{width:27px;height:27px;top:9px;left:40px}.project-card>.delete-project{width:27px;height:27px;top:9px;left:9px}.project-card>.project-select{top:9px;width:27px;height:27px;inset-inline-start:9px}.project-card>.project-select input{width:17px;height:17px}.project-usage.compact{align-items:center;gap:8px;padding:10px 13px}.project-usage.compact .project-usage-details{flex:1;gap:4px;min-width:115px}.project-usage.compact .project-usage-details>strong{gap:5px;font-size:.71rem;line-height:1.5}.project-usage.compact .project-usage-details>span{font-size:.66rem;line-height:1.55}.project-usage.compact .usage-previous-summary{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.project-usage.compact .usage-control-actions{gap:8px;margin-inline-start:auto}.project-usage.compact .button{min-height:29px;padding:5px 7px;font-size:.68rem}.project-usage.compact .text-button{gap:4px;font-size:.66rem}.project-usage.compact .usage-control-actions:has(>button:nth-child(2)){flex-basis:100%;justify-content:flex-end;padding-top:2px}@media (width>=1600px){.project-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}}@media (width<=760px){.project-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.project-card-preview{height:140px}.project-card-preview img{max-height:124px}.project-info{padding:12px 14px}.project-usage.compact .button{min-height:34px}}.project-usage.compact .project-usage-details{min-width:0}.project-usage.compact>.usage-control-actions{flex-shrink:0}.project-card-preview{aspect-ratio:1.6;height:auto;padding:4px;overflow:hidden}.project-card-preview img{object-fit:contain;width:100%;height:100%;max-height:none;display:block}.virtual-project-row{margin-bottom:14px}.project-feed-footer{color:#516974;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;min-height:64px;padding:18px 0;font-size:.82rem;display:flex}.project-feed-footer>.error{flex-basis:100%}.virtual-project-grid,.main-content.view-projects,.project-feed-footer,.app-footer{overflow-anchor:none}.projects-page{height:100dvh;min-height:0;overflow:hidden}.projects-page .main-shell{min-height:0;overflow:hidden}.projects-page .topbar,.projects-page .app-footer{flex-shrink:0}.main-content.view-projects{flex-direction:column;min-height:0;padding-bottom:0;display:flex;overflow:hidden}.view-projects>:not(.project-scroll-region){flex-shrink:0}.project-scroll-region{overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#829ea5 transparent;overflow-anchor:none;flex:1;min-height:0;padding:3px 2px 0;scroll-padding-block:8px;overflow-y:auto}.project-scroll-region:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width<=760px){.projects-page{flex-direction:column;display:flex}.projects-page>.sidebar{flex-shrink:0}.projects-page>.main-shell{flex:1}.view-projects.main-content{padding-top:14px}.view-projects .page-heading{gap:10px;margin-bottom:12px}.view-projects .page-heading p{display:none}.view-projects .project-library-tools{gap:8px;margin-bottom:8px}.view-projects .project-scope-tabs,.view-projects .project-bulk-tools,.view-projects .section-row{margin-bottom:8px}.view-projects .project-bulk-actions{gap:6px;padding:8px}.projects-page .app-footer{padding-block:8px}}@media (height<=650px){.projects-page .topbar,.projects-page .app-footer{display:none}.view-projects.main-content{padding-top:12px}.view-projects .page-heading{margin-bottom:8px}.view-projects .page-heading p{display:none}}.settings-workspace{min-width:0}.settings-heading{margin-bottom:20px}.settings-heading p{color:#516974;margin-top:8px;font-size:.9rem;line-height:1.8}.settings-navigation{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:26px;padding-bottom:12px;display:flex}.settings-navigation button{color:#435d6c;white-space:nowrap;background:0 0;border:0;border-radius:7px;align-items:center;gap:8px;min-height:42px;padding:10px 14px;font-size:.88rem;font-weight:700;display:flex}.settings-navigation button:hover{color:var(--ink);background:#e8eff1}.settings-navigation button.active{background:var(--accent-light);color:#155d63}.settings-navigation button svg{flex-shrink:0}.settings-content{min-width:0}.settings-content>.page-heading,.settings-content>.account-page>.page-heading{margin-bottom:20px}.settings-content .page-heading h2{font-size:1.4rem;line-height:1.4}.settings-content>.account-page{max-width:none}.settings-content .boot{min-height:300px}.settings-content .design-defaults-notice{margin-bottom:18px}@media (width<=760px){.settings-heading{margin-bottom:14px}.settings-heading p{font-size:.82rem}.settings-navigation{scrollbar-width:thin;scrollbar-color:#829ea5 transparent;flex-wrap:nowrap;gap:4px;margin-bottom:20px;padding-bottom:10px;overflow-x:auto}.settings-navigation button{flex-shrink:0;padding:10px 12px;font-size:.8rem}.settings-content .page-heading h2{font-size:1.2rem}.settings-content .page-heading{gap:12px}.settings-content>.account-page>.page-heading{margin-bottom:12px}}.photo-visibility{border-radius:4px;align-items:center;gap:5px;margin-top:8px;padding:4px 7px;font-size:.72rem;line-height:1.5;display:inline-flex}.photo-visibility.public{color:#155d63;background:#e9f3f2}.photo-visibility.private{color:#435d6c;background:#edf1f3}.photo-owner{color:#516974;overflow-wrap:anywhere;margin-top:5px;font-size:.72rem;line-height:1.7;display:block}.photo-read-only{color:#516974;font-size:.73rem}.photo-library-dialog .page-heading h2{font-size:1.3rem}
