/* Production additions to the approved Ringkas interface. */
.auth-home-link{display:flex;width:max-content;max-width:100%;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;margin:0 auto 12px;color:var(--accent,#087f73);font-size:13px;font-weight:600;text-decoration:none;border-radius:9px}.auth-home-link svg{width:18px;height:18px;flex:none}.auth-home-link:hover{text-decoration:underline}.auth-home-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.sidebar{top:0}.app-shell{padding-top:0}.nav-overlay{top:0}.brand-logo{display:block;flex-shrink:0;border-radius:11px}.production-banner{display:flex;gap:12px;align-items:flex-start;border:1px solid #ead8b1;background:#fff9ec;color:#81651d;border-radius:10px;padding:16px 18px;margin-bottom:22px}.production-banner p{font-size:12px;line-height:1.7;margin-top:4px}.production-banner .primary,.production-banner .secondary{margin-top:12px}.verification-banner{background:var(--soft);color:var(--accent);border-color:var(--line)}.production-banner>svg{margin-top:2px}.content-error,.loading-state{text-align:center;padding:45px 25px;display:flex;align-items:center;flex-direction:column;gap:12px}.loading-state h1{font-size:20px}.loading-dot{display:block;width:24px;height:24px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:ringkas-spin 1s linear infinite}.empty p{overflow-wrap:anywhere}.page-state-note{font-size:12px;color:var(--muted);margin-top:13px}.source-note{font-size:11px;color:var(--muted);line-height:1.7;margin-top:14px;overflow-wrap:anywhere}.full-width{width:100%}.ui-stack{display:flex;flex-direction:column;gap:15px}.ui-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.ui-row.wrap{flex-wrap:wrap}.simple-table{width:100%;border-collapse:collapse}.simple-table th,.simple-table td{padding:12px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}.simple-table th{color:var(--muted);font-size:11px;letter-spacing:.4px}.simple-table td small{display:block;color:var(--muted);margin-top:4px}.simple-table-wrap{overflow:auto;max-width:100%}.table-toolbar .field-select{min-width:125px}.table-container{overflow-x:auto;max-width:100%}.production-links th:first-child{width:33%}.production-links th:nth-child(2){width:25%}.production-links th:nth-child(3){width:10%}.production-links th:nth-child(4){width:12%}.production-links th:nth-child(5){width:20%;text-align:right}.production-links td:last-child{padding-right:16px}.row-actions .icon-button{width:34px;height:34px}.status.active{background:var(--soft);color:var(--accent)}.status.disabled,.status.inactive{background:var(--bg);color:var(--muted)}.status.expired,.status.deleted{background:#fff5e7;color:var(--amber)}.inline-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.inline-actions button,.inline-actions a{min-height:40px}.legacy-label{display:block;color:var(--amber);font-size:10px;margin-top:4px}.detail-list dd{overflow-wrap:anywhere}.form-field textarea{width:100%;min-height:90px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:7px;padding:10px;resize:vertical}.form-field input,.form-field select,.form-field textarea{max-width:100%}.checkbox-label{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.7;color:var(--muted)}.checkbox-label input{width:18px;height:18px;flex-shrink:0;margin-top:3px}.record-count{font-size:11px;color:var(--muted)}.real-metric{overflow-wrap:anywhere}.metric-unavailable{font-size:18px;letter-spacing:0}.guide-group{display:flex;flex-direction:column;gap:13px}.guide-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;color:var(--muted)}.release-date{font-size:12px;color:var(--muted);margin-top:5px}.release-list{padding-left:20px;margin-top:14px;font-size:13px;line-height:1.9;color:var(--muted)}.qr-code-box img{display:block;width:100%;height:auto;aspect-ratio:1;background:white}.qr-code-box svg{width:100%;height:auto}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center}.auth-shell{width:min(100%,480px);padding:35px 20px;margin:0;max-width:480px;flex:none}.auth-brand{justify-content:center;margin:0 0 29px;font-size:31px}.auth-card{padding:31px}.auth-card h1{font-size:27px;margin-bottom:10px}.auth-subtitle{color:var(--muted);font-size:13px;line-height:1.8;margin-bottom:24px}.auth-card form{display:flex;flex-direction:column;gap:17px}.auth-card .form-field{margin:0}.auth-card .primary,.auth-card .secondary{width:100%;min-height:46px}.auth-card input{font-size:16px;min-height:46px}.auth-card .form-error{margin-bottom:0}.auth-message{background:var(--soft);color:var(--accent);padding:13px 15px;border-radius:8px;font-size:13px;line-height:1.8;margin:16px 0}.auth-error{background:#fff0f0;color:#a33940}.auth-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin:24px 0}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--line);flex:1}.auth-links{margin-top:20px;font-size:13px;line-height:2;text-align:center;color:var(--muted)}.auth-links a{font-weight:600}.auth-footer{text-align:center;color:var(--muted);font-size:12px;line-height:1.9;margin-top:23px}.auth-google{display:flex;align-items:center;justify-content:center;gap:10px}.auth-google svg{width:18px;height:18px}.auth-password-note{font-size:11px;color:var(--muted);line-height:1.7}.noscript-notice{position:fixed;inset:auto 10px 10px;background:var(--surface);border:1px solid var(--line);padding:15px;z-index:100;color:var(--ink)}[hidden]{display:none!important}html[data-theme="dark"] .production-banner{background:#30291b;border-color:#5a4b2c;color:#e2c16c}html[data-theme="dark"] .verification-banner{background:var(--soft);color:var(--accent)}html[data-theme="dark"] .auth-error{background:#3e2529;color:#f3b5bc}@keyframes ringkas-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loading-dot{animation:none}*{scroll-behavior:auto!important}}
@media(max-width:760px){.sidebar{top:0;max-height:100dvh}.app-shell{padding-top:0}.topbar{min-height:64px}.production-links{table-layout:auto;min-width:0}.production-links thead{display:none}.production-links tr{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:14px 16px;border-bottom:1px solid var(--line);gap:9px}.production-links td{padding:0!important;border:0;min-width:0}.production-links td:nth-child(1),.production-links td:nth-child(2){grid-column:1/-1}.production-links td:nth-child(3){grid-column:1}.production-links td:nth-child(4){grid-column:2;grid-row:3}.production-links td:nth-child(5){grid-column:1/-1;grid-row:4}.production-links .short-link{white-space:normal;overflow-wrap:anywhere}.production-links .destination{white-space:normal;max-height:38px;overflow:hidden;overflow-wrap:anywhere}.production-links .numeric:before{content:"Klik: ";font-size:12px;font-weight:400;color:var(--muted)}.production-links .row-actions{justify-content:flex-start}.row-actions .icon-button,.icon-button{min-width:44px;min-height:44px}.profile,.logout,.version-link,.tab,.primary,.secondary,.text-button{min-height:44px}.simple-table{min-width:480px}.table-toolbar{align-items:stretch}.table-toolbar .search{min-width:0;max-width:none}.table-toolbar .field-select{width:100%;font-size:16px;min-height:44px}.production-banner{padding:15px}.production-banner>.inline-actions{flex-direction:column}.ui-row{flex-wrap:wrap}.auth-shell{padding:24px 16px}.auth-card{padding:25px 21px}.auth-page{align-items:flex-start}.auth-card h1{font-size:25px}.modal-footer{position:sticky;bottom:0;background:var(--surface)}.modal-content{min-width:0}.detail-list{grid-template-columns:1fr}.detail-list dd{margin-bottom:10px}.app-footer{gap:15px;flex-wrap:wrap}.auth-brand{margin-bottom:23px}}
.auth-page>main.auth-card{width:min(calc(100% - 32px),440px);max-width:440px;flex:none;margin:30px auto}.auth-card form>label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}.auth-card form>label>input,.auth-card form>input:not([type="hidden"]){width:100%;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);padding:11px 12px}.auth-card form>button:not(.secondary){background:var(--accent);color:white;border-radius:8px;min-height:46px;padding:11px 16px;font-weight:600}.auth-card>p{line-height:1.8;color:var(--muted);margin-bottom:17px}
@media(max-width:390px){main{padding-left:16px;padding-right:16px}.topbar{padding-inline:16px}.stats-grid{gap:10px}.stat{padding:14px}.stat-number{font-size:25px}.page-heading h1{font-size:25px}.auth-card{padding:23px 18px}.table-toolbar{padding-inline:16px}.card-head{padding-inline:16px}.qr-settings{grid-template-columns:1fr}.modal-footer button{flex:1}}
/* Ringkas 2.1: owner organisation, date-range analytics and language controls. */
.language-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--line);border-radius:10px;background:var(--surface);flex-shrink:0}
.language-switch .secondary{min-width:35px;min-height:34px;padding:5px 8px;border:0;background:transparent;color:var(--muted);font-size:11px;line-height:1.2;border-radius:6px}
.language-switch .secondary[aria-pressed="true"]{background:var(--soft);color:var(--accent);font-weight:700}
.language-switch .secondary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.auth-page .language-switch{margin:0 auto 22px;display:flex;width:max-content}
.auth-page .language-switch .secondary{width:auto;min-height:38px}
.link-filters,.bulk-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:13px 24px;border-bottom:1px solid var(--line)}
.link-filters>label:not(.checkbox-label){display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}
.link-filters input[type="search"],.range-form input,.stack-form input,.stack-form textarea{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;padding:10px 12px;font:inherit;min-width:0;max-width:100%}
.link-filters input[type="search"]{width:155px;font-size:13px}
.link-filters .compact{margin-left:auto}
.bulk-toolbar{background:var(--surface);font-size:12px;color:var(--muted)}
.bulk-toolbar .inline-actions{margin-left:auto;flex-wrap:wrap}
.compact{min-height:36px;padding:8px 11px;font-size:12px}
.bulk-toolbar .compact{font-size:11px}
.row-select{width:19px;height:19px;accent-color:var(--accent);flex-shrink:0;margin:0 2px 0 0;cursor:pointer}
.production-links .link-title-wrap>div{min-width:0;flex:1}
.favorite-button{border:0;cursor:pointer;flex-shrink:0;min-width:44px;min-height:44px}
.legacy-conversion-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:17px 24px;border-bottom:1px solid var(--line);background:var(--soft)}
.legacy-conversion-toolbar strong{font-size:13px}.legacy-conversion-toolbar p{font-size:11px;line-height:1.7;color:var(--muted);margin-top:5px}.legacy-conversion-toolbar .inline-actions{flex-wrap:wrap}
.conversion-progress{padding:15px;border:1px solid var(--line);border-radius:9px;margin-bottom:18px}.conversion-progress strong{font-size:15px}.conversion-progress p{margin-top:7px;font-size:12px;color:var(--muted);line-height:1.7}
.conversion-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:17px 0 22px}.conversion-counts>div{padding:13px;background:var(--soft);border-radius:9px;min-width:0}.conversion-counts span{display:block;color:var(--muted);font-size:11px;line-height:1.6}.conversion-counts strong{display:block;color:var(--accent);font-size:25px;line-height:1.4;margin-top:4px}
.conversion-failures{max-height:320px;overflow:auto;margin-top:13px}.conversion-failures .simple-table{min-width:360px}.conversion-failures small{display:block;max-width:210px;white-space:normal;overflow-wrap:anywhere}.conversion-failures td{white-space:normal;overflow-wrap:anywhere;vertical-align:top}
@media(max-width:760px){.legacy-conversion-toolbar{padding:15px 16px}.legacy-conversion-toolbar .inline-actions{width:100%;gap:8px}.legacy-conversion-toolbar .compact{min-height:44px;flex:1 1 150px}.conversion-counts{gap:8px}.conversion-counts>div{padding:10px}.conversion-counts strong{font-size:23px}}
.favorite-button.is-favorite{background:var(--soft);color:var(--accent)}
.favorite-button:focus-visible,.row-select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.tag-list{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}
.tag{font-size:10px;line-height:1.4;padding:3px 7px;border:1px solid var(--line);border-radius:20px;color:var(--muted);background:var(--surface);max-width:100%;overflow-wrap:anywhere}
.tag:hover{color:var(--accent);border-color:var(--accent)}
.form-field textarea{width:100%;resize:vertical;min-height:110px;padding:11px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;font-size:14px;line-height:1.7}
.stack-form{display:flex;flex-direction:column;gap:15px;margin-top:20px}
.stack-form .form-field{margin:0}
.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}
.analytics-filter{margin-bottom:22px}
.range-form{display:grid;grid-template-columns:minmax(130px,1fr) minmax(135px,1fr) minmax(135px,1fr) auto;gap:12px;align-items:end}
.range-form>label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted)}
.range-form input,.range-form select{width:100%;min-height:43px;font-size:13px}
.range-form .primary{min-height:43px}
.analytics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:22px 0}
.analytics-grid h2,.analytics-filter h2{font-size:16px}
.analytics-bars{display:grid;gap:15px;margin-top:19px}
.analytics-bar-row>div{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;margin-bottom:7px}
.analytics-bar-row>div>span{overflow-wrap:anywhere;min-width:0}
.analytics-bar-row strong{flex-shrink:0;font-size:12px}
.analytics-bar-track{display:block;height:6px;background:var(--soft);border-radius:10px;overflow:hidden}
.analytics-bar-track>span{display:block;height:100%;background:var(--accent);border-radius:10px;min-width:0}
.trend-figure{margin:20px 0 0}
.trend-chart{display:block;width:100%;height:auto;min-height:130px;max-height:260px}
.trend-chart text{font-size:10px;fill:var(--muted);font-family:inherit}
.trend-figure figcaption{font-size:11px;color:var(--muted);margin-top:10px}
.analytics-daily{margin-top:18px;font-size:12px}
.analytics-daily>summary{cursor:pointer;color:var(--accent);padding:8px 0}
.analytics-daily .simple-table-wrap{max-height:340px;overflow:auto}
.analytics-disclosure{margin:17px 0 22px;padding:0 4px;color:var(--muted);font-size:11px;line-height:1.8}
.analytics-disclosure p+p{margin-top:7px}
.range-form~.source-note{margin-top:15px}
.analytics-filter+.stats-grid .stat-number{font-size:29px}
.analytics-grid .card{min-width:0}
@media(max-width:1050px){.topbar-right .domain-indicator{display:none}.range-form{grid-template-columns:repeat(2,minmax(0,1fr))}.range-form .primary{width:100%}.bulk-toolbar .inline-actions{margin-left:0}}
@media(max-width:760px){.topbar{gap:10px;padding-inline:16px}.topbar-left,.topbar-right{gap:8px;min-width:0}.topbar-left{flex:1}.breadcrumb{min-width:0}.breadcrumb-parent,.breadcrumb-divider{display:none}.breadcrumb strong{display:block;max-width:105px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.topbar-right .language-switch .secondary{min-width:32px;min-height:40px;padding:6px;font-size:11px}.topbar-right .avatar.small{display:none}.language-switch{padding:2px}.link-filters,.bulk-toolbar{padding:13px 16px}.link-filters{gap:12px}.link-filters>label:not(.checkbox-label){flex:1 1 170px}.link-filters input[type="search"]{width:100%;min-width:0;font-size:16px}.link-filters .compact{margin-left:0}.bulk-toolbar .inline-actions{width:100%;display:flex;gap:6px}.bulk-toolbar .compact{flex:1;min-height:44px;padding:8px;font-size:11px}.bulk-toolbar>.checkbox-label{flex:1}.production-links .numeric:before{content:attr(data-label) ": "}.analytics-grid{gap:14px;margin-top:15px}.range-form input,.range-form select{font-size:16px}.stack-form input,.stack-form textarea,.form-field textarea{font-size:16px}.analytics-disclosure{padding-inline:0}.analytics-grid .padded{padding:18px}.analytics-filter+.stats-grid .stat-number{font-size:25px}.trend-chart{min-height:150px}}
@media(max-width:510px){.analytics-grid{grid-template-columns:1fr}.range-form{grid-template-columns:1fr 1fr}.range-form>label:first-child,.range-form .primary{grid-column:1/-1}.range-form input{padding:10px 7px;font-size:14px}.link-title-wrap{gap:8px}.favorite-button{width:30px;height:34px}.link-filters .checkbox-label{flex:1}.link-filters .compact{min-height:44px}.bulk-toolbar .inline-actions{flex-wrap:wrap}.bulk-toolbar .compact{flex:1 1 100px}.topbar-right{flex-shrink:0}.topbar-left .mobile-menu{min-width:36px;width:36px;padding:7px}.breadcrumb strong{max-width:87px}}

