.gama-active #side-nav,.gama-active #templates-nav,.gama-active #upload-nav,.gama-active #orders-nav,.gama-active #plans-nav{display:none}.gama-active .app-brand{margin-bottom:22px}.gama-active .nav-label{display:none}.gama-active .sidebar{overflow-y:auto}.gama-active .sidebar-note{display:none}.gama-nav{display:grid;gap:7px;margin-bottom:18px}.gama-nav button{border:0;background:transparent;color:#e4efea;text-align:left;padding:11px 12px;border-radius:8px;display:flex;gap:9px;align-items:center;min-height:44px}.gama-nav button:hover,.gama-nav button[aria-current=page]{background:#ffffff18}.gama-nav .gama-new{background:#d4e9dd;color:#163d2f;font-weight:700;margin-bottom:7px}.gama-panel-mode .workspace>:not(#gama-root):not(.af-workspace-shortcuts){display:none!important}.gama-active:not(.gama-panel-mode) #gama-root{display:none}.gama-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.gama-head h1{font-size:29px;font-weight:600;letter-spacing:-.5px}.gama-head p{font-size:14px;line-height:1.6;margin-top:8px;color:#5b6e64}.gama-actions{display:flex;gap:10px;flex-wrap:wrap}.gama-actions button,.gama-actions a{min-height:44px}.gama-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:27px}.gama-summary article{background:#fff;border:1px solid #dce6df;border-radius:12px;padding:22px}.gama-summary small{display:block;font-size:13px;color:#596c60}.gama-summary strong{display:block;font-size:29px;font-weight:500;color:#1c4f3b;margin:10px 0 4px}.gama-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.gama-card{background:#fff;border:1px solid #dce6df;border-radius:14px;overflow:hidden}.gama-card header{display:flex;justify-content:space-between;align-items:center;padding:21px 23px;border-bottom:1px solid #e7eee9;background:linear-gradient(100deg,#f1f6f3,#fff)}.gama-card h2{display:flex;gap:11px;align-items:center;font-size:19px}.gama-card header small{font-size:12px;color:#62746a}.gama-counts{display:grid;grid-template-columns:1fr 1fr;padding:10px;gap:3px}.gama-counts button{background:#fff;border:0;text-align:left;border-radius:8px;padding:17px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#485d51;min-height:72px}.gama-counts button:hover{background:#f0f6f2}.gama-counts span{font-size:13px;line-height:1.5;max-width:150px}.gama-counts b{font-size:25px;font-weight:500;color:#245b40}.gama-counts button:nth-child(3) b{color:#976619}.gama-card footer{padding:13px 24px;background:#fafcfb;font-size:12px;color:#65796c;border-top:1px solid #e7eee9}.gama-notice{background:#ecf4ef;border:1px solid #d3e5d8;border-radius:9px;padding:13px 17px;font-size:13px;color:#46634f;line-height:1.6;margin:18px 0}.gama-demo-notice{background:#fff4dc;border-color:#e9d49f;color:#76581e}.gama-empty{text-align:center;padding:36px 20px;color:#60746a;font-size:14px;background:#fff;border:1px dashed #ceddd3;border-radius:12px}.gama-table-wrap{overflow:auto;border:1px solid #dbe5de;border-radius:11px;background:white;margin-top:20px}.gama-table{border-collapse:collapse;width:100%;font-size:13px;min-width:720px}.gama-table th{background:#f0f5f2;font-size:11px;letter-spacing:.3px;color:#4c6959;text-align:left}.gama-table td,.gama-table th{padding:16px;border-bottom:1px solid #e4ebe6;vertical-align:top;line-height:1.6}.gama-table td small{display:block;color:#657c6d;max-width:210px;overflow-wrap:anywhere}.gama-table td button{border:0;background:transparent;color:#245c40;text-align:left;padding:0;font-weight:600;text-decoration:underline;text-underline-offset:4px}.gama-table tfoot{font-weight:600;background:#f6f9f7}.gama-table tfoot small{font-weight:400}.gama-form{background:#fff;border:1px solid #dce6df;border-radius:13px;padding:28px;max-width:960px}.gama-form h2{margin-bottom:18px}.gama-form p{font-size:14px;line-height:1.7;margin:13px 0}.gama-form label{font-size:13px;color:#465e50}.gama-form input,.gama-form select,.gama-form textarea{font-size:14px}.gama-form .form-grid{gap:22px}.gama-form .primary{margin-top:22px}.gama-form .check{display:flex;gap:10px;align-items:flex-start;margin-top:21px;line-height:1.6}.gama-form .check input{width:18px;margin:3px 0}.gama-status{font-size:13px;line-height:1.6;margin:12px 0;min-height:22px;color:#9a4037}.gama-guide{margin:23px 0;display:grid;grid-template-columns:1fr 1fr;gap:22px}.gama-guide article{background:#fff;border:1px solid #dce6df;border-radius:12px;padding:24px}.gama-guide li{margin:12px 0;line-height:1.7;font-size:14px}.gama-guide a{display:inline-block;margin:10px 0;font-size:14px;line-height:1.5}.gama-guide textarea{min-height:240px;font-size:13px;line-height:1.8}.gama-stage-rail{display:flex;list-style:none;gap:5px;padding:0;margin:24px 0;overflow-x:auto}.gama-stage-rail li{flex:1;min-width:105px;background:#eef3ef;padding:13px 11px;border-radius:7px;color:#62776a;font-size:11px;line-height:1.5}.gama-stage-rail .current{background:#20573e;color:white}.gama-stage-rail small{display:block;margin-top:6px;font-weight:600}.gama-folder-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:22px 0}.gama-folder-grid button{background:#fff;border:1px solid #d5e2d9;text-align:left;padding:20px;border-radius:11px;color:#26583f;overflow-wrap:anywhere}.gama-folder-grid b,.gama-folder-grid small{display:block;margin-top:9px}.gama-folder-grid .active{border:2px solid #337952;background:#f1f7f3}.gama-toolbar{display:flex;gap:14px;flex-wrap:wrap;align-items:end;margin:20px 0}.gama-toolbar label{flex:1;min-width:150px;font-size:13px}.gama-toolbar button{min-height:44px}.gama-events{padding-left:22px;margin-top:18px}.gama-events li{padding:10px 0;font-size:13px;line-height:1.7;border-bottom:1px solid #e1e9e4}.gama-events small{display:block;color:#607967}.gama-access-card{padding:24px}.gama-access-card p{font-size:14px;line-height:1.7;margin:12px 0}.gama-access-card label{font-size:13px}.gama-access-card a{display:block;font-size:14px;margin:15px 0}.gama-tag{display:inline-block;font-size:11px;border-radius:6px;padding:4px 8px;background:#e9f2ec;color:#42634d}.gama-active .workspace{padding-top:30px}.gama-active .support-launch{z-index:5}@media(max-width:1000px){.gama-grid{grid-template-columns:1fr}.gama-folder-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.gama-head{display:block}.gama-head h1{font-size:25px}.gama-head .gama-actions{margin-top:18px}.gama-summary{grid-template-columns:1fr;gap:10px}.gama-summary article{padding:17px;display:flex;justify-content:space-between;align-items:center;gap:12px}.gama-summary strong{margin:0;font-size:23px}.gama-guide{grid-template-columns:1fr}.gama-form{padding:20px}.gama-form .form-grid{grid-template-columns:1fr}.gama-folder-grid{grid-template-columns:1fr}.gama-card header{padding:18px}.gama-counts button{padding:14px 9px}.gama-counts span{font-size:12px}.gama-toolbar{display:grid;grid-template-columns:1fr}.gama-toolbar label{min-width:0}.gama-summary article>div small{display:none}}
.incra-simple,.incra-tracking{margin:20px 0}.incra-simple p,.incra-tracking p{line-height:1.7;margin:12px 0}.incra-actions{display:flex;gap:14px;flex-wrap:wrap;margin:20px 0}.incra-actions a{text-decoration:none;display:inline-flex;padding:15px 20px}.incra-data{display:flex;gap:20px;flex-wrap:wrap}.incra-data dt{font-size:11px;color:#617568}.incra-data dd{margin:6px 0;font-size:14px}.incra-timeline{list-style:none;padding:0;display:grid;grid-template-columns:repeat(6,minmax(140px,1fr));gap:10px;overflow-x:auto;margin:22px 0}.incra-timeline li{border-top:4px solid #cedbd2;padding:14px;background:#f3f6f3;min-width:140px;border-radius:6px}.incra-timeline li.done{border-color:#316d4b}.incra-timeline strong,.incra-timeline time,.incra-timeline small{display:block;line-height:1.6;margin-bottom:8px}.incra-timeline time{font-size:12px}.incra-timeline small{font-size:10px;overflow-wrap:anywhere}.incra-kanban{display:grid;grid-template-columns:repeat(6,minmax(175px,1fr));gap:12px;overflow:auto;margin:24px 0}.incra-column{background:#eff4ef;border:1px solid #d9e3da;border-radius:9px;padding:12px;min-height:140px}.incra-column h3{font-size:13px;margin-bottom:15px}.incra-card{display:block;width:100%;text-align:left;padding:13px;border:1px solid #cfddd0;border-radius:7px;background:white;color:#224d36;margin-bottom:10px}.incra-card span,.incra-card small{display:block;font-size:11px;line-height:1.6;margin-top:9px}.incra-tracking form{padding:20px;background:#f8faf7;border:1px solid #e1e8df;border-radius:8px;margin:20px 0}.incra-tracking form h3{margin-bottom:16px}.incra-tracking details{padding:16px;border:1px solid #dbe5d9;border-radius:8px}.incra-tracking input,.incra-tracking select{font-size:14px}.incra-tracking h3{margin:16px 0}.incra-tracking a{overflow-wrap:anywhere}

.global-document-search{margin-bottom:16px}.global-document-search>label{font-weight:600;margin-bottom:8px;display:block}.global-search-line{display:flex;gap:10px;align-items:center}.global-search-line input{flex:1;min-width:0}.global-search-line button{display:flex;align-items:center;gap:7px}.global-document-search small{display:block;margin-top:8px}.global-search-results h3{margin-top:20px}.global-search-results article{padding:8px 0;border-bottom:1px solid #ffffff18}.archive-management>summary{cursor:pointer;font-weight:600;padding:8px}.archive-management[open]>summary{margin-bottom:16px}@media(max-width:600px){.global-search-line{align-items:stretch;flex-direction:column}}

.registry-three-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;list-style:none;padding:0;margin:16px 0}.registry-three-steps li{padding:12px;border:1px solid #ffffff35;border-radius:8px;font-size:13px}.registry-three-steps .current{background:#2b765d;color:white;border-color:#72b795}.registry-three-steps .done{border-color:#72b795}.registry-copy-text{width:100%;box-sizing:border-box;margin-top:12px;resize:vertical;font-size:13px}.gama-form>details{margin:12px 0}.gama-form>summary{cursor:pointer;font-weight:600}@media(max-width:600px){.registry-three-steps{grid-template-columns:1fr}}

.document-kanban{display:grid;grid-template-columns:repeat(7,minmax(220px,1fr));gap:12px;overflow-x:auto;align-items:start;padding:8px 0 20px}.document-kanban-column{background:#153d34;border:1px solid #ffffff30;border-radius:10px;padding:12px;min-height:180px}.document-kanban-column h2{font-size:13px;line-height:1.4;margin:0 0 12px}.document-kanban-card{display:flex;flex-direction:column;gap:8px;text-align:left;width:100%;background:#214a3f;color:#e1e7e4;border:1px solid #ffffff35;border-radius:8px;padding:12px;margin-bottom:10px;font-size:12px;white-space:normal;overflow-wrap:anywhere}.document-kanban-card small{font-size:11px;line-height:1.4}.registry-barcode{overflow-wrap:anywhere;font-family:monospace}@media(max-width:600px){.document-kanban{grid-template-columns:repeat(7,minmax(240px,1fr))}}

.master-control-metrics{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr));gap:10px;margin-bottom:20px}.master-control-metrics button{background:#153d34;color:#e1e7e4;border:1px solid #ffffff35;border-radius:10px;padding:16px;text-align:left;display:flex;flex-direction:column;gap:10px}.master-control-metrics small{font-size:12px;min-height:30px}.master-control-metrics strong{font-size:23px;font-variant-numeric:tabular-nums}@media(max-width:1100px){.master-control-metrics{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.master-control-metrics{grid-template-columns:repeat(2,1fr)}.master-control-metrics strong{font-size:20px}}

/* Mobile document origins: compact controls, complete words and touch targets. */
.batch-source-controls{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.batch-source-controls button{min-width:0;min-height:44px;white-space:normal;word-break:normal;overflow-wrap:normal;line-height:1.35;padding:10px 8px;display:flex;align-items:center;justify-content:center;gap:6px}.batch-source-help{border:1px solid #c6d2c7;border-radius:10px;background:#f3f7f1;padding:14px;color:#173c32}.batch-source-help[hidden]{display:none}.batch-source-help h3{margin:0 0 8px}.batch-source-help ol{padding-left:20px}.batch-source-help li{margin:6px 0}.batch-source-help p{font-size:13px;line-height:1.5}@media(max-width:600px){.batch-source-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}

.teta-welcome{font-size:1rem;line-height:1.55}
.teta-welcome h1{font-size:clamp(2rem,5vw,3rem);margin:0}
.teta-welcome form{display:grid;gap:.5rem;margin:1rem 0}
.teta-welcome input,.teta-choices button{padding:.8rem;font:inherit}
.teta-welcome form button{justify-self:start}
.teta-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.75rem}
.teta-choices button{display:grid;gap:.25rem;text-align:left;border:1px solid #91ac9d;border-radius:.6rem;background:#f1f7f3;color:#17392d}
.teta-choices button span{font-size:.9rem}
